-
Bug
-
Resolution: Unresolved
-
Major
-
None
I'm using the jira-ext plugin for jenkins, and try to update custom fields (in JIRA) of type Label and User Picker (single user) as part of my build. The update fails on the Label update stating:
net.rcarz.jiraclient.JiraException: Field expects an Iterable value
And on the User Picker, error:
net.rcarz.jiraclient.RestException: 400 Bad Request: {"errorMessages":[],"errors":{"customfield_10100":"data was not an object"}}
The configuration I use to update both is attached as a screenshot.
What is the correct format to update such custom fields through this plugin? I tried matching the JIRA REST API documentation but probably didn't get that exactly.
Is the field you are updating a multi-select field? If so I don't think that's supported yet in jira-ext plugin.
There's a way to select it in the svc but this is not exposed in the UI, it will need to be implemented:
https://github.com/jenkinsci/jira-ext-plugin/commit/5169f766c3300a37832f6c3db63d2f4fc1069602