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,366,371
Community Members
 
Community Events
168
Community Groups

Adding sprint to the filter makes subtasks disappear

I want to create a filter that shows all issues with status "To Do" in my current sprint.

 

This filter doesn't return subtasks:

issuetype in (standardIssueTypes(), "Action Item", Bug, Epic, Story, Task, Subtask) AND project = DEV AND status = "To Do" AND Sprint in (openSprints()) ORDER BY priority DESC, status ASC, created DESC

 

However, if I use the same filter but remove the "Sprint in (openSprints())" , I can see subtasks returned in the results. Even the subtasks from the current sprint.

issuetype in (standardIssueTypes(), "Action Item", Bug, Epic, Story, Task, Subtask) AND project = DEV AND status = "To Do" ORDER BY priority DESC, status ASC, created DESC

 This bug makes it hard for me to see all issues that are ready to be worked on.

1 answer

1 accepted

1 vote
Answer accepted

Hello @Sara

Welcome to the Atlassian Community!

Can you confirm to us if the project you are specifying in your JQL query (DEV) is a Next-gen project?

If that's the case, we have reported this behavior as a bug to be fixed with the Next-gen API:

Unable to search for subtasks when filtered by sprint 

Feel free to vote and watch the bug to increase its priority and also receive notifications about its fix implementation.

Unfortunately, we don't have a viable workaround to this bug at the moment, except for migrating your work to a Classic project where the bug does not happen.

Let us know if you have any questions.

Yes indeed it's a Next Gen project.

Thank you for confirming @Sara

Let us know if there is anything else we can help with.

The bug is 3 years old. Can you please fix it? I added my vote to the bug report. 

Like Patrik Smeds likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events