In Automation, in a For Parent Branch, how can I update a field in the triggering issue?

Cash Coyne
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.
April 30, 2024

I have an automation rule with a "For Parent Branch".  In that branch, if a certain condition is met, I want to update a field in the triggering issue while in the branch (specifically clear the parent field in the triggering issue).

How can I do that?

2 answers

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
April 30, 2024

Hi @Cash Coyne 

Not from inside of a branch to the parent, however...

I hypothesize you are branching to the parent to use its data to decide if the trigger issue should be updated.  If so, you could instead use Lookup Issues to get the parent issue's data, and use that in smart value conditions to decide, and then the edit will be against the trigger issue.  That is, remove the branch and try this:

  • trigger: some trigger
  • action: lookup issues, with JQL to get the parent of the trigger issue
  • smart value condition(s)...
  • action: edit issue >>> which will update the trigger issue

 

Kind regards,
Bill

1 vote
Michael Wohlgemuth
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.
April 30, 2024

Greetings,

there's a smart value you should be able to use called {{triggerIssue}}.

regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events