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

How to filter subtasks by sprint

Mikala Hernandez
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!
Oct 25, 2023

I need to pull a report  that shows all subtasks filtered by sprint number. For example, I want to see:

- All subtasks that were completed in Sprint 1

- All subtasks that exist in the current active sprint

It's not possible to do this using Filters -> View all Issues -> Search, because subtasks are not assigned to sprints, only their parent issues are (even though subtasks do show a field identifying which sprint they belong to).

One possible work-around I came up with was to create a custom field (Sprint - Reporting) on Issues and subtasks, that automatically copies the value from the Sprint field. That way, I would be able to filter by that field. However, I am not able to figure out how to copy the value from the "Sprint" field to the custom field "Sprint - Reporting" using the Automation rules.

Is there any kind of work around that would provide a solution to my problem?

I am using Team-managed project.

 

 

1 answer

1 accepted

0 votes
Answer accepted
Sanjog Sigdel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 25, 2023

Hello @Mikala Hernandez 

Welcome to the community.

You can filter your subtasks by sprint using a simple JQL:-

issuetype in subtaskissuetype() and sprint in opensprints()

 

This will list all subtasks types like sub-task, story-defect, test-case under open sprints. If you are running multiple sprints you will get tickets from different sprints. 

If you want from a particular sprint you can use this query instead:-

issuetype in subtaskissuetype() and sprint in(544,555)

Where 544, 555 are the sprint ids which you get after typing your sprint name inside parenthesis "Sprint 64".

 

Further more if you are looking for specific issue types among the sub-task issue types you can use this query:- 

issuetype in("Sub Task", Defect, Documentation) and sprint in(544,555)

Mikala Hernandez
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!
Nov 14, 2023

Thank you so much, @Sanjog Sigdel

Like Sanjog Sigdel likes this
Sanjog Sigdel
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 16, 2023

@Mikala Hernandez 

Kindly Accept the answer so that people can take a reference for future.

Like Mikala Hernandez likes this

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