bulk
get-available-transitions
Get available transitions
Use this API to retrieve a list of transitions available for the specified issues that can be used or bulk transition operations. You can submit either single or multiple issues in the query to obtain the available transitions.
The response will provide the available transitions for issues, organized by their respective workflows. Only the transitions that are common among the issues within that workflow and do not involve any additional field updates will be included. For bulk transitions that require additional field updates, please utilise the Jira Cloud UI.
You can request available transitions for up to 1,000 issues in a single operation. This API uses pagination to return responses, delivering 50 workflows at a time.
Permissions required:
- Global bulk change permission.
- Transition issues permission in all projects that contain the selected issues.
- Browse project permission in all projects that contain the selected issues.
- If issue-level security is configured, issue-level security permission to view the issue.
GET /rest/api/3/bulk/issues/transition
| Flag | Type | Required | Description |
|---|---|---|---|
--endingBefore | string | No | (Optional)The end cursor for use in pagination. |
--issueIdsOrKeys | string | No | Comma (,) separated Ids or keys of the issues to get transitions available for them. |
--startingAfter | string | No | (Optional)The start cursor for use in pagination. |
Example:
jr bulk get-available-transitionsget-editable-fields
Get bulk editable fields
Use this API to get a list of fields visible to the user to perform bulk edit operations. You can pass single or multiple issues in the query to get eligible editable fields. This API uses pagination to return responses, delivering 50 fields at a time.
Permissions required:
- Global bulk change permission.
- Browse project permission in all projects that contain the selected issues.
- If issue-level security is configured, issue-level security permission to view the issue.
- Depending on the field, any field-specific permissions required to edit it.
GET /rest/api/3/bulk/issues/fields
| Flag | Type | Required | Description |
|---|---|---|---|
--endingBefore | string | No | (Optional)The end cursor for use in pagination. |
--issueIdsOrKeys | string | No | The IDs or keys of the issues to get editable fields from. |
--searchText | string | No | (Optional)The text to search for in the editable fields. |
--startingAfter | string | No | (Optional)The start cursor for use in pagination. |
Example:
jr bulk get-editable-fieldsget-operation-progress
Get bulk issue operation progress
Use this to get the progress state for the specified bulk operation taskId.
Permissions required:
- Global bulk change permission.
If the task is running, this resource will return:
{"taskId":"10779","status":"RUNNING","progressPercent":65,"submittedBy":{"accountId":"5b10a2844c20165700ede21g"},"created":1690180055963,"started":1690180056206,"updated":169018005829}
If the task has completed, then this resource will return:
{"processedAccessibleIssues":[10001,10002],"created":1709189449954,"progressPercent":100,"started":1709189450154,"status":"COMPLETE","submittedBy":{"accountId":"5b10a2844c20165700ede21g"},"invalidOrInaccessibleIssueCount":0,"taskId":"10000","totalIssueCount":2,"updated":1709189450354}
Note: You can view task progress for up to 14 days from creation.
GET /rest/api/3/bulk/queue/{taskId}
| Flag | Type | Required | Description |
|---|---|---|---|
--taskId | string | Yes | The ID of the task. |
Example:
jr bulk get-operation-progress --taskId <taskId>submit-delete
Bulk delete issues
Use this API to submit a bulk delete request. You can delete up to 1,000 issues in a single operation.
Permissions required:
- Global bulk change permission.
- Delete issues permission in all projects that contain the selected issues.
- Browse project permission in all projects that contain the selected issues.
- If issue-level security is configured, issue-level security permission to view the issue.
POST /rest/api/3/bulk/issues/delete
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
Example:
jr bulk submit-deletesubmit-edit
Bulk edit issues
Use this API to submit a bulk edit request and simultaneously edit multiple issues. There are limits applied to the number of issues and fields that can be edited. A single request can accommodate a maximum of 1000 issues (including subtasks) and 200 fields.
Permissions required:
- Global bulk change permission.
- Browse project permission in all projects that contain the selected issues.
- Edit issues permission in all projects that contain the selected issues.
- If issue-level security is configured, issue-level security permission to view the issue.
POST /rest/api/3/bulk/issues/fields
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
Example:
jr bulk submit-editsubmit-move
Bulk move issues
Use this API to submit a bulk issue move request. You can move multiple issues from multiple projects in a single request, but they must all be moved to a single project, issue type, and parent. You can't move more than 1000 issues (including subtasks) at once.
Scenarios:
This is an early version of the API and it doesn't have full feature parity with the Bulk Move UI experience.
Moving issue of type A to issue of type B in the same project or a different project:
SUPPORTEDMoving multiple issues of type A in one or more projects to multiple issues of type B in one of the source projects or a different project:
SUPPORTEDMoving issues of multiple issue types in one or more projects to issues of a single issue type in one of the source project or a different project:
SUPPORTED
E.g. Moving issues of story and task issue types in project 1 and project 2 to issues of task issue type in project 3Moving a standard parent issue of type A with its multiple subtask issue types in one project to standard issue of type B and multiple subtask issue types in the same project or a different project:
SUPPORTEDMoving standard issues with their subtasks to a parent issue in the same project or a different project without losing their relation:
SUPPORTEDMoving an epic issue with its child issues to a different project without losing their relation:
SUPPORTED
This usecase is supported using multiple requests. Move the epic in one request and then move the children in a separate request with target parent set to the epic issue id(Alternatively, move them individually and stitch the relationship back with the Bulk Edit API)
Limits applied to bulk issue moves:
When using the bulk move, keep in mind that there are limits on the number of issues and fields you can include.
- You can move up to 1,000 issues in a single operation, including any subtasks.
- The total combined number of fields across all issues must not exceed 1,500,000. For example, if each issue includes 15,000 fields, then the maximum number of issues that can be moved is 100.
Permissions required:
- Global bulk change permission.
- Move issues permission in source projects.
- Create issues permission in destination projects.
- Browse project permission in destination projects, if moving subtasks only.
- If issue-level security is configured, issue-level security permission to view the issue.
POST /rest/api/3/bulk/issues/move
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
Example:
jr bulk submit-movesubmit-transition
Bulk transition issue statuses
Use this API to submit a bulk issue status transition request. You can transition multiple issues, alongside with their valid transition Ids. You can transition up to 1,000 issues in a single operation.
Permissions required:
- Global bulk change permission.
- Transition issues permission in all projects that contain the selected issues.
- Browse project permission in all projects that contain the selected issues.
- If issue-level security is configured, issue-level security permission to view the issue.
POST /rest/api/3/bulk/issues/transition
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
Example:
jr bulk submit-transitionsubmit-unwatch
Bulk unwatch issues
Use this API to submit a bulk unwatch request. You can unwatch up to 1,000 issues in a single operation.
Permissions required:
- Global bulk change permission.
- Browse project permission in all projects that contain the selected issues.
- If issue-level security is configured, issue-level security permission to view the issue.
POST /rest/api/3/bulk/issues/unwatch
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
Example:
jr bulk submit-unwatchsubmit-watch
Bulk watch issues
Use this API to submit a bulk watch request. You can watch up to 1,000 issues in a single operation.
Permissions required:
- Global bulk change permission.
- Browse project permission in all projects that contain the selected issues.
- If issue-level security is configured, issue-level security permission to view the issue.
POST /rest/api/3/bulk/issues/watch
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
Example:
jr bulk submit-watch