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

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

2 votes
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 _Wolge_
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
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events