Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,551,899
Community Members
 
Community Events
184
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
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 02, 2020

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.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 02, 2020

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
Sebastián Ortega
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!
May 05, 2023

Still not fixed!!!!!  @Petter Gonçalves 

Suggest an answer

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

Atlassian Community Events