Skip to content

Atlassian: Bulk edit issues

Atlassian issueBulkOperations.submitBulkEdit: arguments, response, policy and SDK examples.

← Issue bulk operations operations · Get started

Operation atlassian.submitbulkedit

Provider route: POST /{cloudId}/rest/api/3/bulk/issues/fields. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/atlassian with npm, or alter-sdk-atlassian with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { AtlassianIntegration } from "@alter-ai/atlassian";
async function execute(input: Parameters<AtlassianIntegration["issueBulkOperations"]["submitBulkEdit"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new AtlassianIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.issueBulkOperations.submitBulkEdit(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_atlassian import AtlassianIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = AtlassianIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.issue_bulk_operations.submit_bulk_edit(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.cloudIdstringRequired within parentPattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
bodyModelRequired within parentExpand Bulk edit issues — request body — body

Referenced models: Bulk edit issues — request body — body

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Bulk edit issues — response body

Referenced models: Bulk edit issues — response body

23 more schemas are linked from the tables above, on the schema pages.

Bulk edit issues — request body — body
FieldTypePresenceDescription and constraints
$objectRootIssue Bulk Edit Payload
Additional keys: not allowed
editedFieldsInputModelRequired within parentExpand Bulk edit issues — request body — body edited Fields Input
An object that defines the values to be updated in specified fields of an issue. The structure and content of this parameter vary depending on the type of field being edited. Although the order is not significant, ensure that field IDs align with those in selectedActions.
selectedActionsarrayRequired within parentList of all the field IDs that are to be bulk edited. Each field ID in this list corresponds to a specific attribute of an issue that is set to be modified in the bulk edit operation. The relevant field ID can be obtained by calling the Bulk Edit Get Fields REST API (documentation available on this page itself).
write Only: true
selectedActions[]stringEach itemwrite Only: true
selectedIssueIdsOrKeysarrayRequired within parentList of issue IDs or keys which are to be bulk edited. These IDs or keys can be from different projects and issue types.
write Only: true
selectedIssueIdsOrKeys[]stringEach itemwrite Only: true
sendBulkNotificationJSONOptional
sendBulkNotification (anyOf 1)booleanAlternativeA boolean value that indicates whether to send a bulk change notification when the issues are being edited.

If `true`, dispatches a bulk notification email to users about the updates.
Default: true
write Only: true
sendBulkNotification (anyOf 2)nullAlternative

Referenced models: Bulk edit issues — request body — body edited Fields Input

Bulk edit issues — response body
FieldTypePresenceDescription and constraints
$objectRoot
taskIdJSONOptional
taskId (anyOf 1)stringAlternative
taskId (anyOf 2)nullAlternative
Bulk edit issues — request body — body edited Fields Input cascading Select Fields item
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
childOptionValueModelOptionalExpand Bulk edit issues — request body — body edited Fields Input single Select Fields item option
fieldIdstringRequired within parent
parentOptionValueModelRequired within parentExpand Bulk edit issues — request body — body edited Fields Input single Select Fields item option

Referenced models: Bulk edit issues — request body — body edited Fields Input single Select Fields item option

Bulk edit issues — request body — body edited Fields Input color Fields item
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
colorModelRequired within parentExpand Bulk edit issues — request body — body edited Fields Input color Fields item color
fieldIdstringRequired within parent

Referenced models: Bulk edit issues — request body — body edited Fields Input color Fields item color

Bulk edit issues — request body — body edited Fields Input date Picker Fields item
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
dateModelOptionalExpand Bulk edit issues — request body — body edited Fields Input date Picker Fields item date
fieldIdstringRequired within parent

Referenced models: Bulk edit issues — request body — body edited Fields Input date Picker Fields item date

Bulk edit issues — request body — body edited Fields Input date Time Picker Fields item
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
dateTimeModelRequired within parentExpand Bulk edit issues — request body — body edited Fields Input date Time Picker Fields item date Time
fieldIdstringRequired within parent

Referenced models: Bulk edit issues — request body — body edited Fields Input date Time Picker Fields item date Time

Bulk edit issues — request body — body edited Fields Input original Estimate Field
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
originalEstimateFieldstringRequired within parent
Bulk edit issues — request body — body edited Fields Input issue Type
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
issueTypeIdstringRequired within parent
Bulk edit issues — request body — body edited Fields Input labels Fields item
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
bulkEditMultiSelectFieldOptionstringRequired within parentOne of: ADD, REMOVE, REPLACE, REMOVE_ALL
fieldIdstringRequired within parent
labelPropertiesarrayOptional
labelProperties[]ModelEach itemExpand Bulk edit issues — request body — body edited Fields Input labels Fields item label Properties item
labelsarrayRequired within parent
labels[]ModelEach itemExpand Bulk edit issues — request body — body edited Fields Input color Fields item color

Referenced models: Bulk edit issues — request body — body edited Fields Input color Fields item color, Bulk edit issues — request body — body edited Fields Input labels Fields item label Properties item

Bulk edit issues — request body — body edited Fields Input multiselect Components
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
bulkEditMultiSelectFieldOptionstringRequired within parentOne of: ADD, REMOVE, REPLACE, REMOVE_ALL
componentsarrayRequired within parent
components[]ModelEach itemExpand Bulk edit issues — request body — body edited Fields Input multiselect Components components item
fieldIdstringRequired within parent

Referenced models: Bulk edit issues — request body — body edited Fields Input multiselect Components components item

Bulk edit issues — request body — body edited Fields Input multiple Group Picker Fields item
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
fieldIdstringRequired within parent
groupsarrayRequired within parent
groups[]ModelEach itemExpand Bulk edit issues — request body — body edited Fields Input single Group Picker Fields item group

Referenced models: Bulk edit issues — request body — body edited Fields Input single Group Picker Fields item group

Bulk edit issues — request body — body edited Fields Input multiple Select Fields item
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
fieldIdstringRequired within parent
optionsarrayRequired within parent
options[]ModelEach itemExpand Bulk edit issues — request body — body edited Fields Input single Select Fields item option

Referenced models: Bulk edit issues — request body — body edited Fields Input single Select Fields item option

Bulk edit issues — request body — body edited Fields Input multiple Select Clearable User Picker Fields item
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
fieldIdstringRequired within parent
usersarrayOptional
users[]ModelEach itemExpand Bulk edit issues — request body — body edited Fields Input single Select Clearable User Picker Fields item user

Referenced models: Bulk edit issues — request body — body edited Fields Input single Select Clearable User Picker Fields item user

SDK function policy ID: atlassian.submitbulkedit. Catalog operation: submitbulkedit. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["write:jira-work"]

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.