JQL: "added to current sprint" and "removed from current sprint"

To keep track of what tasks are added or removed from an active sprint I would like to create some filters that can display issues "added to current sprint" and also "removed from current sprint". Is this possible to do with JQL?

3 answers

1 accepted

This widget could not be displayed.

No, this is currently not possible. Here you have to write your own plugin.

This widget could not be displayed.

with the version 3.0 of scriptrunner, you now have a JQL query called addedAfterSprintStart(), with 2 parameters, the board name (mandatory), and the sprint name (optional).

your JQL query is issueFunction in addedAfterSprintStart("BOARDNAME", "SPRINTNAME")

you can have a look here https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions

unfortunately, i haven't found yet the same for "removedaftersprintstart().

 

This widget could not be displayed.

Somewhat of a workaround is to write your JQL as:  project = "WhateverProjectYouWant" AND resolution = Unresolved AND Sprint in closedSprints()

The assumption is that you would only be removing unresolved issues from a Sprint.

To narrow it down to a specific sprint, you could just replace the "Sprint in closedSprints()" clause with a Sprint = YourSprint.

Since the Sprint Report has a section titled "Issues Removed from Sprint" it must be possible to write such a query, but it is either not possible through JQL, or Atlassian has chosen not to make it known.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

286 views 5 0
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