Forums

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

How to update the outbound linked issue on issue link trigger?

Michael Kuhl December 17, 2018

Hi All - Here's my use case:

An issue has a link created on it which satisfied the criteria for the Issue Linked trigger. I want to update a field on the triggering issue with a value from the linked issue.  

e.g.  Issue-A has an issue-link created on it to Issue-B.  Copy Issue-B.key to Issue-A.SomeCustomField.

Problem:  It is not obvious to me how to update Issue-A's fields within the "For Linked Issues" branch for Issue-B.

I'm grateful for any suggestions.

1 answer

1 accepted

0 votes
Answer accepted
Nick Menere
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2018

Hi Michael,

 

You should be able to reference the "destinationIssue" using a smart value.

Add the "Edit issue" action and select the customfield you want to select.

You should then be able to use the value:

{{destinationIssue.key}}

 

Hope that helps.

 

Cheers,

Nick

Michael Kuhl December 18, 2018

That's exactly what I needed.  Thanks, Nick!

Michael Kuhl December 18, 2018

Just a quick clarification for others.  I needed to move the edit action out of the "For Linked Issues" branch in order to edit the origin/source issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events