Salesforce comments within Jira can be filtered by administrators using hashtags, (e. g. #jira, #jira-servicedesk, #sfjc).
Adding hashtag filters in Jira
- Go to > Apps, and then in the sidebar, under Salesforce, choose Connections.
- Choose the connection you wish to configure, then click Configure.
- On the Connection Configuration screen, scroll down until you see the Comment Tag Filter section.
Administrators can enter the hashtags that they want to use to filter comments from Salesforce.
Info Tags must be preceded by a "#" and separated by a space.
...
Filtered comments will appear in a Jira Issue based on the Comment Privacy settings plus what hashtags were configured by the administrator (see above).
In Salesforce, to add a hashtag to a Case Comment, simply edit the comment and add the hashtag anywhere in the comment: