query for issues with no subtask

Damian Kiesling September 9, 2015

i'm trying to write a query to pull back all issues that don't a a particular subtask type. my project has a subtask type called "Evaluation." I want to find all issues that don't have an Evaluation subtask.

2 answers

0 votes
Jobin Kuruvilla [Adaptavist]
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.
September 10, 2015

With JQL Tricks plugin (commercial), you can do it like this:

issue not in hasSubtasks("Evaluation") and project = XYZ
0 votes
Steven F Behnke
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.
September 9, 2015

JIRA doesn't have the ability to slice data that way. I only know how to do this using the add-on Script Runner, using a purpose-built JQL function. I am not sure about this anymore, since that add-on doesn't appear free now.

issueFunction in parentsOf("issuetype != Sub-Task")

Suggest an answer

Log in or Sign up to answer