Sync Jira comments to Salesforce case comments

Project ManagementCRMMarketingRecipe ToolsProductivity

What it does

When someone adds or updates a comment in Jira, this automation searches Salesforce for the linked case and syncs the comment. If the case is not found, someone is notified by email so the issue can be resolved.

Who it's for

Customer support teams who track issues in Jira and cases in Salesforce and need comments in sync across both systems.

How teams use this

Keep support comments in sync

When a support agent updates a Jira issue with a public comment, the same comment appears in the linked Salesforce case automatically. Both systems stay current without manual work.

Alert when cases are missing

If a Jira comment is added but no matching Salesforce case exists, the person in charge gets an email right away. They can investigate and link the systems before more work is lost.

Filter comments by support tag

Only comments with #support# in the body sync to Salesforce so internal Jira notes stay private. Add or change the tag to control which comments cross over to the case record.

Extend to other issue types

Set up the same flow for bugs or feature requests by adding new tags or conditions. The sync logic stays the same and only the filter changes.

How it works

  1. Monitor for new or updated comments. When a new or updated comment appears in Jira, check if the comment body contains #support# to sync only public comments to Salesforce.
  2. Retrieve the issue details. Get the full issue details from Jira, including the issue ID, so the matching Salesforce case can be found.
  3. Search for the linked case. Search Salesforce for a case using the Jira issue ID. If no case is found, send an email to notify the person in charge.
  4. Create the case comment. Upsert the Jira comment as a public comment in Salesforce so both systems stay in sync.
  5. Notify via email if needed. Send an email from Outlook to inform the person in charge when a Salesforce case cannot be found for the Jira issue.