• Community
  • Questions
  • Is it possible to check the date when an issue has been added to a sprint?

Is it possible to check the date when an issue has been added to a sprint?


I'd like to build a Jira Query that shows only the issues that have been added to the current sprint after the sprint started. Is that possible with Jira QL?

5 answers

1 accepted

Ok, how about

fixVersion = "Your sprint version" AND fixVersion WAS NOT "Your sprint version" ON your-sprint-start-date

An error appears: History searches do not support the 'fixVersion' field

I'm using JiraStudio 4.4-studio-rc2

Seems history search for fixVersion was enabled in Jira 4.4.1 and hosted OnDemand is based on 4.4 so that query will not work until Jira is updated.

History search for fixVersion was introduced in Jira 4.4.2 according to release notes.

The "CHANGED" operator can be used on the Status, Assignee, Priority, Reporter, Resolution and Fix Version fields.

The "WAS" operator can be used on the Fix Version field too.

Not really a JQL solution, but you can get the issues added during the sprint using the greenhopper api. Just hit the REST API endpoint rest/greenhopper/1.0/rapid/charts/sprintreport?rapirViewId={your_view_id}&sprintId={your_sprint_id}

then look for key "issueKeysAddedDuringSprint"

Important: I'm using JiraStudio so I am not able to install any other plug-ins to resolve this issue.

fixVersion CHANGED TO "Your sprint version"

Will get you issues moved to sprint

fixVersion = "Your sprint version" AND created > Your sprint start date

Will get you new isues added to sprint

Hi milowe,

This is not quite what I meant actually. Issue can be created before sprint is started and if then I will move such an issue to the sprint after it has been started, this query is not going to work.

What version is OnDemand Jira ? Works fine in 4.4.3.

A lot of issues were created before sprint started. Support created them and not all of them were included into sprint backlog during sprint planning. Later PO decided to include them. So would be nice to found out a way to filter out all issues added to the sprint during the sprint. 

I am also searching for the same.. if you were able to find how to filter issues added to the sprint mid-way please post here.



Same here. The most promising solution so far is (yet again) Jamie Echlin's Script Runner: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-addedAfterSprintStart(boardname,\[sprintname\])

However, I cannot validate that it actually does the trick, because it is only available in version 3.0 of the plugin - and I currently cannot install it because our Jira is too old. Dang. Hopefully it works for you.

Looks like the perfect solution, but i have the same problem (old jira version). How difficult would it be to programm this function to get it work with an old jira/script runner version?

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

189 views 12 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot