I have customField created in Jira. I wish to query its allowed values.
Which REST API function should I use and how to do so? (I tried to several functions but I was confused with the url path I need to set to query customField value)
Hi
Thank you for your reply.
I used curl -u @ -H “Content-Type: application/json” https:///rest/api/2/issue/createmeta but could retrieve json response with a lot of data but no customfield_.
I don’t have any specific issue for query, I have some script running with using some data inside our jira and I want to query the values from specific customfield created in jira to set some list in my script.
I can create some dummy issue with all the allowed options (this is multi value option) but I am sure there is an elegant way to do it not to do this workaround.
Please advice,
Thank you
Thank you! it worked getting all fields with /rest/api/2/issue/createmeta?expand=projects.issuetypes.fields. Can I add some path to that url to query the specific entry in json response I received for all fields. Meaning specifying the key and the index entry.
e.g. GET /rest/api/2/issue/createmeta?expand=projects.issuetypes.fields?key=CUST…
Tried that but it did not work. Also where can I find some information about building this url path (meaning the syntax).