I see there is an API available to set rank, but I don't see how to change the rank via Automation. Preferably I'd like to be able to send an issue to the top or the bottom rank so that it shows up at the top or the bottom of my agile board.
While this still doesn't exist in Automation, I much later filed a support ticket about this and they made a good suggestion to use the "Send Web Request" action to just directly do the API call from Automation. See the documentation below. I have not tested this but it looks like it should work.
https://confluence.atlassian.com/jirakb/how-to-extend-automation-for-jira-with-rest-api-calls-1021217952.html
https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue/#api-agile-1-0-issue-rank-put
@BrianW did you figure out how to make this work? It appears to be all relative so unless you know the id of the issue at the bottom of the stack there's no way to do it. There doesn't appear to be a way to do "send to bottom"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In theory, you'd have to do a JQL query ordered by rank, then fish out the key of the one you want using Automation variables, then use that in your API call.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How is this an accepted answer?
The first link is broken and the second one allows you "to rank an issue before or after another issue". So are we supposed to get the lowest ranked issue and then to hook into issue creation and inject this put functionality? This is a frustrating experience to say the least.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think this is the correct url for the broken link: https://confluence.atlassian.com/jirakb/how-to-extend-automation-for-jira-with-rest-api-calls-1155142199.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the link I found today https://support.atlassian.com/automation/kb/how-to-extend-automation-for-jira-with-rest-api-calls/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found this question in a few places so I wanted to update the threads with the information that there is an open feature request [JRACLOUD-77117] Action to rank issues to the top where you can add your vote.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Quite disappointing that 3 years later and this still hasn't been fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brian,
Thanks for the question, developer from Automation for Jira here.
We don't properly support rank actions, but we're already tracking this at https://codebarrel.atlassian.net/browse/AUT-919 (Due to a [bug in Jira Service Desk|https://jira.atlassian.com/browse/JSDSERVER-1367] you might need to open the linked issue in an incognito window to see it)
We've got quite a few higher priority items in our backlog at the moment so it will be a while before we can get to this, but we'll let you know when we get a chance to work on this.
Cheers,
Yvan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to let you know I ran into the same absence of this function.
Shouldn't be so hard to get this working. We probably only need 'move to top' or 'move to bottom'. So the highest rank or the lowest rank.
Thanks for reading this. I doubt my remark will change anything in the priority of this issue after so many years (LOL).
Have a great day,
Richard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.