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,554,912
Community Members
 
Community Events
184
Community Groups

Collect all issues that were in the beginning of the sprint with JQL

Edited
Luna Costa Vasconcelos
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 17, 2023

I need to collect all issues that were in the beginning of the sprint with JQL in issuenavigator for example, right when the sprint started and nothing else, for example:

If I have a sprint A that started 23/04/2023 with 102 issues, I need to get only this 102 issues and nothing else, right now I'm trying with this JQL query:

project = Rocket AND (sprint = "Rocket 23.01 Sprint 1") AND issueFunction not in addedAfterSprintStart(Rocket, "Rocket 23.04 Sprint 1")

But this is bringing also the issues added after the sprint started and it is missing issues that were excluded from the sprint after it ended, how can I do this?

Note: This needs to be done for the past, I need to do this in sprints that happened last year, so the JQL query needs to be able to work for the past not only for now

1 answer

2 votes
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 17, 2023

Hi @Luna Costa Vasconcelos ,

TBH, I didn't think that this was possible as I didn't think that the APIs supported the query. However, I thought I would give it another try because it's been a while since I had attempted this. I also noted in the scriptrunner documentation that it would seem to be supported via the Enhanced search. Regardless, my results were the same as yours. With that said I will try to reach out to others that have more experience with scriptrunner to see if they might confirm support.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 17, 2023

I think this is a bug in SR's addedAfterSprintStart function in enhanced search.  I'll make some noise at the dev team...

Like Kelly Arrey likes this

Suggest an answer

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

Atlassian Community Events