Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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



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?



1 answer

1 accepted

0 votes
Answer accepted
Ollie Guan Community Leader Dec 05, 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
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

102 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you