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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Update a field of a parent issue when al the child issues are "done"

Hi,

 

I'm trying to create an automation in JIRA software that updates a field of a parent issue when all the child issues are "done"

Why is this automation not working? I add a screenshot

Thank you in advance

image.png

2 answers

2 accepted

0 votes
Answer accepted
Tim Kopperud
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.
Oct 26, 2023

Hi  @Mario Palacios Fernández, I would recommend you branch using lookupIssues. 

Regard a branch as iterating x times. That means you cannot retreive an issue key from a list (a collection) using "list.field" syntax as in your example where it is lookupIssues.key (ref plural.singular).

You will need to fetch every issue from the list. This can be done by branching by lookupIssues. 

Below you see the principle on how it can be done:

image.png

In the branch, to fetch the issue key for the current iteration, you can use the following smart value (created in the Variable name):

{{currentIssue.key}} 

The key is to fetch the current issue during the loop.

You might solve it by using variables and  smart value list functions but will be complicateed (not recommended when alternatives as above exists).

TimK. 

Hi! I found the solution. Thanks for the help!

0 votes
Answer accepted
Dan Breyen
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.
Oct 26, 2023

Hi Mario.  I found an Automation Template that looks like it will do the job for you.  Once you get to Automations, there's a templates tab and at the bottom, there's a 'See more templates in our automation library' link.  I've included a link here to it, take a look and see if it would work for you. Update Parent Automation 

Hope that helps

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