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

Automation to update status from block to open

Wan Muhd Muhsin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 4, 2024

Hello 

I need help with automation rules to update my bug status from block to open after the blocker issue status change to Closed.

I had done this part, but it only work for one to one link. If bug A block by two Bug (B & C), then bug B update to Closed, Bug A suppose to maintain status as blocked, but instead it changes as Open which is wrong because Bug C still not fix.

 

image.png

 

How I want to add checker to check, if this bug still got other block issue link to it and status still not closed, remain bug A as block, only change bug A status from block to Open once all the issue link to it Closed

@Stefan Salzl, if you available, can you also help me on this.

Thank you

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Tomislav Tobijas
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.
September 6, 2024

Hi @Wan Muhd Muhsin ,

I think the only thing you need here is an additional condition within the branch that checks linked issues. Basically, you can just add Related issues condition, choose linked issues, and set link types (guessing again something like "is blocked by" and "blocks").
What this does is, once you enter each iteration of the branch (so linked issue to the bug which changed to status "Closed"), check linked issues from that issue and check if these linked issues are in a specific status.

To check the status of these linked issues, I guess the easiest way would be to use All match specified JQL condition > in your case matching JQL would be status = Closed. You can see the screenshot below and just adjust the parameters to your needs.2024-09-06_10-12-39.png

Hope this helps.

Cheers,
Tom

TAGS
AUG Leaders

Atlassian Community Events