My goal is really simple. To retrieve all the options of a given Custom Field using python, that's all.
Thanks in advance.
Hi @zeng qing
I use the following API call
/rest/api/2/issue/createmeta?projectKeys=ABC&expand=projects.issuetypes.fields&issuetypeNames=Task
which returns all metadata for the project, you just have to loop through to find the customfield you're interested in
Within the JSON, you will get something like this
it works,thank you. if use python:
metas=jira.createmeta(projectKeys='IRVR',issuetypeIds='11105',expand='projects.issuetypes.fields')
d=metas['projects'][0]['issuetypes'][0]['fields']['customfield_11735']['allowedValues']
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.