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 } }, ... ]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
...and how?
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.