How do I color an issue from the status of its subtasks?

I am using subtasks to indicate when a defect has been found in a particular story / task. What I want to do is use the status of those tasks to visually highlight to the testers whether a story is ready for test.

Is it possible to use a JQL query to check the status of its subtasks to set the colour of the parent? 

1 answer

Hi David,

You won't be able to do that with bare JQL.

It may be worth taking a look at Adaptavist's Script Runner addon (just a hunch).

Our Structure addon could also help; by putting those stories/tasks in a structure with their sub-tasks underneath them, you can then use an S-JQL query (it works anywhere that JQL is accepted) to match issues that have sub-tasks in a certain status. The query would look something like:

issue IN structure(structureID, "child in [issuetype = sub-task AND status = open]")

 

Cheers,

Robert

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,782 views 11 18
Join discussion

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