Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I query the "+1" or "+2" etc, value on the Sprint field in my JQL?

Olga Frias-Basta
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!
March 3, 2023

Issues that carryover from sprint to sprint have a +1 or +2, etc, for the # of times they've carried over. Can I access that value in my JQL?  Trying to report on stories that have carried over more than one sprint for a given time frame.

2 answers

3 votes
Mikael Sandberg
Community Champion
March 3, 2023

No, JQL doesn't allow you to do that. You could use automation and a custom field, and every time you start a sprint you could update it with the number of sprints each issue has in the sprint field. The smart value would be something like this:

Screenshot 2023-03-03 at 4.10.12 PM.png

This example only logs the size in the audit log for the automation, but you could use a component that edit the issue and sets the value of the custom field to ((issue.sprint.size}}

0 votes
Hannes Obweger - JXL for Jira
Atlassian Partner
March 4, 2023

Hi @Olga Frias-Basta

if you're open to solutions from the Atlassian Marketplace, this would also be easy to do with the app that my team is working on, JXL for Jira.

JXL is a full-fledged spreadsheet/table view that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. It also comes with a number of so-called “smart columns” that aren’t natively available, including the number of sprints (along with many other sprint-related data). 

This is how this looks in action:

number-of-sprints.gif

Once you've narrowed down your list of issues, you can work on your issues directly in JXL, trigger various operations in Jira, or export your issues with just one click. You can also use the all sprint-related columns across JXL's advanced features, such as support for issue hierarchies, issue grouping, sum-ups, or conditional formatting.

This all "just works", so there's no scripting whatsoever required.

Any questions just let me know,

Best,

Hannes

Suggest an answer

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

Atlassian Community Events