Forums

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

Get sprint issues via REST API while preserving swimlane order?

elventails November 15, 2020

Hi,

Any way to pull swimlane issues with their visually sorted order? (e.g. useful when visual sorting order is used to indicate priority vs assigning a priority field)

 

Jira must track that internally but I can't seem to find the field in the API results - does it get passed?

 

 

Thanks!

 

1 answer

0 votes
Kat Warner
Atlassian Partner
November 15, 2020

"Rank" is the invisible field that is used when sorting issues on kanban and scrum boards. Hopefully having the name of the field will make it easier for you to find.

elventails November 17, 2020

Thanks Kat, 

It seems this is a relatively open / unhandled question, here's some info from other posts I reference below:

- the rank is stored in the customfield_10019 field

- the rank is stored in a format called "Lexorank"

Each story in Jira has a 'rank-field' containing a string which is built up of 3 parts: <bucket>|<rank>:<sub-rank>

 

So we probably could sort on that! (don't have the time to check this further now, but hope this helps the next person!)

 

## References

https://community.atlassian.com/t5/Jira-questions/How-to-get-the-rank-with-Jira-API/qaq-p/583700

https://community.atlassian.com/t5/Jira-questions/How-to-see-numeric-rank-order-for-an-issue/qaq-p/611802

https://medium.com/whisperarts/lexorank-what-are-they-and-how-to-use-them-for-efficient-list-sorting-a48fc4e7849f

https://stackoverflow.com/questions/40718900/jiras-lexorank-algorithm-for-new-stories

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events