I am trying to load an issue through Rest API like
"https://myjirademand.atlassian.net/rest/api/2/issue/10001" where I am getting the custom fields as "customfield_10001", "customfield_10002" etc. How can I get the field name which is entered for that particular field and also other details like input type?
Community moderators have prevented the ability to post new answers.
Just use expand=names query param - then you'll get names field in your reply that gives you maping from field keys into display names.
https://myjirademand.atlassian.net/rest/api/2/issue/10001?expand=names
If you need more details then there are other useful expand values:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Karthik, how you doing?
I am not quite sure that you can get this inside the same call, I would need to confirm.
This gets tricky when you also wants the input type for the specific issue. For sure you are aware
about the: http://example.com:8080/jira/rest/api/2/customFieldOption/{id} resource but this is not what you are aiming for, right?
I need to double check this and get back to you. =)
Cheers,
Pedro
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.