I am looking to get list of transitions and list of fields on each transition thru Jira REST API.
Rest API i am using:
/rest/api/2/issue/{issueIdOrKey}/transitions?expand=transitions.fields
parsing seems to be issue here, as i see under fields element, individual field is defined as customfield_xxxxx instead generic name(like field)
Is there any better API call to get the list of fields and mandatory/required field information?
Hi,
You will have to run another call to: /rest/api/2/field
Search in the response of that call for your field and get it's name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.