JQL filter for ANY issue type without Subtasks?

Divya Bothra December 8, 2017

Hi ,I am looking for JQL which will only give me that issue numbers which does not contain any subtask.

2 answers

1 vote
Alexey Matveev
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.
December 8, 2017

Hello,

I think it is impossible out of the box, but if you have Adaptivist ScriptRunner plugin you can use

issueFunction not in hasSubtasks()
0 votes
Amit Namdhari May 23, 2018

Solution without a plugin.

Use below query as a Quick Filter from the Board Configuration.

issueFunction not in hasSubtasks() AND issuetype != Sub-task

It will sort out every story which has No or Zero sub-tasks.

Nguyễn Tuấn Vũ December 14, 2018

Result: "Field 'issueFunction' does not exist or you do not have permission to view it." :(

Like jcohen@amfam.com likes this
Brian Longstreet July 17, 2019

I saw on another post asking the same question that issueFunction is an option that comes with a plug-in.

Reesy February 11, 2020

issueFunction is only available with ScriptRunner plugin.

Suggest an answer

Log in or Sign up to answer