Hello Guys,
Is there a REST API getting as parameter the custom field ID (e.g. customfield_1000) and returning its label?
thanks,
Rosy
You can get info for all fields by calling /rest/api/2/field and then find your specific field by iterating and matching the id property. The method returns array of objects that correspond to fields and the property you are looking is "name":
[ { "id": "customfield_11911", "key": "customfield_11911", "name": "Your Name", "custom": true, "orderable": true, "navigable": true, "searchable": true, "clauseNames": [ "cf[11911]", "Your Name" ], "schema": { "type": "string", "custom": "com.atlassian.jira.plugin.system.customfieldtypes:textfield", "customId": 11911 } }, ... ]
Thanks a lot @Volodymyr Krupach
Welcome
...and how?
It looks like you're new here. Sign in or register to get started.