how can i get customfield select list as a string list with python or java.
Do you mean the options currently selected on a custom field for a particular issue, or the whole list of possible options for the field for a given project and issuetype?
Yes i mean i want know for particular issue
issue.getCustomFieldValue(customfield) will return an array of the currently selected options, which you can then iterate over to get the list of options. (Sorry, I don't use python, but that's the java api call which will do the job)
cfm = ComponentManager.getInstance().getCustomFieldManager()
cf=cfm.getCustomFieldObjectByName("CustomFieldName")
example=issue.getCustomFieldValue(cf) // returns error.
It looks like you're new here. Sign in or register to get started.