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

Hi,

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

This widget could not be displayed.

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.

This widget could not be displayed.

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"

This widget could not be displayed.

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

This widget could not be displayed.

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. 

This widget could not be displayed.

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.

thanks

rajesh

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 Sign up to answer
Community showcase
Posted 8 hours ago in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

12 views 0 0
View post

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