The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to send linked issue keys in slack notification

Andrew
Contributor
November 14, 2023

Hi Team,

I am trying to create an automated rule that can send a slack notification where the message will contain both the issue key and the linked issue key. The issue that I am facing is that the linked issue key is not coming through on the message. I am following the smart values documentation but does not seem to work or I am doing something wrong.

I am using the JSON extension to find the linked issue fields. When I navigate to the linked issue, in the footer it gives me the following 

fields.issuelinks[0].outwardIssue.key

 I added this to the slack message using the different combos

{{issue.fields.issuelinks[0].outwardIssue.key}}

{{fields.issuelinks[0].outwardIssue.key}}

{{issuelinks[0].outwardIssue.key}}

None of the above worked and no key is being sent in the slack notification.

Any help or guidance would be much appreciated

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Andrew
Contributor
November 14, 2023

I managed to figure it out. I removed the [0] and that did the trick ;)

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events