Transition parent based on child triggers

S November 6, 2023

Hi

In my scenario we need to move the parent Issue to a different status if a group of child issue are in a different workflow state.

Use case: 

ParentChild.pngProblem - 1st it never enters else statement ( If issue 91, 92 are cancelled then it should enter else block and transition should happen for parent to Completed)

 

Reference article 

My attempt:

test.png

 

Appreciate any help

3 answers

1 vote
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.
November 6, 2023

Hi @S 

For a question like this, please also post an image of the audit log details showing the rule execution.  That may help explain what you are observing.

Until we see that...

Your spreadsheet image showing the use case seems to indicate all child issues should be cancelled for your "else" case.  Is that correct, as that does not match your rule image.  Although that is difficult to confirm as there is quite a bit of your rule's logic, regarding status values.

Kind regards,
Bill

1 vote
Olga Videc
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2023

Hello @S 

First I would change the trigger to transitioned.

You mentioned you want to transition the parent only when child issues are in specific status, does this mean when one child issue is transitioned the parent should be transitioned or do you want to run a check if all child issues are in one of statuses then transition the parent to specific status?

Basic rule 

Automation.PNG

 

BR, Olga

S November 6, 2023

@Olga Videc Thanks 

You mentioned you want to transition the parent only when child issues are in specific status, does this mean when one child issue is transitioned the parent should be transitioned

Yes - that's correct. In my case Issue-91 child is transition / triggered to cancelled so I want parent to move to Cancelled.

or do you want to run a check if all child issues are in one of statuses then transition the parent to specific status?

Yes - these are also part of whole automation. but since I'm not able to get the easy bit going - so keeping it simple.

 

thanks for helping out

Olga Videc
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2023
0 votes
Michel Neeser
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 6, 2023

Hi @S

I suggest checking the audit log of the rule, it usually provides useful hints about what's going wrong in a rule and can point you in the right direction.

Suggest an answer

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

Atlassian Community Events