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.
I could fix the issue on my own.
It turned out that the user I had used for the API query did not have an agent license.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.