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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hi. How to restrict the status (Resolved),of the Parent ticket until the linked issue closed.

when issues are created from a change request with an issue link: "is caused by", all linked issues are in resolved or done status before the original change request can be transition to resolved or done.

Note: We have to achieve this with only by using Script runner plugin. I need the script.


2 answers

1 accepted

2 votes
Answer accepted

You can perform a scripted validator using ScriptRunner.


Pseudo code.

  • Get all outward links
  • Loop the link types and check if those tickets are closed then transition to original
0 votes
John Funk Community Leader Dec 27, 2019

Hi @bharath_reddy  - Welcome to the Atlassian Community!

You can also do that with the Automation for Jira add-on. 

Can you Please tell me the process, how to achieve that with Autmation for jira.

John Funk Community Leader Dec 30, 2019

Ah, sorry - I read the original question wrong. Automation For Jira will perform actions when items are transitioned, but cannot actually prevent them from transitioning. However, ScriptRunner or JMWE (Jira Miscellaneous Workflow Extensions) should be able to do that. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,431 views 22 32
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you