Forums

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

How to find ranking fields ID

lila
Contributor
July 18, 2024

Im doing an automation to update the "Effort" field in JDP, however that field doesnt seem to be recognised. According to 

https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/ this seems this might not be supported? 



1 answer

1 vote
Pramodh M
Community Champion
July 18, 2024

Hi @lila 

Here is the document to find the field id in Jira

https://confluence.atlassian.com/jirakb/how-to-find-any-custom-field-s-ids-744522503.html

Thanks,
Pramodh

Bill Sheboy
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.
July 19, 2024

Hi @lila 

Smart values are name, spacing, and case-sensitive, and they may not exactly match the displayed name on the issue pages.  When an incorrect smart value is used, it returns null and so often fails silently in rules.

To find the correct smart value (or its custom field id) please use this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

The essential steps are:

  • identify an example issue with your field
  • using a browser tab, call the REST API endpoint to get the issue data, substituting in your Jira URL and the example issue's key:
yourJiraURL/rest/api/3/issue/exampleIssueKey?expand=names
  • search on the page for your field to find its exact smart value and custom field id
    • if you find it, it is likely supported
    • if not, it is not

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events