Skip to main content
Skip table of contents

Comments

Define whether comments are synchronized between instances.

You can synchronize comments either bidirectional or unidirectional. Once you have selected the direction, you can choose between two comment mapping types:

Additionaly, on this page you’ll find more information about how the deleting comments is handled, how the syncing of user mentions is handled and how comments syncing works in Jira Service Management with internal and external comments.

Anonymous Mapping

Comments will be added or edited by the synchronization user. Therefore changes by different users in the partner project will appear as synchronization user changes.

Enriched Mapping

If you like to have more details about the actual author and timepoint of the comment, you can activate the enrichment where you can specify a velocity template which will generate the comment content. An enrichment must be enclosed by ${ ... } like in the default template. For enrichments the following template variables are available:

Variable

Description

comment.content

The actual content of the comment.

comment.author

The display name of the user who wrote the comment.

comment.authorEmail

The email address of the user who wrote the comment.

comment.addTime

The time when this comment has been added

comment.formatAddTime("yy-MM-dd")

The time when this comment was added, expressed with a custom date format.

For a list of available date formatting options, see the Java docs

comment.editor

The display name of the user who edited the comment.

comment.editorEmail

The email address of the user who edited the comment.

comment.editTime

The time when this comment has been edited.

comment.formatEditTime("yy-MM-dd")

The time when this comment has been edited, expressed with a custom date format.

For a list of available date formatting options, see the Java docs

comment.visibility

The visibility of a Jira ServiceManagement comment, either public or internal. Please use this option only in JSD scenarios.

timeZone

The timezone in readable form (helpful when your partner project uses a different time zone than you).

Deletion Behavior

  • If a comment has been added in project A and later deleted in project A, the comment would also be deleted in project B.

  • If a comment has been added in project A and later deleted in project B, the comment will not be deleted in project A. If this comment is then edited in project A, it will be recreated in project B.

  • Whenever comments are edited in the project where they have been created originally, the corresponding comments in the other project will be updated (overwritten).


Syncing a User Mention

Backbone is capable of resolving a @user mention to a user handle if the user exists in both projects under the same email. This works for all users, except for JSM customers.

If your users are not the same and you rather translate the @user to plain text, you can use the advanced setting sync.useDisplayNameUserMentions.

Jira Service Management

In Jira Service Management there are two sorts of comments: Internal and Public. With Backbone, you can define which type of comments you want to synchronize. You can find more information below or you can check out our example use cases for Jira Service Management.

Jira Service Management <> Jira Service Management

You can choose for each type of comment in the dropdown if it should be synchronized to "Internal", "Public" or "Ignore". Ignore means that the comment will not be synchronized. By default, Internal comments are synced to Internal comments and Public comments are ignored.


Jira Service Management <> Jira Software

You can choose to receive the comments from the Jira Software project either as Internal, Public or ignore them. For the comments from the Service Management project, you can choose to either sync the Internal and Public comments to a comment in the software project of choose "Ignore". As an addition, you can also make only certain comments public:

  1. Sync the comment from the software project to "Internal" or "Ignore"

  2. Check the box for "Make a specific comment public in the service desk project"

  3. Set a phrase, e.g. as in the example below "Sync to Public"

  4. Publish the draft

Now, all comments will be set to Internal or will be ignored. Only when the comment contains the specified phrase, the comment will be made public in the service desk project. The phrase will be removed from the synced comment.




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.