Hello,
I am currently trying to set a single-select custom field for several tickets via the bulk-edit API of REST API version 3.
I have looked at the following documentation as a basis.
The Jira Cloud platform REST API (atlassian.com)
The custom field is found with the REST query for "Get bulk editable fields" and can therefore be edited.
My payload for this looks like this: (selectedIssueIdsOrKeys is filled with two Keys for testing)
{ "selectedIssueIdsOrKeys": [ "SDGIT-116920", "SDGIT-116913" ], "sendBulkNotification": false, "editedFieldsInput": { "singleSelectFields": [ { "option": { "optionId": 11297 }, "fieldId": "customfield_10154" } ] }, "selectedActions": [ "customfield_10154" ] }
When I send the corresponding POST, I keep getting this error:
"You are trying to perform an unavailable operation for the selected 2 issues."
If I make a bulk edit manually via the UI, it works without any problems.
Authorizations are therefore available in my opinion.
The customfield is visible on all screens in the project.
Is there anything I am doing wrong?
I could not find anything about the error message from above.