Only show subtasks when a parent issue is in certain state


I want to be able to create a board where I can see all subtasks of a parent issue, but only if that parent issue is in a particular state.

My situation is I have a parent issue with 3 main states. I have 2 boards, board X that deals with the parent issues in states 1 and 2, and board Y that deals with only parent issues in state 3. Now board X that deals with states 1 and 2 only shows parent issues and no subtasks so no problem there. Board Y shows parent issues in state 3 only and a collection of subtasks.

Now the problem is when subtasks are added to a parent issue when it is in states 1 or 2. What happens is the subtasks end up appearing in board Y when it's too early for them to do so, whilst also making the parent issue visible in board Y when it shouldn't be.

So what I want is something like the following:

project = XXX AND issuetype = "Parent" AND STATUS = "State 3" OR (issuetype in ("subtasktype1", "subtasktype2", "subtasktype3") AND parent in (status = "state 3)) ORDER BY Rank ASC

My searches online tell me that JIRA can't do this out the box and the only way to do what I want is by using the (no longer free) ScriptRunner plugin?

Any help would be greatly appreciated as getting a paid plugin is not an option.




1 answer


I can use the "Parent Status" field in my queries. I don't think it's shipped with a plugin, certainly not with ScriptRunner (I have it disabled on a test instance).

So you can query for:

"Parent Status" = <Status>

Hi Cristina,

Thanks for your response but "Parent Status" is not part of my JIRA install (v7.3) so you must be getting that from one of the plugins you have installed.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

265 views 0 12
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot