Does anyone have any good automation rules for JSM when a linked Jira is fixed?

Dan Breyen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 24, 2023

I put something together, but would like to include the JIRA number in the email back to the Assignee in JSM,  

What does everyone else do?

3 comments

Comment

Log in or Sign up to comment
Carla Ann K_ Rowland February 24, 2023
  • create an automation rule and using the smart values include in the email {{issue.key}}
  • The automation can be automatic if you have specific triggers so you can send it for a specific issue
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2023

Hi Dan,

You can use this in the body of the email for a clickable link to the issue.

<a href="{{issue.toUrl}}">{{issue.summary}}</a>

Like Dan Breyen likes this
Dan Breyen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 9, 2023

My automation is processed on the Linked issue of the JIRA ticket, which is the JSM.  So all of my {{issue.xxx}} information is from the JSM ticket.  Do you know if I can link information from the JIRA ticket?

vitaliy zapolskyy March 9, 2023

hi Dan
It is possible to access your linked Jira ticket using branching. Please see here https://confluence.atlassian.com/automation/branch-automation-rules-to-perform-actions-on-related-issues-993924648.html

When the rule is branched on an issue or list of issues, the sub-branch of the rule is executed against each issue. All actions and references to {{issue}} point to the related issue, not the trigger issue.

Note: You can still reference the the trigger issue using {{triggerIssue}} instead.

Dan Breyen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 9, 2023

AHH!  {{triggerIssue}} is probably what I'm looking for!  THANKS!

Like # people like this
Dan Breyen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2023

This is pretty straight forward now that I added the trigger issue stuff:

Here's my Subject:

Issue {{issue.key}} was resolved in JIRA.

Here's my Content:

Please let {{issue.reporter.displayName}} know that {{triggerIssue.key}} issue has been resolved in CBreez for issue {{issue.key}}.

The automation is triggered off of the Jira ticket transitioning from "In Review" to "Resolved".  Then if there is a 'causes' linked issue for my JSM project, it send an email to the assignee and changes the status of the JSM issue back to 'In Progress'.

TAGS
AUG Leaders

Atlassian Community Events