Help searching for subtask and issue types with different status'

I'm trying to search for all subtasks with the status of Open only when the standard issue type is in the status of Testing, is that possible? I need to show how many subtasks have been created with or without a testing subtask (we have a custom field identifier to identify which subtask is a test task or not).

To better clarify, I need to show all open children tickets (subtasks) when the parent ticket (standard issue/non subtask) has a status of Testing.

3 answers

You need to use a add-on for that. Based on my experience two add-on will do tha work:

https://marketplace.atlassian.com/plugins/org.craftforge.jira.craftforge-jql-functions-plugin

Look at the following example in their documentation: http://cpsli4j.craftware.biz/examples

subtaskIssuesFromFilter()
 
The other add-on is JQL J-Tricks
https://marketplace.atlassian.com/plugins/com.j-tricks.jql-plugin
Look at the JQL Functions: subtaskIssuesFromQuery()
Let me know if you need more details how  to use those functions.

Hi Nicole,

beside what Peter mentioned there is another plugin (Script Runner) where you could use following query:

status = open and issuefunction in subtaskOf("status = Testing and issuetype =<YourParentIssueType>")

Cheers,

Udo

Hi Nicole,

If you are generating reports Intelligent Reports can easily handle this kind of nested query. You can just point and click to set it up, no scripting or API to learn.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

790 views 5 7
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