Sync Salesforce Case when Jira issue closes

Project managementCRMMarketingSales

What it does

When a Jira issue status changes to Done and meets specific conditions, this automation finds the matching Salesforce case and posts an internal comment. The Jira issue description is then updated to prevent duplicate syncs.

Who it's for

Customer support teams who manage cases across Jira and Salesforce and need them to stay in sync.

How teams use this

Keep cases and issues in sync

Close the Salesforce case automatically when the Jira issue is marked Done, eliminating manual updates and ensuring both systems reflect the current status.

Route closed issues to a different team

Run this automation for a specific Jira project or Salesforce queue so only cases from that team sync when issues close.

Include resolution details in the case comment

Add the Jira issue resolution field or custom fields to the Salesforce case comment so the support team sees why the issue was closed.

How it works

  1. Monitor for closed Jira issues. Watch for Jira issues where status is Done, summary contains SF, and description does not yet contain the closed notification phrase.
  2. Search Salesforce for the matching case. Search Salesforce for the case that corresponds to the Jira issue using the case number from the issue description.
  3. Post an internal comment to the case. Add an internal comment to the Salesforce case to notify the team that the related Jira issue has been closed and resolved.
  4. Update the Jira issue description. Update the Jira issue description to include the closed notification phrase so this automation does not run again on the same issue.