Forums

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

JQL to retrieve exact backlog order

Max Maurer
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!
October 16, 2018

When requesting stories in a project and ordering them by rank e.g. 

project = PROJ AND status not in (Closed, Done) order by RANK

I do get the right order for stories in the backlog. However if a sprint is active or has been prepared and contains a story with a low ranking value it will still be up top in the backlog view (showing up in the sprint) while it would be listed at the end by the above JQL.

Including the sprint in the query as  so does also only help partially:

project = PROJ AND status not in (Closed, Done) order by Sprint, RANK

Problem with this is if a story has been in sprints before (so e.g. it has been part of a sprint two sprints ago but has been taken out again) it would be sorted to the very top even if it is in the backlog.

How can I write a query that will give me the same exact order that I see from top to bottom in my Scrum Backlog view. 

2 answers

0 votes
Fadoua
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2018

@Max Maurer

Sorry a duplicate

0 votes
Fadoua
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2018

@Max Maurer

I think the following may clarify to you how Rank works in JIRA Software. Please click here

Best,

Max Maurer
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!
October 18, 2018

thanks for your answer. Problem is that the rank is not changing in case story is actually applied to a sprint. however on the scrum board it is moved up into the sprint (being on top of the backlog now). While when sorting by RANK the story is still down where it was.

Fadoua
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2018

@Max MaurerAre you using story points?

Fadoua
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2018

Also please check your board general configuration and see if you already have the filter query there @Max Maurer. Attached is a screenshot from my instance.

Rank.png

Michael Green
Contributor
June 6, 2023

@Max Maurer  Did you ever get an answer to this question ?

Suggest an answer

Log in or Sign up to answer