Hello,
is it possible that bulk APIs for editing issues do not work on issues imported (from csv) into Jira?
In particular this API (v3) https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations/#api-rest-api-3-bulk-issues-fields-post
with request body
"editedFieldsInput" => [
"labelsFields" => [
[
"bulkEditMultiSelectFieldOption" => "REMOVE",
'fieldId' => "labels",
"labels" => array_map(fn($label) => ['name' => $label], $labels),
],
],
],
"selectedActions" => ["labels"],
"selectedIssueIdsOrKeys" => $issueIds,
'sendBulkNotification' => false,
with $issueIds being ids of issues which were imported (and not created by a person), the api returns the following http response:
code: 403
error: {message: "You do not have the necessary permissions to disable bulk mail notifications for this operation."}
However, when the request body parameter sendBulkNotification is changed to "true", the request works correctly.
Can this be a bug?
No, this isn’t a bug — the 403 error happens because you don’t have permission to disable bulk notifications. It’s not related to the issues being imported from CSV. Are you a site-admin o a jira-admin at least?
You should run the request with a user that has the global permission to disable bulk notifications (admin)
https://jira.atlassian.com/browse/JRACLOUD-10962
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.