Skip to content

Atlassian: Bulk edit dashboards

Atlassian dashboards.bulkEditDashboards: arguments, response, policy and SDK examples.

← Dashboards operations · Get started

Operation atlassian.bulkeditdashboards

Provider route: PUT /{cloudId}/rest/api/3/dashboard/bulk/edit. 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["dashboards"]["bulkEditDashboards"]>[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.dashboards.bulkEditDashboards(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.dashboards.bulk_edit_dashboards(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 dashboards — request body — body

Referenced models: Bulk edit dashboards — 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 dashboards — response body

Referenced models: Bulk edit dashboards — response body

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

Bulk edit dashboards — request body — body
FieldTypePresenceDescription and constraints
$objectRootDetails of a request to bulk edit shareable entity.
Additional keys: not allowed
actionstringRequired within parentAllowed action for bulk edit shareable entity
One of: changeOwner, changePermission, addPermission, removePermission
changeOwnerDetailsModelOptionalExpand Bulk edit dashboards — request body — body change Owner Details
The details of change owner action.
entityIdsarrayRequired within parentThe id list of shareable entities to be changed.
Unique items: true
entityIds[]integerEach itemFormat: int64
extendAdminPermissionsbooleanOptionalWhether the actions are executed by users with Administer Jira global permission.
permissionDetailsModelOptionalExpand Bulk edit dashboards — request body — body permission Details
The permission details to be changed.

Referenced models: Bulk edit dashboards — request body — body change Owner Details, Bulk edit dashboards — request body — body permission Details

Bulk edit dashboards — response body
FieldTypePresenceDescription and constraints
$objectRootDetails of a request to bulk edit shareable entity.
actionJSONOptional
action (anyOf 1)stringAlternativeAllowed action for bulk edit shareable entity
Known values: changeOwner, changePermission, addPermission, removePermission
action (anyOf 2)nullAlternative
entityErrorsJSONOptional
entityErrors (anyOf 1)objectAlternativeThe mapping dashboard id to errors if any.
Additional keys: see wildcard field
entityErrors (anyOf 1).*ModelAdditional keysExpand Bulk edit dashboards — response body — entity Errors The mapping dashboard id to errors if any value
entityErrors (anyOf 2)nullAlternative

Referenced models: Bulk edit dashboards — response body — entity Errors The mapping dashboard id to errors if any value

Bulk edit dashboards — request body — body change Owner Details
FieldTypePresenceDescription and constraints
$objectRootDetails for changing owners of shareable entities
Additional keys: not allowed
autofixNamebooleanRequired within parentWhether the name is fixed automatically if it's duplicated after changing owner.
newOwnerstringRequired within parentThe account id of the new owner.
Bulk edit dashboards — request body — body permission Details
FieldTypePresenceDescription and constraints
$objectRootDetails for permissions of shareable entities
Additional keys: not allowed
editPermissionsarrayRequired within parentThe edit permissions for the shareable entities.
editPermissions[]ModelEach itemExpand Create filter — request body — body edit Permissions item
sharePermissionsarrayRequired within parentThe share permissions for the shareable entities.
sharePermissions[]ModelEach itemExpand Create filter — request body — body edit Permissions item

Referenced models: Create filter — request body — body edit Permissions item

Bulk edit dashboards — response body — entity Errors The mapping dashboard id to errors if any value
FieldTypePresenceDescription and constraints
$objectRootErrors of bulk edit action.
errorMessagesJSONOptional
errorMessages (anyOf 1)arrayAlternativeThe error messages.
errorMessages (anyOf 1)[]stringEach item
errorMessages (anyOf 2)nullAlternative
errorsJSONOptional
errors (anyOf 1)objectAlternativeThe errors.
Additional keys: see wildcard field
errors (anyOf 1).*stringAdditional keys
errors (anyOf 2)nullAlternative
Create filter — request body — body edit Permissions item
FieldTypePresenceDescription and constraints
$objectRootDetails of a share permission for the filter.
Additional keys: not allowed
groupModelOptionalExpand Send notification for issue — request body — body to groups item
The group that the filter is shared with. For a request, specify the `groupId` or `name` property for the group. As a group's name can change, use of `groupId` is recommended.
idintegerOptionalThe unique identifier of the share permission.
Format: int64
Read only: true
projectModelOptionalExpand Create filter — request body — body edit Permissions item project
The project that the filter is shared with. This is similar to the project object returned by [Get project](#api-rest-api-3-project-projectIdOrKey-get) but it contains a subset of the properties, which are: `self`, `id`, `key`, `assigneeType`, `name`, `roles`, `avatarUrls`, `projectType`, `simplified`.
For a request, specify the `id` for the project.
roleModelOptionalExpand Create filter — request body — body edit Permissions item role
The project role that the filter is shared with.
For a request, specify the `id` for the role. You must also specify the `project` object and `id` for the project that the role is in.
typestringRequired within parentThe type of share permission:

* `user` Shared with a user.
* `group` Shared with a group. If set in a request, then specify `sharePermission.group` as well.
* `project` Shared with a project. If set in a request, then specify `sharePermission.project` as well.
* `projectRole` Share with a project role in a project. This value is not returned in responses. It is used in requests, where it needs to be specify with `projectId` and `projectRoleId`.
* `global` Shared globally. If set in a request, no other `sharePermission` properties need to be specified.
* `loggedin` Shared with all logged-in users. Note: This value is set in a request by specifying `authenticated` as the `type`.
* `project-unknown` Shared with a project that the user does not have access to. Cannot be set in a request.
One of: user, group, project, projectRole, global, loggedin, authenticated, project-unknown
userModelOptionalExpand Create filter — request body — body edit Permissions item user
The user account ID that the filter is shared with. For a request, specify the `accountId` property for the user.

Referenced models: Send notification for issue — request body — body to groups item, Create filter — request body — body edit Permissions item project, Create filter — request body — body edit Permissions item role, Create filter — request body — body edit Permissions item user

Send notification for issue — request body — body to groups item
FieldTypePresenceDescription and constraints
$objectRootDetails about a group.
Additional keys: not allowed
groupIdJSONOptional
groupId (anyOf 1)stringAlternativeThe ID of the group, which uniquely identifies the group across all Atlassian products. For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.
groupId (anyOf 2)nullAlternative
namestringOptionalThe name of group.
selfstringOptionalThe URL for these group details.
Format: uri
Read only: true
Create filter — request body — body edit Permissions item user
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
accountIdstringOptionalThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
Maximum length: 128
activebooleanOptionalWhether the user is active.
avatarUrlsModelOptionalExpand Create filter — request body — body edit Permissions item user avatar Urls
The avatars of the user.
displayNamestringOptionalThe display name of the user. Depending on the user’s privacy setting, this may return an alternative value.
keystringOptionalThis property is deprecated in favor of `accountId` because of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
The key of the user.
namestringOptionalThis property is deprecated in favor of `accountId` because of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
The username of the user.
selfstringOptionalThe URL of the user.
Format: uri

Referenced models: Create filter — request body — body edit Permissions item user avatar Urls

Assign issue — request body — body groups callback
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed

SDK function policy ID: atlassian.bulkeditdashboards. Catalog operation: bulkeditdashboards. 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.