I want to update the rank field value as number instead of alphanumeric pattern.Is it possible to update the filed.If possible how to proceed
1. Use "/rest/api/2/field" this end point and search word rank. Here it will give description of each and every custom field (Ex: customfield_10114)
2. Use "/rest/agile/1.0/issue/" end point to search the field from Step 1 (Ex: customfield_10114). So the value to this field would be the rank.
Hi Pinky,
We cannot change the Value of Rank to a numeric value Via API. The rank of the issue can only be moved before or after a certain issue.
Please try the below query and let me know the results:
PUT /rest/agile/1.0/issue/rank
Data to be passed :
header : 'Content-Type: application/json' Body example :
{
"issues": [ "PR-1", "10001", "PR-3" ], "rankBeforeIssue": "PR-4", "rankCustomFieldId": 10521
}
Moves (ranks) issues before or after a given issue. At most 50 issues may be ranked at once.
Please follow the article api-rest-agile for more details.
Best regards,
Shwetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Shwetha Suvarna 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." ],
please help me to resolve this.
Thanks in advance.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.