Forums

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

Automatically mark "In Progress" an issue when all its linked issues "Is Blocked By" are Done

Lakshmi CH
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.
August 25, 2025

Hi Team,

Automatically move the Defect Issue Type ticket to "In Progress" status when all its linked issues "Is Blocked By" are Done from tickets that are related to any other issue type. I used the automation rule below, but the ticket defect's status is not changing, even though all the linked tickets are done. Did I miss anything in this automation rule?

automation rule.png

2 answers

0 votes
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.
August 26, 2025

Hi @Lakshmi CH 

What is the relationship between the Defect Issue you want to update and the trigger issue for the rule?  Knowing that will help clarify how to structure your rule.

As written, this is what your rule is doing:

GIVEN any trigger issue linked to other issues as "is blocked by"
WHEN the trigger issue transitions to Done
THEN for each of those linked issues
  WHEN the issue has no linked issues as "is blocked by" which are not "Done"
THEN transition that issue to "In Progress"

Is that what you wanted?

 

Kind regards,
Bill

Lakshmi CH
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.
August 26, 2025

Hi @Bill Sheboy , Thank you for your response.

If you see the belwo screenshot, if all linked tickets with "is Blocked By" are in the "Done" status, the main ticket, should move to In Progress status.

done status.png

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.
August 26, 2025

Thanks for that information, @Lakshmi CH 

It seems your scenario is this:

GIVEN a Defect issue
AND it has one-or-more linked issues blocking it
WHEN one of the linked issues moves to Done
AND all of the other linked issues are also Done
THEN transition the Defect to "In Progress"

 

Is that correct?

Lakshmi CH
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.
August 26, 2025
Like Bill Sheboy likes this
Trudy Claspill
Community Champion
August 26, 2025

Thank you for asking those questions @Bill Sheboy and getting the requirement clarified.

Like Bill Sheboy likes this
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.
August 26, 2025

Thanks, @Lakshmi CH for confirming the scenario.

Let's stay with the thread started by @Trudy Claspill as she describes the changes to your rule as what you showed appears to be branching on the incorrect issue for the scenario.

0 votes
Trudy Claspill
Community Champion
August 25, 2025

Hello @Lakshmi CH 

Can you share with us the information you are getting in the rule Audit Log when you mark the last of a one of the "is Blocked By" linked issues to Done?

The output when you set any of the "is Blocked By" linked issues to Done, whether the first, second, or last, would also be informative to helping us debug your issue and advise you.

Lakshmi CH
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.
August 26, 2025

Hi @Trudy Claspill ,

Thank you for the quick response, The ticket in the audit its showing is for blocked by ticket not the main ticket, but it should change the main ticket, when the all blocked by tickets are changed to Done.


auditlog.png

Trudy Claspill
Community Champion
August 26, 2025

Is the issue shown in the audit log as the triggering issue the linked issue - the one that is blocking another?

Can you provide images of two of the issues:

1. The issue that is blocked

2. One of the issues that is blocking it.

Specifically what I want to see is the Linked Work Items section so I can see the Description used for the links. 

Please make sure that you label the issues to indicate which one is for the blocked issue, and which one is for the issue that is blocking it.

Lakshmi CH
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.
August 26, 2025

Hi @Trudy Claspill ,

It may be help you in the requirement.

 if all linked tickets with "is Blocked By" are in the "Done" status, the main ticket, should move to In Progress status.

done status.png

Trudy Claspill
Community Champion
August 26, 2025

When you view the details of one of the issues under the Issue Links area, in that issue's Issue Links area the "main" ticket will be listed. What is the link type description shown there, describing the link from the blocking issues to the issue it blocks?

Example:

View from main issue:

(my images are taken from Jira Cloud so they may look a bit different)

Screenshot 2025-08-26 at 1.29.45 PM.png

 

View from the issue that blocks the main issue:

Screenshot 2025-08-26 at 1.30.54 PM.png

 

In your rule at the step I labeled with "1" you need to use the link description that shows up in the issue that Blocks the main issue.

Screenshot 2025-08-26 at 1.26.18 PM.png

Suggest an answer

Log in or Sign up to answer