Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find issues without sub-tasks of a particular type?

Amy E.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2021

I've used Scriptrunner to find issues with no subtasks using issueFunction not in hasSubtasks(). However, I'm trying to find issues with no subtasks of a particular type. Is this possible?

 

1 answer

1 vote
Martin Bayer [MoroSystems, s.r.o.]
Community Champion
August 5, 2021

Hi @Amy E. there is also function parentsOf with subquery as a parameter. Can you try something like

  • issueFunction in parentsOf("issuetype != Sub-task")

Query should return issues which are parents (has some subtasks) but issue type of the subtask is not Sub-task.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events