Forums

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

How to select issues which are sub-tasks or stories without sub-tasks all together?

tal-yechye
Contributor
December 5, 2021

Hello,

 

I'd like to use =Jira() and JQL to get all my issues.

However, when I get my subtasks, I wouldn't want also to get their parents.

But if I have stories without sub-tasks - I would like to get them as well.

This query brought me all the non stories:

=JIRA("project = aaaa AND assignee = 'myname' AND sprint in (openSprints(), futureSprints()) AND type not in (Story) AND status not in (Done, Duplicate, Obsolete) order by status desc", "parent, issuekey, type, summary, status, sprint, fixVersion, created, updated, component", 0, 100)

 

How do I update it to get also all the stories which have no subtasks?

 

Thanks!

1 answer

1 accepted

0 votes
Answer accepted
Ollie Guan
Community Champion
December 5, 2021
tal-yechye
Contributor
December 6, 2021

I appreciate you answer but I need an approval to order the plugin

Meanwhile I used labels to label those "subtaskless" stories and filter with them.

Suggest an answer

Log in or Sign up to answer