Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,043
Community Members
 
Community Events
168
Community Groups

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

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

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
TAGS

Atlassian Community Events