You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello! I'm trying to run a query that will only return issues closed in a specific sprint.
Example - I have Issue M-50 that was worked on and closed during Sprint 1, and M-100 that was worked on during Sprint 1 and Sprint 2, and closed in Sprint 2.
I don't want M-100 to appear in the same query as M-50 because M-50 was closed in Sprint 1 and M-100 was closed in Sprint 2. However, M-100 has a Sprint value for Sprint 1 since it moved across sprints.
Hi @Ankit Aggarwal,
I think you can use the function "closedSprints()". The function searches for Issues that are assigned to a completed Sprint.
To find find all issues that are assigned to a completed sprint try:
sprint in closedSprints("Sprint 1")
Kind regards,
Svenja
@Svenja Lorenzen that does not seem to work for me. I'm not sure closedSprints() can be used for that. I'm getting the following error.
Could not resolve the project 'Sprint 1' provided to function 'closedSprints'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ankit Aggarwal,
I see. I tried the following query and this one worked for me:
project = XXX AND status = "Done" AND sprint = "Sprint 1" and sprint != "Sprint 2"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! I had come up with that too but was hoping there was another way in case an issue spanned future sprints as well. I think this is the only way. Appreciate it!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ankit Aggarwal
What will be query in include all statuses in the previous sprint?
My current j-query displays completed or closed issues only?
see eg: project = YYY AND issuetype in (Story, Sub-task) AND Sprint = #### AND component = DCS AND component = "ZA/DVS" ORDER BY issuetype DESC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.