Forums

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

Live check on child issues and update parent issue

Nur Fatin March 13, 2025

Hello, I have a Jira Software Team-Managed project. Is it possible to do a live check on the child issue statuses and update the parent issue.

For context, in the parent issue, I have created a dropdown field and renamed it to "Issues Noted" with two options "Yes" and "No".

Each parent ticket would have either 11 or 13 child issues depending on what type of system is selected when creating a ticket.

I want to do a live check on the child issues whereby when all child issues are in "Approved' status, the Issues Noted field in the parent issue will be updated to Yes. While when at least one or more child issues are in "Approved - With Issues" status, the Issues Noted field will be update to No.

As long as there is an update to the child issues' statuses, I want the parent issue to be updated - this would be the live check portion.

I appreciate any tips on this. Thank you.

2 answers

2 accepted

1 vote
Answer accepted
Stevan Mandić
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.
March 14, 2025

@Nur Fatin use separate branch for each IF query.

Like this:

Screenshot 2025-03-14 at 10.02.11.png

Nur Fatin March 16, 2025

Hey @Stevan Mandić it now works as expected. Thank you so much!

0 votes
Answer accepted
Stevan Mandić
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.
March 13, 2025

@Nur Fatin  instead of using "if: sub-tasks match" use "if: children match" (related issues condition)

 

In case of "Approved" you should select if children: "all match specified JQL"

In case of "Aproved-with issues", you should select "some match specified JQL".

Note: in case you have other  issues types beside Subtasks in your epic, you can expand your if condition jqls with (for instance): type=Subtask and status =.... In order to avoid checking of issues other than Subtask

Nur Fatin March 13, 2025

Hi @Stevan Mandić I have amended the rule and tested it out. It works for when I moved all Subtasks tickets under that Parent ticket to "Approved", then the Issues Noted field in the Parent ticket updated to Yes.

However, when I moved one of the Subtask ticket to "Approved - With Issues", the Issues Noted field remained as Yes, when it should be updated to No.

Could you advise where in my rule set up went wrong? Or if there is an alternative way to make it work? Thank you in advance.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events