Sync Salesforce case comments to Jira issues
CRMMarketingProject ManagementProductivity
What it does
When someone adds or updates a case comment in Salesforce, this automation finds the matching Jira issue by case number and syncs the comment. If the comment already exists in Jira, it skips the sync to avoid duplicates.
Who it's for
Customer support teams who track cases in Salesforce and issues in Jira, and need comments to stay in sync across both systems.
Apps used
How teams use this
Keep support tickets in sync across platforms
When a support agent updates a case in Salesforce, the comment appears in Jira automatically so both teams see the same conversation without manual copying.
Prevent duplicate comments from integration user
Filter out comments created by the integration account so only human-authored updates sync to Jira, keeping the issue thread clean and readable.
Extend sync to include internal notes
Add a condition to filter case comments by type so internal notes or private comments only sync to Jira when marked for sharing.
Route comments to different Jira projects
Set up a lookup table to map Salesforce case types to different Jira projects so comments sync to the correct board based on case category.
How it works
- Monitor new or updated case comments. Detect when someone adds or updates a comment on a Salesforce case in real time, excluding comments made by the integration account.
- Retrieve the case details. Fetch the full case record from Salesforce so the case number is available to match the Jira issue.
- Find the matching Jira issue. Search Jira for an issue whose description contains the Salesforce case number to locate the linked issue.
- Check for duplicate comments. Retrieve all comments on the Jira issue and compare them to the Salesforce comment to prevent duplicates.
- Add the comment to Jira. Post the Salesforce case comment to the Jira issue with the case comment ID in the body for future reference.