@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
|
@@ -40,6 +40,126 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
|
|
|
40
40
|
class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
41
41
|
constructor() {
|
|
42
42
|
super(...arguments);
|
|
43
|
+
/**
|
|
44
|
+
* Use this API to retrieve a list of transitions available for the specified
|
|
45
|
+
* issues that can be used or bulk transition operations. You can submit either
|
|
46
|
+
* single or multiple issues in the query to obtain the available transitions.
|
|
47
|
+
*
|
|
48
|
+
* The response will provide the available transitions for issues, organized by
|
|
49
|
+
* their respective workflows. **Only the transitions that are common among the
|
|
50
|
+
* issues within that workflow and do not involve any additional field updates
|
|
51
|
+
* will be included.** For bulk transitions that require additional field updates,
|
|
52
|
+
* please utilise the Jira Cloud UI.
|
|
53
|
+
*
|
|
54
|
+
* You can request available transitions for up to 1,000 issues in a single
|
|
55
|
+
* operation. This API uses pagination to return responses, delivering 50
|
|
56
|
+
* workflows at a time.
|
|
57
|
+
*
|
|
58
|
+
* **[Permissions](#permissions) required:**
|
|
59
|
+
*
|
|
60
|
+
* * Global bulk change
|
|
61
|
+
* [permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).
|
|
62
|
+
* * Transition [issues
|
|
63
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/permissions-for-company-managed-projects/#Transition-issues/)
|
|
64
|
+
* in all projects that contain the selected issues.
|
|
65
|
+
* * Browse [project
|
|
66
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-project-permissions/)
|
|
67
|
+
* in all projects that contain the selected issues.
|
|
68
|
+
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
69
|
+
* configured, issue-level security permission to view the issue.
|
|
70
|
+
*
|
|
71
|
+
* @returns Returned if the request is successful.
|
|
72
|
+
*
|
|
73
|
+
* example:
|
|
74
|
+
* ```
|
|
75
|
+
* {
|
|
76
|
+
* "availableTransitions": [
|
|
77
|
+
* {
|
|
78
|
+
* "isTransitionsFiltered": false,
|
|
79
|
+
* "issues": [
|
|
80
|
+
* "EPIC-1",
|
|
81
|
+
* "TASK-1"
|
|
82
|
+
* ],
|
|
83
|
+
* "transitions": [
|
|
84
|
+
* {
|
|
85
|
+
* "to": {
|
|
86
|
+
* "statusId": 10001,
|
|
87
|
+
* "statusName": "To Do"
|
|
88
|
+
* },
|
|
89
|
+
* "transitionId": 11,
|
|
90
|
+
* "transitionName": "To Do"
|
|
91
|
+
* },
|
|
92
|
+
* {
|
|
93
|
+
* "to": {
|
|
94
|
+
* "statusId": 10002,
|
|
95
|
+
* "statusName": "In Progress"
|
|
96
|
+
* },
|
|
97
|
+
* "transitionId": 21,
|
|
98
|
+
* "transitionName": "In Progress"
|
|
99
|
+
* },
|
|
100
|
+
* {
|
|
101
|
+
* "to": {
|
|
102
|
+
* "statusId": 10003,
|
|
103
|
+
* "statusName": "Done"
|
|
104
|
+
* },
|
|
105
|
+
* "transitionId": 31,
|
|
106
|
+
* "transitionName": "Done"
|
|
107
|
+
* }
|
|
108
|
+
* ]
|
|
109
|
+
* },
|
|
110
|
+
* {
|
|
111
|
+
* "isTransitionsFiltered": true,
|
|
112
|
+
* "issues": [
|
|
113
|
+
* "BUG-1"
|
|
114
|
+
* ],
|
|
115
|
+
* "transitions": [
|
|
116
|
+
* {
|
|
117
|
+
* "to": {
|
|
118
|
+
* "statusId": 10004,
|
|
119
|
+
* "statusName": "To Do bug"
|
|
120
|
+
* },
|
|
121
|
+
* "transitionId": 41,
|
|
122
|
+
* "transitionName": "To Do bug"
|
|
123
|
+
* },
|
|
124
|
+
* {
|
|
125
|
+
* "to": {
|
|
126
|
+
* "statusId": 10005,
|
|
127
|
+
* "statusName": "Triage"
|
|
128
|
+
* },
|
|
129
|
+
* "transitionId": 51,
|
|
130
|
+
* "transitionName": "Triage"
|
|
131
|
+
* }
|
|
132
|
+
* ]
|
|
133
|
+
* }
|
|
134
|
+
* ]
|
|
135
|
+
* }
|
|
136
|
+
* ```
|
|
137
|
+
* @path GET `/rest/api/3/bulk/issues/transition`
|
|
138
|
+
* @scopes-current read:jira-work
|
|
139
|
+
* @scopes-beta read:issue:jira
|
|
140
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-transition-get
|
|
141
|
+
* @param params
|
|
142
|
+
*/
|
|
143
|
+
this.getAvailableTransitions = ({ issueIdsOrKeys, endingBefore, startingAfter, }) => {
|
|
144
|
+
return this.getClientInstance()
|
|
145
|
+
.request({
|
|
146
|
+
path: "/rest/api/3/bulk/issues/transition",
|
|
147
|
+
method: "GET",
|
|
148
|
+
query: {
|
|
149
|
+
issueIdsOrKeys,
|
|
150
|
+
endingBefore,
|
|
151
|
+
startingAfter,
|
|
152
|
+
},
|
|
153
|
+
})
|
|
154
|
+
.then(this.getClientInstance().responseHandler({
|
|
155
|
+
200: {
|
|
156
|
+
"application/json": "json",
|
|
157
|
+
},
|
|
158
|
+
}))
|
|
159
|
+
.then(commonHttpClient.castResponse())
|
|
160
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("IssueBulkOperationsService.getAvailableTransitions.response")))
|
|
161
|
+
.then(commonHttpClient.getBody);
|
|
162
|
+
};
|
|
43
163
|
/**
|
|
44
164
|
* Use this API to get a list of fields visible to the user to perform bulk edit
|
|
45
165
|
* operations. You can pass single or multiple issues in the query to get eligible
|
|
@@ -205,6 +325,56 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
205
325
|
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("IssueBulkOperationsService.getBulkOperationProgress.response")))
|
|
206
326
|
.then(commonHttpClient.getBody);
|
|
207
327
|
};
|
|
328
|
+
/**
|
|
329
|
+
* Use this API to submit a bulk delete request. You can delete up to 1,000 issues
|
|
330
|
+
* in a single operation.
|
|
331
|
+
*
|
|
332
|
+
* **[Permissions](#permissions) required:**
|
|
333
|
+
*
|
|
334
|
+
* * Global bulk change
|
|
335
|
+
* [permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).
|
|
336
|
+
* * Delete [issues
|
|
337
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/permissions-for-company-managed-projects/#Delete-issues/)
|
|
338
|
+
* in all projects that contain the selected issues.
|
|
339
|
+
* * Browse [project
|
|
340
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-project-permissions/)
|
|
341
|
+
* in all projects that contain the selected issues.
|
|
342
|
+
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
343
|
+
* configured, issue-level security permission to view the issue.
|
|
344
|
+
*
|
|
345
|
+
* @returns Returned if the request is successful.
|
|
346
|
+
*
|
|
347
|
+
* example:
|
|
348
|
+
* ```
|
|
349
|
+
* {
|
|
350
|
+
* "taskId": "10641"
|
|
351
|
+
* }
|
|
352
|
+
* ```
|
|
353
|
+
* @path POST `/rest/api/3/bulk/issues/delete`
|
|
354
|
+
* @scopes-current write:jira-work
|
|
355
|
+
* @scopes-beta write:issue:jira, read:issue:jira
|
|
356
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-delete-post
|
|
357
|
+
* @param params
|
|
358
|
+
*/
|
|
359
|
+
this.submitBulkDelete = ({ issueBulkDeletePayload, }) => {
|
|
360
|
+
return this.getClientInstance()
|
|
361
|
+
.request({
|
|
362
|
+
path: "/rest/api/3/bulk/issues/delete",
|
|
363
|
+
method: "POST",
|
|
364
|
+
headers: {
|
|
365
|
+
"Content-Type": "application/json",
|
|
366
|
+
},
|
|
367
|
+
body: issueBulkDeletePayload,
|
|
368
|
+
})
|
|
369
|
+
.then(this.getClientInstance().responseHandler({
|
|
370
|
+
201: {
|
|
371
|
+
"application/json": "json",
|
|
372
|
+
},
|
|
373
|
+
}))
|
|
374
|
+
.then(commonHttpClient.castResponse())
|
|
375
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("IssueBulkOperationsService.submitBulkDelete.response")))
|
|
376
|
+
.then(commonHttpClient.getBody);
|
|
377
|
+
};
|
|
208
378
|
/**
|
|
209
379
|
* Use this API to submit a bulk edit request and simultaneously edit multiple
|
|
210
380
|
* issues. There are limits applied to the number of issues and fields that can be
|
|
@@ -333,7 +503,7 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
333
503
|
body: issueBulkMovePayload,
|
|
334
504
|
})
|
|
335
505
|
.then(this.getClientInstance().responseHandler({
|
|
336
|
-
|
|
506
|
+
201: {
|
|
337
507
|
"application/json": "json",
|
|
338
508
|
},
|
|
339
509
|
}))
|
|
@@ -341,8 +511,66 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
341
511
|
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("IssueBulkOperationsService.submitBulkMove.response")))
|
|
342
512
|
.then(commonHttpClient.getBody);
|
|
343
513
|
};
|
|
514
|
+
/**
|
|
515
|
+
* Use this API to submit a bulk issue status transition request. You can
|
|
516
|
+
* transition multiple issues, alongside with their valid transition Ids. You can
|
|
517
|
+
* transition up to 1,000 issues in a single operation.
|
|
518
|
+
*
|
|
519
|
+
* **[Permissions](#permissions) required:**
|
|
520
|
+
*
|
|
521
|
+
* * Global bulk change
|
|
522
|
+
* [permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).
|
|
523
|
+
* * Transition [issues
|
|
524
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/permissions-for-company-managed-projects/#Transition-issues/)
|
|
525
|
+
* in all projects that contain the selected issues.
|
|
526
|
+
* * Browse [project
|
|
527
|
+
* permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-project-permissions/)
|
|
528
|
+
* in all projects that contain the selected issues.
|
|
529
|
+
* * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
|
|
530
|
+
* configured, issue-level security permission to view the issue.
|
|
531
|
+
*
|
|
532
|
+
* @returns Returned if the request is successful.
|
|
533
|
+
*
|
|
534
|
+
* example:
|
|
535
|
+
* ```
|
|
536
|
+
* {
|
|
537
|
+
* "taskId": "10641"
|
|
538
|
+
* }
|
|
539
|
+
* ```
|
|
540
|
+
* @path POST `/rest/api/3/bulk/issues/transition`
|
|
541
|
+
* @scopes-current write:jira-work
|
|
542
|
+
* @scopes-beta write:issue:jira, read:issue:jira
|
|
543
|
+
* @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations#api-rest-api-3-bulk-issues-transition-post
|
|
544
|
+
* @param params
|
|
545
|
+
*/
|
|
546
|
+
this.submitBulkTransition = ({ issueBulkTransitionPayload, }) => {
|
|
547
|
+
return this.getClientInstance()
|
|
548
|
+
.request({
|
|
549
|
+
path: "/rest/api/3/bulk/issues/transition",
|
|
550
|
+
method: "POST",
|
|
551
|
+
headers: {
|
|
552
|
+
"Content-Type": "application/json",
|
|
553
|
+
},
|
|
554
|
+
body: issueBulkTransitionPayload,
|
|
555
|
+
})
|
|
556
|
+
.then(this.getClientInstance().responseHandler({
|
|
557
|
+
201: {
|
|
558
|
+
"application/json": "json",
|
|
559
|
+
},
|
|
560
|
+
}))
|
|
561
|
+
.then(commonHttpClient.castResponse())
|
|
562
|
+
.then(this.getClientInstance().validation(validationSchemaStorage_1.validationSchemaStorage.validator("IssueBulkOperationsService.submitBulkTransition.response")))
|
|
563
|
+
.then(commonHttpClient.getBody);
|
|
564
|
+
};
|
|
344
565
|
}
|
|
345
566
|
static initialize() {
|
|
567
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueBulkOperationsService.submitBulkDelete.response", zod_1.z
|
|
568
|
+
.object({
|
|
569
|
+
status: zod_1.z.literal(201),
|
|
570
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
571
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SubmittedBulkOperation"),
|
|
572
|
+
})
|
|
573
|
+
.describe("IssueBulkOperationsService.submitBulkDelete.response"));
|
|
346
574
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueBulkOperationsService.getBulkEditableFields.response", zod_1.z
|
|
347
575
|
.object({
|
|
348
576
|
status: zod_1.z.literal(200),
|
|
@@ -359,11 +587,25 @@ class IssueBulkOperationsService extends CommonHttpService_1.CommonHttpService {
|
|
|
359
587
|
.describe("IssueBulkOperationsService.submitBulkEdit.response"));
|
|
360
588
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueBulkOperationsService.submitBulkMove.response", zod_1.z
|
|
361
589
|
.object({
|
|
362
|
-
status: zod_1.z.literal(
|
|
590
|
+
status: zod_1.z.literal(201),
|
|
363
591
|
mediaType: zod_1.z.literal("application/json"),
|
|
364
592
|
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SubmittedBulkOperation"),
|
|
365
593
|
})
|
|
366
594
|
.describe("IssueBulkOperationsService.submitBulkMove.response"));
|
|
595
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueBulkOperationsService.getAvailableTransitions.response", zod_1.z
|
|
596
|
+
.object({
|
|
597
|
+
status: zod_1.z.literal(200),
|
|
598
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
599
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("BulkTransitionGetAvailableTransitions"),
|
|
600
|
+
})
|
|
601
|
+
.describe("IssueBulkOperationsService.getAvailableTransitions.response"));
|
|
602
|
+
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueBulkOperationsService.submitBulkTransition.response", zod_1.z
|
|
603
|
+
.object({
|
|
604
|
+
status: zod_1.z.literal(201),
|
|
605
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
606
|
+
body: validationSchemaStorage_1.validationSchemaStorage.lazy("SubmittedBulkOperation"),
|
|
607
|
+
})
|
|
608
|
+
.describe("IssueBulkOperationsService.submitBulkTransition.response"));
|
|
367
609
|
validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueBulkOperationsService.getBulkOperationProgress.response", zod_1.z
|
|
368
610
|
.object({
|
|
369
611
|
status: zod_1.z.literal(200),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IssueBulkOperationsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueBulkOperationsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"IssueBulkOperationsService.js","sourceRoot":"","sources":["../../../../src/openapi/platform/services/IssueBulkOperationsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,gEAAgE;AAChE,oEAAiE;AACjE,uEAUuC;AACvC,wEAAqE;AACrE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,0BAA2B,SAAQ,qCAAiB;IAAjE;;QACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAmGG;QACH,4BAAuB,GAAG,CAAC,EACzB,cAAc,EACd,YAAY,EACZ,aAAa,GAWd,EAAkD,EAAE;YACnD,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,oCAAoC;gBAC1C,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE;oBACL,cAAc;oBACd,YAAY;oBACZ,aAAa;iBACd;aACF,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,kBAAkB,EAAE,MAAM;iBAC3B;aACF,CAAC,CACH;iBACA,IAAI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C,CACxE,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,8DAA8D,EAC9D,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,uBAAuB,CAAC;SAC5D,CAAC;aACD,QAAQ,CACP,8DAA8D,CAC/D,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,kEAA4C;SAC7C,CAAC,CAAC;IACL,CAAC;CACF;AAx2BD,gEAw2BC"}
|
|
@@ -86,26 +86,26 @@ export declare class IssueCommentsService extends CommonHttpService {
|
|
|
86
86
|
/**
|
|
87
87
|
* @example
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* "body": {
|
|
90
|
+
* "content": [
|
|
91
|
+
* {
|
|
90
92
|
* "content": [
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* "type": "text"
|
|
96
|
-
* }
|
|
97
|
-
* ],
|
|
98
|
-
* "type": "paragraph"
|
|
99
|
-
* }
|
|
93
|
+
* {
|
|
94
|
+
* "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
|
|
95
|
+
* "type": "text"
|
|
96
|
+
* }
|
|
100
97
|
* ],
|
|
101
|
-
* "type": "
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
* "
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
98
|
+
* "type": "paragraph"
|
|
99
|
+
* }
|
|
100
|
+
* ],
|
|
101
|
+
* "type": "doc",
|
|
102
|
+
* "version": 1
|
|
103
|
+
* },
|
|
104
|
+
* "visibility": {
|
|
105
|
+
* "identifier": "Administrators",
|
|
106
|
+
* "type": "role",
|
|
107
|
+
* "value": "Administrators"
|
|
108
|
+
* }
|
|
109
109
|
* }
|
|
110
110
|
*/
|
|
111
111
|
comment: Comment;
|
|
@@ -394,12 +394,12 @@ export declare class IssueCommentsService extends CommonHttpService {
|
|
|
394
394
|
*
|
|
395
395
|
* @example
|
|
396
396
|
* {
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
*
|
|
397
|
+
* "ids": [
|
|
398
|
+
* 1,
|
|
399
|
+
* 2,
|
|
400
|
+
* 5,
|
|
401
|
+
* 10
|
|
402
|
+
* ]
|
|
403
403
|
* }
|
|
404
404
|
*/
|
|
405
405
|
issueCommentListRequestBean: IssueCommentListRequestBean;
|
|
@@ -495,26 +495,26 @@ export declare class IssueCommentsService extends CommonHttpService {
|
|
|
495
495
|
/**
|
|
496
496
|
* @example
|
|
497
497
|
* {
|
|
498
|
-
*
|
|
498
|
+
* "body": {
|
|
499
|
+
* "content": [
|
|
500
|
+
* {
|
|
499
501
|
* "content": [
|
|
500
|
-
*
|
|
501
|
-
*
|
|
502
|
-
*
|
|
503
|
-
*
|
|
504
|
-
* "type": "text"
|
|
505
|
-
* }
|
|
506
|
-
* ],
|
|
507
|
-
* "type": "paragraph"
|
|
508
|
-
* }
|
|
502
|
+
* {
|
|
503
|
+
* "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
|
|
504
|
+
* "type": "text"
|
|
505
|
+
* }
|
|
509
506
|
* ],
|
|
510
|
-
* "type": "
|
|
511
|
-
*
|
|
512
|
-
*
|
|
513
|
-
* "
|
|
514
|
-
*
|
|
515
|
-
*
|
|
516
|
-
*
|
|
517
|
-
*
|
|
507
|
+
* "type": "paragraph"
|
|
508
|
+
* }
|
|
509
|
+
* ],
|
|
510
|
+
* "type": "doc",
|
|
511
|
+
* "version": 1
|
|
512
|
+
* },
|
|
513
|
+
* "visibility": {
|
|
514
|
+
* "identifier": "Administrators",
|
|
515
|
+
* "type": "role",
|
|
516
|
+
* "value": "Administrators"
|
|
517
|
+
* }
|
|
518
518
|
* }
|
|
519
519
|
*/
|
|
520
520
|
comment: Comment;
|
|
@@ -212,10 +212,10 @@ export declare class IssueCustomFieldConfigurationAppsService extends CommonHttp
|
|
|
212
212
|
/**
|
|
213
213
|
* @example
|
|
214
214
|
* {
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
215
|
+
* "fieldIdsOrKeys": [
|
|
216
|
+
* "customfield_10035",
|
|
217
|
+
* "customfield_10036"
|
|
218
|
+
* ]
|
|
219
219
|
* }
|
|
220
220
|
*/
|
|
221
221
|
configurationsListParameters: ConfigurationsListParameters;
|
|
@@ -242,32 +242,32 @@ export declare class IssueCustomFieldConfigurationAppsService extends CommonHttp
|
|
|
242
242
|
/**
|
|
243
243
|
* @example
|
|
244
244
|
* {
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
245
|
+
* "configurations": [
|
|
246
|
+
* {
|
|
247
|
+
* "id": "10000"
|
|
248
|
+
* },
|
|
249
|
+
* {
|
|
250
|
+
* "configuration": {
|
|
251
|
+
* "maxValue": 10000,
|
|
252
|
+
* "minValue": 0
|
|
253
|
+
* },
|
|
254
|
+
* "id": "10001",
|
|
255
|
+
* "schema": {
|
|
256
|
+
* "properties": {
|
|
257
|
+
* "amount": {
|
|
258
|
+
* "type": "number"
|
|
259
|
+
* },
|
|
260
|
+
* "currency": {
|
|
261
|
+
* "type": "string"
|
|
262
|
+
* }
|
|
248
263
|
* },
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
* "properties": {
|
|
257
|
-
* "amount": {
|
|
258
|
-
* "type": "number"
|
|
259
|
-
* },
|
|
260
|
-
* "currency": {
|
|
261
|
-
* "type": "string"
|
|
262
|
-
* }
|
|
263
|
-
* },
|
|
264
|
-
* "required": [
|
|
265
|
-
* "amount",
|
|
266
|
-
* "currency"
|
|
267
|
-
* ]
|
|
268
|
-
* }
|
|
269
|
-
* }
|
|
270
|
-
* ]
|
|
264
|
+
* "required": [
|
|
265
|
+
* "amount",
|
|
266
|
+
* "currency"
|
|
267
|
+
* ]
|
|
268
|
+
* }
|
|
269
|
+
* }
|
|
270
|
+
* ]
|
|
271
271
|
* }
|
|
272
272
|
*/
|
|
273
273
|
customFieldConfigurations: CustomFieldConfigurations;
|