Forums

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

What is rankCustomFieldId in rank api, I want to appear my ticket on top in kanban board.

Ganesh chandra August 12, 2021

I am using rank api (rest/agile/1.0/issue/rank) and request is :

{ "issues": [ "TIP-330", "10008" ], "rankBeforeIssue": "TIP-327", "rankCustomFieldId": "10973"}

What is rankCustomFieldId in this request and how can i find my rankCustomFieldId from ticket/jira?

 

I am getting this error :
{ "errorMessages": [ "A rank custom field with ID '10,973' could not be found." ], "errors": {}}

1 answer

0 votes
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 Leaders.
August 12, 2021

The rankBeforeIssue function only works for fields that are of type "global rank" (not name or description, but type).

I note that your key for your rank field seems unusual.  On most Cloud systems, it will be a lower number, typically 10020, so 10973 makes me think you've added another field for it.  Is that 10973 of the type rank or something else?

Suggest an answer

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

Atlassian Community Events