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

What JQL can provide me with Issues added after the start of the current sprint?

How can I query Issues added after the start of the current sprint? Or added after the start of a particular sprint?

2 answers

1 accepted

2 votes
Answer accepted
Dave Liao
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 23, 2023

If you have ScriptRunner on your Jira instance, use the JQL function addedAfterSprintStart.

An example query would look like:

issueFunction in (addedAfterSprintStart(666))

where 666 would be the board ID with your active sprint. 😈

Related doc: https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/sprint

(for anyone else reading this, ScriptRunner for Jira Cloud has this feature too!)

This worked for me! 

Additionally are you able to use CurrentSprint or OpenSprints in the following way?

issueFunction in addedAfterSprintStart("Sprint Board", openSprints() ) 

instead of

issueFunction in addedAfterSprintStart("Sprint Board", "Sprint Name") 

Like # people like this
Dave Liao
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 23, 2023

Good follow-up question!

You'll need to nest another issueFunction in dealy-o there.

Check out this post: https://community.atlassian.com/t5/Jira-questions/Proper-syntax-for-doing-quadruple-nested-issueFunction-JQL/qaq-p/1647631

I'm actually experimenting to see what the exact JQL is, because I'm curious myself...

2 votes
Dave Liao
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 23, 2023

If you don't have ScriptRunner, read this thread and be depressed. There's no JQL for that (yet?).

Workaround: You can look up the Sprint Report for the sprint you want, on-demand. There'll be an asterisk (*) next to each issue added after a sprint start.

Related doc: https://confluence.atlassian.com/jirasoftwareserver/sprint-report-938845689.html

Suggest an answer

Log in or Sign up to answer