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.
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.