Hi there, I'm working with the Jira Kanban board and would like to update the priority of issues on the Kanban board automatically through a script.
Currently, I need to manually move the issues around through the UI myself so that the priority gets changed. It seems to me that the Kanban board is using an internal ranking value for positioning an issue on the board.
I looked for Rest APIs for Jira but could not find a POST method that updates the board UI based on changed priority. So I wonder how and whether I can manipulate programmatically so that the ranking value can be changed from the backend for a given issue (or perhaps Jira ticket) so that the UI gets automatically updated.
Do not mix up "priority" with "rank".
Priority is a field, an attribute of an issue that is set from a fixed list (like: high, medium, low, trivial). A high priority might be a good indicator that something should be high on the to-do list, but it does not determine it, and many issues can have the same priority.
The rank is the position of issues in a list that shows the order in which you are planning to tackle them (which is what you're seeing on the board). It is driven purely by humans saying "this should be higher than that on the list"
You can set Priority with the REST API by directly editing issues.
You can set ranks with the REST API with https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue/#api-agile-1-0-issue-rank-put
Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events