Forums

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

How to update issue rank when status changes with Jira Automation?

Alejandro Blanco
Contributor
September 28, 2022

Hi. I'm trying to update the rank of issues when they get moved to a new status (column in board). I want to create an automation rule that will rank all new issues in that column to its very bottom.

So far I have been unsuccessful. I've tried to edit the rank custom field with the advance JSON update syntax:

{
"fields": {
"customfield_10019": {
"rankAfterIssueIdOrKey": null,
"rankBeforeIssueIdOrKey": null
}
}
}

And I've also tried using a pivot issue (always at the bottom of the column), putting its ID in the rankAfterIssueIdOrKey property, but that doesn't work either.

How can you edit the issues' rank with Jira automation?

1 answer

1 accepted

1 vote
Answer accepted
Gonchik Tsymzhitov
Community Champion
November 14, 2017

Hi Akshatha! 

I have used this instruction for installation:

https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project/install-the-atlassian-sdk-on-a-windows-system

 

About binaries I have used 6.2.2 to higher exlude 6.3.4.  

https://marketplace.atlassian.com/plugins/atlassian-plugin-sdk-windows/versions

Could you try previous version? 

 

Cheers,

Gonchik Tsymzhitov

Akshatha
November 15, 2017

Hi Gonchik,

I tried with version 6.2.14 and 6.3.4, but still facing same error. Let me try with 6.2.2 version.

Thanks

Akshatha
November 15, 2017

Same error with 6.2.2 version also.

I get the security warning when i double click on executable.  On clicking Run, getting error "Installation file is corrupted. If it is a download please try it later"

Peter Sarapkin
November 30, 2017

We should look at the files sizes.

The latest version (6.3.4) size is 12 Mb, and previous version (6.2.15) is 99 Mb, so, we can make a conclusion that file is not full (may be, there were an error while building installation file).

Is anybody from Atlassian here? Can you fix the file with latest version of the atlassian SDK?

Control Novatronic
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 8, 2017

Just disable antivirus and firewall. The latest version size (6.3.4) is 99,039 KB.

Peter Sarapkin
December 8, 2017

No, there is no need to disable antivirus and firewall. The problem was that the file (version 6.3.4) that has been published here - https://marketplace.atlassian.com/download/plugins/atlassian-plugin-sdk-windows, was really corrupted. Its size was 12 Mb.

It seems that atlassian fixed this, and now, the file size that is downloading from here - https://marketplace.atlassian.com/download/plugins/atlassian-plugin-sdk-windows is 99 039 Kb.

The problem is solved.

Gonchik Tsymzhitov
Community Champion
December 8, 2017

Excellent!

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 9, 2017

To be accurate, you've fixed whatever was wrong with your download process, not "Atlassian changed published file".  I've got a working 6.3.4 download from the day it was published and it's identical to the one I just re-downloaded.

Suggest an answer

Log in or Sign up to answer