Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,459,002
Community Members
 
Community Events
176
Community Groups

With the Automation plugin, is there a way to set the rank of an issue?

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.

5 answers

1 accepted

2 votes
Answer accepted

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"

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.

Like Alejandro Blanco likes this

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.

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.

Quite disappointing that 3 years later and this still hasn't been fixed. 

0 votes

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

Ok, thanks.

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

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events