@resolution/jira-api-client 0.7.8 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/openapi/core/CommonHttpClient.d.ts +29 -0
- package/lib/openapi/core/CommonHttpClient.js +29 -1
- package/lib/openapi/core/CommonHttpClient.js.map +1 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +27 -7
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js +45 -1
- package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
- package/lib/openapi/platform/models/appMigration.d.ts +12 -0
- package/lib/openapi/platform/models/appMigration.js.map +1 -1
- package/lib/openapi/platform/models/appProperties.d.ts +4 -2
- package/lib/openapi/platform/models/appProperties.js.map +1 -1
- package/lib/openapi/platform/models/common.d.ts +7 -43
- package/lib/openapi/platform/models/common.js +1 -21
- package/lib/openapi/platform/models/common.js.map +1 -1
- package/lib/openapi/platform/models/dashboards.d.ts +0 -30
- package/lib/openapi/platform/models/dashboards.js +0 -18
- package/lib/openapi/platform/models/dashboards.js.map +1 -1
- package/lib/openapi/platform/models/dynamicModules.d.ts +55 -51
- package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
- package/lib/openapi/platform/models/issueBulkOperations.d.ts +102 -0
- package/lib/openapi/platform/models/issueBulkOperations.js +56 -0
- package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
- package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -4
- package/lib/openapi/platform/models/issueCustomFieldOptions.js.map +1 -1
- package/lib/openapi/platform/models/issueSecurityLevel.d.ts +1 -1
- package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +1 -1
- package/lib/openapi/platform/models/issues.d.ts +124 -10
- package/lib/openapi/platform/models/issues.js +78 -0
- package/lib/openapi/platform/models/issues.js.map +1 -1
- package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -1
- package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
- package/lib/openapi/platform/models/jql.d.ts +8 -0
- package/lib/openapi/platform/models/jql.js.map +1 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +43 -1
- package/lib/openapi/platform/models/jqlFunctionsApps.js +52 -2
- package/lib/openapi/platform/models/jqlFunctionsApps.js.map +1 -1
- package/lib/openapi/platform/models/permissionSchemes.d.ts +3 -4
- package/lib/openapi/platform/models/permissionSchemes.js.map +1 -1
- package/lib/openapi/platform/models/plans.d.ts +268 -0
- package/lib/openapi/platform/models/plans.js +425 -0
- package/lib/openapi/platform/models/plans.js.map +1 -0
- package/lib/openapi/platform/models/projects.d.ts +1 -1
- package/lib/openapi/platform/models/projects.js +1 -0
- package/lib/openapi/platform/models/projects.js.map +1 -1
- package/lib/openapi/platform/models/serviceRegistry.d.ts +2 -0
- package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
- package/lib/openapi/platform/models/teamsInPlan.d.ts +79 -0
- package/lib/openapi/platform/models/teamsInPlan.js +86 -0
- package/lib/openapi/platform/models/teamsInPlan.js.map +1 -0
- package/lib/openapi/platform/models/workflows.d.ts +4 -0
- package/lib/openapi/platform/models/workflows.js +2 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -1
- package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +4 -4
- package/lib/openapi/platform/services/AppMigrationService.d.ts +87 -87
- package/lib/openapi/platform/services/AppMigrationService.js +49 -49
- package/lib/openapi/platform/services/AppPropertiesService.d.ts +17 -17
- package/lib/openapi/platform/services/AppPropertiesService.js +17 -17
- package/lib/openapi/platform/services/ApplicationRolesService.d.ts +2 -0
- package/lib/openapi/platform/services/ApplicationRolesService.js +2 -0
- package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
- package/lib/openapi/platform/services/DashboardsService.d.ts +64 -64
- package/lib/openapi/platform/services/FilterSharingService.d.ts +8 -4
- package/lib/openapi/platform/services/FilterSharingService.js +4 -0
- package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
- package/lib/openapi/platform/services/FiltersService.d.ts +21 -8
- package/lib/openapi/platform/services/FiltersService.js +8 -1
- package/lib/openapi/platform/services/FiltersService.js.map +1 -1
- package/lib/openapi/platform/services/GroupsService.d.ts +2 -2
- package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +2 -0
- package/lib/openapi/platform/services/IssueAttachmentsService.js +2 -0
- package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +293 -78
- package/lib/openapi/platform/services/IssueBulkOperationsService.js +244 -2
- package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueCommentsService.d.ts +42 -42
- package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +29 -29
- package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +59 -59
- package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +59 -59
- package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +37 -37
- package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +25 -25
- package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +47 -47
- package/lib/openapi/platform/services/IssueFieldsService.d.ts +12 -11
- package/lib/openapi/platform/services/IssueFieldsService.js +3 -1
- package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +6 -6
- package/lib/openapi/platform/services/IssueLinksService.d.ts +28 -28
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +2 -0
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +2 -0
- package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +26 -26
- package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +16 -14
- package/lib/openapi/platform/services/IssuePrioritiesService.js +2 -0
- package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
- package/lib/openapi/platform/services/IssuePropertiesService.d.ts +38 -38
- package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +44 -42
- package/lib/openapi/platform/services/IssueRemoteLinksService.js +2 -0
- package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
- package/lib/openapi/platform/services/IssueResolutionsService.d.ts +12 -10
- package/lib/openapi/platform/services/IssueResolutionsService.js +2 -0
- package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
- package/lib/openapi/platform/services/IssueSearchService.d.ts +28 -28
- package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +58 -58
- package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +2 -2
- package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +24 -24
- package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +39 -39
- package/lib/openapi/platform/services/IssueTypesService.d.ts +12 -6
- package/lib/openapi/platform/services/IssueTypesService.js +6 -0
- package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
- package/lib/openapi/platform/services/IssueWatchersService.d.ts +5 -5
- package/lib/openapi/platform/services/IssueWorklogsService.d.ts +59 -57
- package/lib/openapi/platform/services/IssueWorklogsService.js +2 -0
- package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
- package/lib/openapi/platform/services/IssuesService.d.ts +692 -590
- package/lib/openapi/platform/services/IssuesService.js +121 -0
- package/lib/openapi/platform/services/IssuesService.js.map +1 -1
- package/lib/openapi/platform/services/JiraExpressionsService.d.ts +95 -95
- package/lib/openapi/platform/services/JiraSettingsService.d.ts +6 -2
- package/lib/openapi/platform/services/JiraSettingsService.js +4 -0
- package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +125 -28
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js +137 -20
- package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
- package/lib/openapi/platform/services/JqlService.d.ts +36 -36
- package/lib/openapi/platform/services/MyselfService.d.ts +1 -1
- package/lib/openapi/platform/services/PermissionSchemesService.d.ts +32 -35
- package/lib/openapi/platform/services/PermissionSchemesService.js +2 -5
- package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/PermissionsService.d.ts +21 -21
- package/lib/openapi/platform/services/PlansService.d.ts +389 -0
- package/lib/openapi/platform/services/PlansService.js +459 -0
- package/lib/openapi/platform/services/PlansService.js.map +1 -0
- package/lib/openapi/platform/services/PrioritySchemesService.d.ts +83 -83
- package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +6 -4
- package/lib/openapi/platform/services/ProjectCategoriesService.js +2 -0
- package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectComponentsService.d.ts +13 -11
- package/lib/openapi/platform/services/ProjectComponentsService.js +2 -0
- package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectEmailService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +1 -1
- package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +2 -2
- package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +14 -14
- package/lib/openapi/platform/services/ProjectRolesService.d.ts +10 -6
- package/lib/openapi/platform/services/ProjectRolesService.js +4 -0
- package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectTypesService.d.ts +4 -0
- package/lib/openapi/platform/services/ProjectTypesService.js +4 -0
- package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectVersionsService.d.ts +29 -25
- package/lib/openapi/platform/services/ProjectVersionsService.js +5 -1
- package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
- package/lib/openapi/platform/services/ProjectsService.d.ts +30 -24
- package/lib/openapi/platform/services/ProjectsService.js +6 -0
- package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
- package/lib/openapi/platform/services/ScreenSchemesService.d.ts +12 -12
- package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +1 -1
- package/lib/openapi/platform/services/ScreenTabsService.d.ts +1 -1
- package/lib/openapi/platform/services/ScreensService.d.ts +4 -4
- package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -0
- package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
- package/lib/openapi/platform/services/StatusService.d.ts +24 -20
- package/lib/openapi/platform/services/StatusService.js +4 -0
- package/lib/openapi/platform/services/StatusService.js.map +1 -1
- package/lib/openapi/platform/services/TeamsInPlanService.d.ts +294 -0
- package/lib/openapi/platform/services/TeamsInPlanService.js +452 -0
- package/lib/openapi/platform/services/TeamsInPlanService.js.map +1 -0
- package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -5
- package/lib/openapi/platform/services/TimeTrackingService.js +2 -0
- package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
- package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +44 -44
- package/lib/openapi/platform/services/UserSearchService.d.ts +19 -8
- package/lib/openapi/platform/services/UserSearchService.js +15 -5
- package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
- package/lib/openapi/platform/services/UsersService.d.ts +7 -1
- package/lib/openapi/platform/services/UsersService.js +6 -0
- package/lib/openapi/platform/services/UsersService.js.map +1 -1
- package/lib/openapi/platform/services/WebhooksService.d.ts +39 -39
- package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +39 -39
- package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +2 -2
- package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +102 -100
- package/lib/openapi/platform/services/WorkflowSchemesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +2 -0
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +2 -0
- package/lib/openapi/platform/services/WorkflowStatusesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +4 -2
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +2 -0
- package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
- package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +48 -48
- package/lib/openapi/platform/services/WorkflowsService.d.ts +591 -589
- package/lib/openapi/platform/services/WorkflowsService.js +2 -0
- package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +1 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -1
- package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
- package/lib/openapi/serviceManagement/models/organization.d.ts +5 -0
- package/lib/openapi/serviceManagement/models/organization.js +1 -0
- package/lib/openapi/serviceManagement/models/organization.js.map +1 -1
- package/lib/openapi/serviceManagement/services/CustomerService.d.ts +2 -2
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -7
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +3 -1
- package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +39 -33
- package/lib/openapi/serviceManagement/services/OrganizationService.js +24 -18
- package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
- package/lib/openapi/serviceManagement/services/RequestService.d.ts +68 -68
- package/lib/openapi/serviceManagement/services/RequestService.js +3 -3
- package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +39 -32
- package/lib/openapi/serviceManagement/services/ServicedeskService.js +4 -2
- package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -0
- package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
- package/lib/openapi/software/models/board.d.ts +2 -3
- package/lib/openapi/software/models/board.js.map +1 -1
- package/lib/openapi/software/models/builds.d.ts +40 -2
- package/lib/openapi/software/models/builds.js.map +1 -1
- package/lib/openapi/software/models/common.d.ts +8 -2
- package/lib/openapi/software/models/common.js.map +1 -1
- package/lib/openapi/software/models/deployments.d.ts +36 -2
- package/lib/openapi/software/models/deployments.js.map +1 -1
- package/lib/openapi/software/models/devOpsComponents.d.ts +10 -4
- package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
- package/lib/openapi/software/models/developmentInformation.d.ts +106 -0
- package/lib/openapi/software/models/developmentInformation.js.map +1 -1
- package/lib/openapi/software/models/featureFlags.d.ts +20 -4
- package/lib/openapi/software/models/featureFlags.js.map +1 -1
- package/lib/openapi/software/models/operations.d.ts +76 -16
- package/lib/openapi/software/models/operations.js.map +1 -1
- package/lib/openapi/software/models/remoteLinks.d.ts +49 -13
- package/lib/openapi/software/models/remoteLinks.js.map +1 -1
- package/lib/openapi/software/models/securityInformation.d.ts +60 -8
- package/lib/openapi/software/models/securityInformation.js.map +1 -1
- package/lib/openapi/software/services/BacklogService.d.ts +12 -12
- package/lib/openapi/software/services/BoardService.d.ts +14 -14
- package/lib/openapi/software/services/EpicService.d.ts +18 -18
- package/lib/openapi/software/services/IssueService.d.ts +8 -8
- package/lib/openapi/software/services/OperationsService.d.ts +8 -4
- package/lib/openapi/software/services/OperationsService.js.map +1 -1
- package/lib/openapi/software/services/RemoteLinksService.d.ts +4 -2
- package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
- package/lib/openapi/software/services/SprintService.d.ts +20 -20
- package/package.json +5 -4
- package/CHANGELOG.md +0 -430
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommonHttpService } from "../../core/CommonHttpService";
|
|
2
|
-
import { type BulkEditGetFields, type BulkOperationProgress, type IssueBulkEditPayload, type IssueBulkMovePayload, type SubmittedBulkOperation } from "../models/issueBulkOperations";
|
|
2
|
+
import { type BulkEditGetFields, type BulkOperationProgress, type BulkTransitionGetAvailableTransitions, type IssueBulkDeletePayload, type IssueBulkEditPayload, type IssueBulkMovePayload, type IssueBulkTransitionPayload, type SubmittedBulkOperation } from "../models/issueBulkOperations";
|
|
3
3
|
/**
|
|
4
4
|
* This resource represents the issue bulk operations. Use it to move multiple
|
|
5
5
|
* issues from one project to another project or edit fields of multiple issues in
|
|
@@ -29,6 +29,117 @@ import { type BulkEditGetFields, type BulkOperationProgress, type IssueBulkEditP
|
|
|
29
29
|
* @category Services
|
|
30
30
|
*/
|
|
31
31
|
export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
32
|
+
/**
|
|
33
|
+
* Use this API to retrieve a list of transitions available for the specified
|
|
34
|
+
* issues that can be used or bulk transition operations. You can submit either
|
|
35
|
+
* single or multiple issues in the query to obtain the available transitions.
|
|
36
|
+
*
|
|
37
|
+
* The response will provide the available transitions for issues, organized by
|
|
38
|
+
* their respective workflows. **Only the transitions that are common among the
|
|
39
|
+
* issues within that workflow and do not involve any additional field updates
|
|
40
|
+
* will be included.** For bulk transitions that require additional field updates,
|
|
41
|
+
* please utilise the Jira Cloud UI.
|
|
42
|
+
*
|
|
43
|
+
* You can request available transitions for up to 1,000 issues in a single
|
|
44
|
+
* operation. This API uses pagination to return responses, delivering 50
|
|
45
|
+
* workflows at a time.
|
|
46
|
+
*
|
|
47
|
+
* **[Permissions](#permissions) required:**
|
|
48
|
+
*
|
|
49
|
+
* * Global bulk change
|
|
50
|
+
* [permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).
|
|
51
|
+
* * Transition [issues
|
|
52
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/permissions-for-company-managed-projects/#Transition-issues/)
|
|
53
|
+
* in all projects that contain the selected issues.
|
|
54
|
+
* * Browse [project
|
|
55
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-project-permissions/)
|
|
56
|
+
* in all projects that contain the selected issues.
|
|
57
|
+
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
58
|
+
* configured, issue-level security permission to view the issue.
|
|
59
|
+
*
|
|
60
|
+
* @returns Returned if the request is successful.
|
|
61
|
+
*
|
|
62
|
+
* example:
|
|
63
|
+
* ```
|
|
64
|
+
* {
|
|
65
|
+
* "availableTransitions": [
|
|
66
|
+
* {
|
|
67
|
+
* "isTransitionsFiltered": false,
|
|
68
|
+
* "issues": [
|
|
69
|
+
* "EPIC-1",
|
|
70
|
+
* "TASK-1"
|
|
71
|
+
* ],
|
|
72
|
+
* "transitions": [
|
|
73
|
+
* {
|
|
74
|
+
* "to": {
|
|
75
|
+
* "statusId": 10001,
|
|
76
|
+
* "statusName": "To Do"
|
|
77
|
+
* },
|
|
78
|
+
* "transitionId": 11,
|
|
79
|
+
* "transitionName": "To Do"
|
|
80
|
+
* },
|
|
81
|
+
* {
|
|
82
|
+
* "to": {
|
|
83
|
+
* "statusId": 10002,
|
|
84
|
+
* "statusName": "In Progress"
|
|
85
|
+
* },
|
|
86
|
+
* "transitionId": 21,
|
|
87
|
+
* "transitionName": "In Progress"
|
|
88
|
+
* },
|
|
89
|
+
* {
|
|
90
|
+
* "to": {
|
|
91
|
+
* "statusId": 10003,
|
|
92
|
+
* "statusName": "Done"
|
|
93
|
+
* },
|
|
94
|
+
* "transitionId": 31,
|
|
95
|
+
* "transitionName": "Done"
|
|
96
|
+
* }
|
|
97
|
+
* ]
|
|
98
|
+
* },
|
|
99
|
+
* {
|
|
100
|
+
* "isTransitionsFiltered": true,
|
|
101
|
+
* "issues": [
|
|
102
|
+
* "BUG-1"
|
|
103
|
+
* ],
|
|
104
|
+
* "transitions": [
|
|
105
|
+
* {
|
|
106
|
+
* "to": {
|
|
107
|
+
* "statusId": 10004,
|
|
108
|
+
* "statusName": "To Do bug"
|
|
109
|
+
* },
|
|
110
|
+
* "transitionId": 41,
|
|
111
|
+
* "transitionName": "To Do bug"
|
|
112
|
+
* },
|
|
113
|
+
* {
|
|
114
|
+
* "to": {
|
|
115
|
+
* "statusId": 10005,
|
|
116
|
+
* "statusName": "Triage"
|
|
117
|
+
* },
|
|
118
|
+
* "transitionId": 51,
|
|
119
|
+
* "transitionName": "Triage"
|
|
120
|
+
* }
|
|
121
|
+
* ]
|
|
122
|
+
* }
|
|
123
|
+
* ]
|
|
124
|
+
* }
|
|
125
|
+
* ```
|
|
126
|
+
* @path GET `/rest/api/3/bulk/issues/transition`
|
|
127
|
+
* @scopes-current read:jira-work
|
|
128
|
+
* @scopes-beta read:issue:jira
|
|
129
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-transition-get
|
|
130
|
+
* @param params
|
|
131
|
+
*/
|
|
132
|
+
getAvailableTransitions: ({ issueIdsOrKeys, endingBefore, startingAfter, }: {
|
|
133
|
+
/**
|
|
134
|
+
* Comma (,) separated Ids or keys of the issues to get transitions available for
|
|
135
|
+
* them.
|
|
136
|
+
*/
|
|
137
|
+
issueIdsOrKeys: string;
|
|
138
|
+
/** (Optional)The end cursor for use in pagination. */
|
|
139
|
+
endingBefore?: string | undefined;
|
|
140
|
+
/** (Optional)The start cursor for use in pagination. */
|
|
141
|
+
startingAfter?: string | undefined;
|
|
142
|
+
}) => Promise<BulkTransitionGetAvailableTransitions>;
|
|
32
143
|
/**
|
|
33
144
|
* Use this API to get a list of fields visible to the user to perform bulk edit
|
|
34
145
|
* operations. You can pass single or multiple issues in the query to get eligible
|
|
@@ -169,6 +280,52 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
169
280
|
/** The ID of the task. */
|
|
170
281
|
taskId: string;
|
|
171
282
|
}) => Promise<BulkOperationProgress>;
|
|
283
|
+
/**
|
|
284
|
+
* Use this API to submit a bulk delete request. You can delete up to 1,000 issues
|
|
285
|
+
* in a single operation.
|
|
286
|
+
*
|
|
287
|
+
* **[Permissions](#permissions) required:**
|
|
288
|
+
*
|
|
289
|
+
* * Global bulk change
|
|
290
|
+
* [permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).
|
|
291
|
+
* * Delete [issues
|
|
292
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/permissions-for-company-managed-projects/#Delete-issues/)
|
|
293
|
+
* in all projects that contain the selected issues.
|
|
294
|
+
* * Browse [project
|
|
295
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-project-permissions/)
|
|
296
|
+
* in all projects that contain the selected issues.
|
|
297
|
+
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
298
|
+
* configured, issue-level security permission to view the issue.
|
|
299
|
+
*
|
|
300
|
+
* @returns Returned if the request is successful.
|
|
301
|
+
*
|
|
302
|
+
* example:
|
|
303
|
+
* ```
|
|
304
|
+
* {
|
|
305
|
+
* "taskId": "10641"
|
|
306
|
+
* }
|
|
307
|
+
* ```
|
|
308
|
+
* @path POST `/rest/api/3/bulk/issues/delete`
|
|
309
|
+
* @scopes-current write:jira-work
|
|
310
|
+
* @scopes-beta write:issue:jira, read:issue:jira
|
|
311
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-delete-post
|
|
312
|
+
* @param params
|
|
313
|
+
*/
|
|
314
|
+
submitBulkDelete: ({ issueBulkDeletePayload, }: {
|
|
315
|
+
/**
|
|
316
|
+
* The request body containing the issues to be deleted.
|
|
317
|
+
*
|
|
318
|
+
* @example
|
|
319
|
+
* {
|
|
320
|
+
* "selectedIssueIdsOrKeys": [
|
|
321
|
+
* "10001",
|
|
322
|
+
* "10002"
|
|
323
|
+
* ],
|
|
324
|
+
* "sendBulkNotification": false
|
|
325
|
+
* }
|
|
326
|
+
*/
|
|
327
|
+
issueBulkDeletePayload: IssueBulkDeletePayload;
|
|
328
|
+
}) => Promise<SubmittedBulkOperation>;
|
|
172
329
|
/**
|
|
173
330
|
* Use this API to submit a bulk edit request and simultaneously edit multiple
|
|
174
331
|
* issues. There are limits applied to the number of issues and fields that can be
|
|
@@ -275,89 +432,147 @@ export declare class IssueBulkOperationsService extends CommonHttpService {
|
|
|
275
432
|
/**
|
|
276
433
|
* @example
|
|
277
434
|
* {
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
304
|
-
*
|
|
305
|
-
*
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
*
|
|
309
|
-
*
|
|
310
|
-
*
|
|
311
|
-
*
|
|
312
|
-
*
|
|
313
|
-
*
|
|
314
|
-
*
|
|
315
|
-
*
|
|
316
|
-
*
|
|
317
|
-
*
|
|
318
|
-
*
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
*
|
|
330
|
-
*
|
|
331
|
-
*
|
|
332
|
-
*
|
|
333
|
-
*
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
*
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
350
|
-
*
|
|
351
|
-
*
|
|
352
|
-
* ]
|
|
353
|
-
* }
|
|
354
|
-
* }
|
|
435
|
+
* "sendBulkNotification": true,
|
|
436
|
+
* "targetToSourcesMapping": {
|
|
437
|
+
* "PROJECT-KEY,10001": {
|
|
438
|
+
* "inferClassificationDefaults": false,
|
|
439
|
+
* "inferFieldDefaults": false,
|
|
440
|
+
* "inferStatusDefaults": false,
|
|
441
|
+
* "inferSubtaskTypeDefault": true,
|
|
442
|
+
* "issueIdsOrKeys": [
|
|
443
|
+
* "ISSUE-1"
|
|
444
|
+
* ],
|
|
445
|
+
* "targetClassification": [
|
|
446
|
+
* {
|
|
447
|
+
* "classifications": {
|
|
448
|
+
* "5bfa70f7-4af1-44f5-9e12-1ce185f15a38": [
|
|
449
|
+
* "bd58e74c-c31b-41a7-ba69-9673ebd9dae9",
|
|
450
|
+
* "-1"
|
|
451
|
+
* ]
|
|
452
|
+
* }
|
|
453
|
+
* }
|
|
454
|
+
* ],
|
|
455
|
+
* "targetMandatoryFields": [
|
|
456
|
+
* {
|
|
457
|
+
* "fields": {
|
|
458
|
+
* "customfield_10000": {
|
|
459
|
+
* "retain": false,
|
|
460
|
+
* "type": "raw",
|
|
461
|
+
* "value": [
|
|
462
|
+
* "value-1",
|
|
463
|
+
* "value-2"
|
|
464
|
+
* ]
|
|
465
|
+
* },
|
|
466
|
+
* "description": {
|
|
467
|
+
* "retain": true,
|
|
468
|
+
* "type": "adf",
|
|
469
|
+
* "value": {
|
|
470
|
+
* "content": [
|
|
471
|
+
* {
|
|
472
|
+
* "content": [
|
|
473
|
+
* {
|
|
474
|
+
* "text": "New description value",
|
|
475
|
+
* "type": "text"
|
|
476
|
+
* }
|
|
477
|
+
* ],
|
|
478
|
+
* "type": "paragraph"
|
|
479
|
+
* }
|
|
480
|
+
* ],
|
|
481
|
+
* "type": "doc",
|
|
482
|
+
* "version": 1
|
|
483
|
+
* }
|
|
484
|
+
* },
|
|
485
|
+
* "fixVersions": {
|
|
486
|
+
* "retain": false,
|
|
487
|
+
* "type": "raw",
|
|
488
|
+
* "value": [
|
|
489
|
+
* "10009"
|
|
490
|
+
* ]
|
|
491
|
+
* },
|
|
492
|
+
* "labels": {
|
|
493
|
+
* "retain": false,
|
|
494
|
+
* "type": "raw",
|
|
495
|
+
* "value": [
|
|
496
|
+
* "label-1",
|
|
497
|
+
* "label-2"
|
|
498
|
+
* ]
|
|
499
|
+
* }
|
|
500
|
+
* }
|
|
501
|
+
* }
|
|
502
|
+
* ],
|
|
503
|
+
* "targetStatus": [
|
|
504
|
+
* {
|
|
505
|
+
* "statuses": {
|
|
506
|
+
* "10001": [
|
|
507
|
+
* "10002",
|
|
508
|
+
* "10003"
|
|
355
509
|
* ]
|
|
510
|
+
* }
|
|
356
511
|
* }
|
|
512
|
+
* ]
|
|
357
513
|
* }
|
|
514
|
+
* }
|
|
358
515
|
* }
|
|
359
516
|
*/
|
|
360
517
|
issueBulkMovePayload: IssueBulkMovePayload;
|
|
361
518
|
}) => Promise<SubmittedBulkOperation>;
|
|
519
|
+
/**
|
|
520
|
+
* Use this API to submit a bulk issue status transition request. You can
|
|
521
|
+
* transition multiple issues, alongside with their valid transition Ids. You can
|
|
522
|
+
* transition up to 1,000 issues in a single operation.
|
|
523
|
+
*
|
|
524
|
+
* **[Permissions](#permissions) required:**
|
|
525
|
+
*
|
|
526
|
+
* * Global bulk change
|
|
527
|
+
* [permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).
|
|
528
|
+
* * Transition [issues
|
|
529
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/permissions-for-company-managed-projects/#Transition-issues/)
|
|
530
|
+
* in all projects that contain the selected issues.
|
|
531
|
+
* * Browse [project
|
|
532
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-project-permissions/)
|
|
533
|
+
* in all projects that contain the selected issues.
|
|
534
|
+
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
535
|
+
* configured, issue-level security permission to view the issue.
|
|
536
|
+
*
|
|
537
|
+
* @returns Returned if the request is successful.
|
|
538
|
+
*
|
|
539
|
+
* example:
|
|
540
|
+
* ```
|
|
541
|
+
* {
|
|
542
|
+
* "taskId": "10641"
|
|
543
|
+
* }
|
|
544
|
+
* ```
|
|
545
|
+
* @path POST `/rest/api/3/bulk/issues/transition`
|
|
546
|
+
* @scopes-current write:jira-work
|
|
547
|
+
* @scopes-beta write:issue:jira, read:issue:jira
|
|
548
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-transition-post
|
|
549
|
+
* @param params
|
|
550
|
+
*/
|
|
551
|
+
submitBulkTransition: ({ issueBulkTransitionPayload, }: {
|
|
552
|
+
/**
|
|
553
|
+
* The request body containing the issues to be transitioned.
|
|
554
|
+
*
|
|
555
|
+
* @example
|
|
556
|
+
* {
|
|
557
|
+
* "bulkTransitionInputs": [
|
|
558
|
+
* {
|
|
559
|
+
* "selectedIssueIdsOrKeys": [
|
|
560
|
+
* "10001",
|
|
561
|
+
* "10002"
|
|
562
|
+
* ],
|
|
563
|
+
* "transitionId": "11"
|
|
564
|
+
* },
|
|
565
|
+
* {
|
|
566
|
+
* "selectedIssueIdsOrKeys": [
|
|
567
|
+
* "TEST-1"
|
|
568
|
+
* ],
|
|
569
|
+
* "transitionId": "2"
|
|
570
|
+
* }
|
|
571
|
+
* ],
|
|
572
|
+
* "sendBulkNotification": false
|
|
573
|
+
* }
|
|
574
|
+
*/
|
|
575
|
+
issueBulkTransitionPayload: IssueBulkTransitionPayload;
|
|
576
|
+
}) => Promise<SubmittedBulkOperation>;
|
|
362
577
|
protected static initialize(): void;
|
|
363
578
|
}
|