I use scriptrunner to create a multi-select database picker custom field.
Thorught API, I can see the metadata for this filed:
"customfield_14353": {
"required": true,
"schema": {
"type": "any",
"custom": "com.onresolve.jira.groovy.groovyrunner:multiple-database-picker-cf",
"customId": 14353
},
"name": "abc",
"fieldId": "customfield_14353",
"hasDefaultValue": false,
"operations": [
"set"
]
}And I created one issue manually, I can get the issue's field:
"customfield_14353": [
"xyz",
"abcx"],
It looks like a list of string.
But when I use API to create an issue:
"customfield_14353": [
"xyz",
"abcx"]
It complains
{ "errorMessages": [], "errors": { "customfield_14353": "Operation value must be a string" }}