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

Query not returning results on closed subtasks

When I run this JQL query, I do not get any results

sprint = 51 AND issuetype = Subtask AND status = Closed

The sprint above is closed, I have 2 sprints open. There are multiple sub-tasks that are in the closed state.

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 01, 2023

Hello @Nisha Patel 

Welcome to the community.

Do you get results if you break the query down?

Do you get results for ...

sprint=51

 

Do you get results for ...

sprint = 51 AND issuetype = Subtask

 

Are you working with issues in a Team Managed project or a Company Managed project? Typically the default name for a subtask in a Company Managed project is "Sub-task" (with a hyphen) and in a Team Managed project the default name is "Subtask" (without a hyphen). Are you sure you have the correct issue type name?

 

If you get results for ...

sprint = 51 AND issuetype = Subtask

...but not for

sprint = 51 AND issuetype = Subtask and status = Closed

... then you need to check if "Closed" is a valid status for the Subtasks, and if you actually have any subtasks that are currently in the Closed status that were also assigned to sprint 51.

Hi Trudy,

Thanks for the quick response!

I do get results for Sprint = 51 but no results for issueType = Sub-task and one result from sprint = 51 AND issuetype = Subtask.

The one item that populates was previously a Story and was changed to a Subtask. I have MANY subtasks that are in the closed status. All subtasks were created by using the Create a Child Task button.

When I run the query Sprint = 51 the only subtasks that populate are ones that were originally a Story and changed to a subtask

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 02, 2023

Subtasks are not assigned to sprints separately from their parent issues. The subtasks should be inheriting the sprint values from their parents.

Were any of the standard level issues in Sprint =51 populated with child subtasks, and are those child subtasks currently in a Closed status?

Do you know of an existing subtask that is currently Closed that you believe should be returned in the query results? Can you provide a screen image of that subtask showing its status and its Sprint field?

Suggest an answer

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

Atlassian Community Events