Hello, I need to update a custom field of type single-select, I'm trying to update the same way I update custom field type text or number, sending the value of the option but I get:
request:
PUT `/rest/api/3/issue/${jiraIssueIdOrKey}
body: { fields: { customfield_10030: 'Near Zero' } }
response:
body: {
errorMessages: [],
errors: { 'f5a3859-5e02-40b1-b00e-88527518c71b-label': "Can not construct instance of java.lang.Long from String value 'Near zero': not a valid Long value\n" + ' at [Source: N/A; line: -1, column: -1]' }
},
Does anyone knows how to update a single-select field via the api?