Rank vs. ranking question

I am trying to write a query that represents stories ordered just the same way they appear under plan mode, so that when PO drags and drops them (sets the priority of the backlog) the're shown accordingly.

Which of the following queries are correct?

1) project = X ORDER BY Rank ASC

2) project = X ORDER BY Ranking ASC

What is the difference between these fields and usage meaning?

Thanks in advance,

Aquarius.

3 answers

1 accepted

Look at your board's filter and see which field is used for ranking and use that for your filter
0 vote
Henning Tietgens Community Champion Apr 04, 2013

For our system it's "ORDER BY Rank ASC". Rank is our "Global Rank" field. For differences see https://confluence.atlassian.com/display/GHKB/Difference+between+Global+Rank+and+Rank

Henning

I am also trying to get the similar filtering, but at a Sprint level and for multiple projects

issueFunction in inSprint("Storefronts Scrumboard", "2013-Q2-05-1 04/25-05/15") AND issuetype in (Bug, Story) ORDER BY RANK ASC

The order of the issues in the Issue Navigator (JIRA side) does not match the order on the GH board.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 14 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

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