How linked issues blocked by

Harold Alcalde August 2, 2022

Hello, I am trying to link Issues so that an Issue can only be closed if the linked Issue is closed. I am using "locked by" in the linked issues field but it allows me to close the issue anyway. Should it be in the DONE or CLOSED state or does it look at the last state of the workflow?

2 answers

0 votes
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2022

Hi @Harold Alcalde and welcome to the community!

You cannot set validators against links.  However, you could use automation to flag the issue (flag field, custom field, label, component)  if it has a blocked issue that is not resolved and unflag when blockers are resolved.  Then set up a validator against whatever mechanism you've used to flagged it. 

Vince Bartman September 25, 2023

Blocking not actually affecting linked issue behavior makes it a completely useless feature. 

0 votes
padraik
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 2, 2022

What are you doing in attempt to prevent the issue from being closed?  Using the "Blocked by" issue link (or any other) does not prevent transitions.

Harold Alcalde August 9, 2022

I thought that it did avoid closing issues. thank you

padraik
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 9, 2022

Glad to help - and welcome to the community :)

Could you click the button to accept the answer in case someone needs help with this issue in the future?

padraik
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 9, 2022

If you have scriptrunner, you could write a simple scripted validator for your transition to your done or closed status that checks that there are no blocker links, or makes sure that the blocking issue is resolved before allowing that transition.

Suggest an answer

Log in or Sign up to answer