Sync Jira issue closure when Salesforce case closes

CRMMarketingSalesProject management

What it does

When someone closes a case in Salesforce, this automation searches Jira for the matching issue and closes it. The case description is updated to note that the Jira issue was closed.

Who it's for

Customer support teams who manage cases in Salesforce and track work in Jira.

How teams use this

Keep Jira and Salesforce in sync

Close the Jira issue automatically when a case is resolved in Salesforce. Both systems stay current without manual updates between tools.

Prevent duplicate issue closure

The automation checks the case description for Jira issue closed before processing. This ensures the same case is not closed multiple times in Jira.

Filter cases by update date

Only process cases updated after a specified date so historical cases are not affected. Set the From parameter to control which cases trigger the automation.

How it works

  1. Monitor for closed cases. Watch for cases updated to closed status in Salesforce. The case description must not already contain the phrase Jira issue closed to avoid duplicate processing.
  2. Find the matching Jira issue. Search Jira for an issue whose description contains the Salesforce case number from the closed case.
  3. Close the Jira issue. Update the Jira issue status to Done when a match is found and the issue is not already closed.
  4. Note the closure in Salesforce. Add the phrase Jira issue closed to the case description so this automation does not process the same case twice.