When a Salesforce Case is closed, a matching JIRA issue will be closed
Conditions can be added to the trigger to execute this Case comments creation in JIRA only when the issue in JIRA meets certain criteria. This can be done with Trigger IF, with an article to assist you on that here
This recipe maintains a link between Salesforce cases and JIRA issues by inserting the JIRA Issue Key into the Salesforce Case description field. The related JIRA issue's description field will also be populated with the Salesforce Case Number.
What this recipe does
A JIRA issue matching to a Salesforce Case that was closed will be closed as well if the below conditions were closed:
1) Within the From time range
2) Case Description does not contain the phrase : "JIRA issue closed"
3) JIRA description contains Case Number
JIRA Issue trigger conditions
Note that if the Salesforce Case is not closed, does not have a Salesforce Case Number in its description and has been synced before (marked by the flag values), It will not be picked up.
The recipe will first search for a JIRA issue based on the Case Number found from the JIRA Issue description.
From: Fetch trigger events from specified time.
Change Log :