Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Fetch the Linked issue details

Saikat Rakshit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2022

Hi,

As part of the automation rule scheduled for the Jira Service Management project, when a Highest or High priority issue is created, I need to send an automated notification email to a DL. The linked issue is created as part of the automated rule earlier and the notification rule is the last step of the automated rule.

The content of the notification rule is as below:

Request number: {{issue.key}}
Priority: {{issue.priority.name}}
Assigned to: {{issue.assignee.displayName}}
Organization: {{issue.organizations.name}}
Summary: {{issue.summary}}
Type: {{issue.issueType.name}}

Click here to view request: {{issue.url}}
Linked Issue: {{issue.issuelinks}}

The problem that I am facing is that the linked issue URL is not coming thru in the notification email (see below).

image.png

Regards

Saikat

1 answer

1 vote
Piyush A (STR)
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 12, 2022

Haven't tried it - but probably you can try as:

first link, or the last you could use something like:

{{issue.issuelinks.first.outwardIssue.key}}
or
{{issue.issuelinks.first.inwardIssue.key}}

Of if its the only inward or outward then you could just use: 

{{issue.issuelinks.inwardIssue.key}}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events