| This is a new feature added in version 2.0.7.
In version 4.0.2 and above, you are able to control whether the CommentUpdateListener is triggered or not under Salesforce.com Listener Configuration in the Administration section |
Before 2.0.7, comments from Salesforce could be saved to a JIRA issue when the "Save to JIRA" (or equivalent) button was pressed, however that was the extent to which comments could be exchanged.
Version 2.0.7 allows JIRA to automatically synced new comments made on an issue to all the Salesforce Cases it is related to. This is made possible by adding a new Listener to JIRA via Administration -> Listeners.

Click on "Listeners" to add a new Listener.

The "Name" field can be anything you like, but the "Class" field must be filled out exactly as follows:
net.customware.plugins.crm.salesforce.jira.listeners.CommentUpdateListener
For Version 4.0 it is
net.customware.plugins.crm.salesforce.jira.listener.CommentUpdateListener |
After pressing the "Add" button you should see on the list of Listeners the new Comment Listener.

This is all the configuration you need. Now when you add a new comment to a JIRA issue, the listener will automatically detect this and add the new comment to all the related Salesforce Cases.

Comment made in JIRA.

Same comment reflected in the related Salesforce Case. Note that the Case has had extra comments added to it since the JIRA issue was created from it and these are not synced to the JIRA issue.
Some limitations of comments to be aware of are:
- Comments are only synchronised one way - comments made in Salesforce will not be reflected in the JIRA issue after the initial "Save to JIRA".
- Edit or delete changes to comments in JIRA are not synchronised. JIRA inherently does not make it possible to synchronise edit changes.
New in Version 3.0
There is now the ability to synchronize comments both ways from JIRA to Salesforce and vice versa. There is now also the functionality to synchronize comment edits made on either application.
To implement this new functionality a HashMap of commentIDs must be saved and stored. This is done in the new Custom Field in JIRA called Salesforce.com Comment Map. This field is not visible anywhere, but should be added to all issue types where comments are to be synchronized.

Discussions