@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.
Files changed (252) hide show
  1. package/README.md +5 -5
  2. package/lib/index.d.ts +2 -0
  3. package/lib/index.js +2 -0
  4. package/lib/index.js.map +1 -1
  5. package/lib/openapi/core/CommonHttpClient.d.ts +29 -0
  6. package/lib/openapi/core/CommonHttpClient.js +29 -1
  7. package/lib/openapi/core/CommonHttpClient.js.map +1 -1
  8. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +27 -7
  9. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +45 -1
  10. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  11. package/lib/openapi/platform/models/appMigration.d.ts +12 -0
  12. package/lib/openapi/platform/models/appMigration.js.map +1 -1
  13. package/lib/openapi/platform/models/appProperties.d.ts +4 -2
  14. package/lib/openapi/platform/models/appProperties.js.map +1 -1
  15. package/lib/openapi/platform/models/common.d.ts +7 -43
  16. package/lib/openapi/platform/models/common.js +1 -21
  17. package/lib/openapi/platform/models/common.js.map +1 -1
  18. package/lib/openapi/platform/models/dashboards.d.ts +0 -30
  19. package/lib/openapi/platform/models/dashboards.js +0 -18
  20. package/lib/openapi/platform/models/dashboards.js.map +1 -1
  21. package/lib/openapi/platform/models/dynamicModules.d.ts +55 -51
  22. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  23. package/lib/openapi/platform/models/issueBulkOperations.d.ts +102 -0
  24. package/lib/openapi/platform/models/issueBulkOperations.js +56 -0
  25. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -1
  26. package/lib/openapi/platform/models/issueCustomFieldOptions.d.ts +1 -4
  27. package/lib/openapi/platform/models/issueCustomFieldOptions.js.map +1 -1
  28. package/lib/openapi/platform/models/issueSecurityLevel.d.ts +1 -1
  29. package/lib/openapi/platform/models/issueSecuritySchemes.d.ts +1 -1
  30. package/lib/openapi/platform/models/issues.d.ts +124 -10
  31. package/lib/openapi/platform/models/issues.js +78 -0
  32. package/lib/openapi/platform/models/issues.js.map +1 -1
  33. package/lib/openapi/platform/models/jiraExpressions.d.ts +8 -1
  34. package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
  35. package/lib/openapi/platform/models/jql.d.ts +8 -0
  36. package/lib/openapi/platform/models/jql.js.map +1 -1
  37. package/lib/openapi/platform/models/jqlFunctionsApps.d.ts +43 -1
  38. package/lib/openapi/platform/models/jqlFunctionsApps.js +52 -2
  39. package/lib/openapi/platform/models/jqlFunctionsApps.js.map +1 -1
  40. package/lib/openapi/platform/models/permissionSchemes.d.ts +3 -4
  41. package/lib/openapi/platform/models/permissionSchemes.js.map +1 -1
  42. package/lib/openapi/platform/models/plans.d.ts +268 -0
  43. package/lib/openapi/platform/models/plans.js +425 -0
  44. package/lib/openapi/platform/models/plans.js.map +1 -0
  45. package/lib/openapi/platform/models/projects.d.ts +1 -1
  46. package/lib/openapi/platform/models/projects.js +1 -0
  47. package/lib/openapi/platform/models/projects.js.map +1 -1
  48. package/lib/openapi/platform/models/serviceRegistry.d.ts +2 -0
  49. package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
  50. package/lib/openapi/platform/models/teamsInPlan.d.ts +79 -0
  51. package/lib/openapi/platform/models/teamsInPlan.js +86 -0
  52. package/lib/openapi/platform/models/teamsInPlan.js.map +1 -0
  53. package/lib/openapi/platform/models/workflows.d.ts +4 -0
  54. package/lib/openapi/platform/models/workflows.js +2 -0
  55. package/lib/openapi/platform/models/workflows.js.map +1 -1
  56. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +4 -4
  57. package/lib/openapi/platform/services/AppMigrationService.d.ts +87 -87
  58. package/lib/openapi/platform/services/AppMigrationService.js +49 -49
  59. package/lib/openapi/platform/services/AppPropertiesService.d.ts +17 -17
  60. package/lib/openapi/platform/services/AppPropertiesService.js +17 -17
  61. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +2 -0
  62. package/lib/openapi/platform/services/ApplicationRolesService.js +2 -0
  63. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  64. package/lib/openapi/platform/services/DashboardsService.d.ts +64 -64
  65. package/lib/openapi/platform/services/FilterSharingService.d.ts +8 -4
  66. package/lib/openapi/platform/services/FilterSharingService.js +4 -0
  67. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  68. package/lib/openapi/platform/services/FiltersService.d.ts +21 -8
  69. package/lib/openapi/platform/services/FiltersService.js +8 -1
  70. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  71. package/lib/openapi/platform/services/GroupsService.d.ts +2 -2
  72. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +2 -0
  73. package/lib/openapi/platform/services/IssueAttachmentsService.js +2 -0
  74. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  75. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +293 -78
  76. package/lib/openapi/platform/services/IssueBulkOperationsService.js +244 -2
  77. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
  78. package/lib/openapi/platform/services/IssueCommentsService.d.ts +42 -42
  79. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +29 -29
  80. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +59 -59
  81. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +59 -59
  82. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +37 -37
  83. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +25 -25
  84. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +47 -47
  85. package/lib/openapi/platform/services/IssueFieldsService.d.ts +12 -11
  86. package/lib/openapi/platform/services/IssueFieldsService.js +3 -1
  87. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  88. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +6 -6
  89. package/lib/openapi/platform/services/IssueLinksService.d.ts +28 -28
  90. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +2 -0
  91. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +2 -0
  92. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  93. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +26 -26
  94. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +16 -14
  95. package/lib/openapi/platform/services/IssuePrioritiesService.js +2 -0
  96. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  97. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +38 -38
  98. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +44 -42
  99. package/lib/openapi/platform/services/IssueRemoteLinksService.js +2 -0
  100. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  101. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +12 -10
  102. package/lib/openapi/platform/services/IssueResolutionsService.js +2 -0
  103. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  104. package/lib/openapi/platform/services/IssueSearchService.d.ts +28 -28
  105. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +58 -58
  106. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +2 -2
  107. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +24 -24
  108. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +39 -39
  109. package/lib/openapi/platform/services/IssueTypesService.d.ts +12 -6
  110. package/lib/openapi/platform/services/IssueTypesService.js +6 -0
  111. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  112. package/lib/openapi/platform/services/IssueWatchersService.d.ts +5 -5
  113. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +59 -57
  114. package/lib/openapi/platform/services/IssueWorklogsService.js +2 -0
  115. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  116. package/lib/openapi/platform/services/IssuesService.d.ts +692 -590
  117. package/lib/openapi/platform/services/IssuesService.js +121 -0
  118. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  119. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +95 -95
  120. package/lib/openapi/platform/services/JiraSettingsService.d.ts +6 -2
  121. package/lib/openapi/platform/services/JiraSettingsService.js +4 -0
  122. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  123. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +125 -28
  124. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +137 -20
  125. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  126. package/lib/openapi/platform/services/JqlService.d.ts +36 -36
  127. package/lib/openapi/platform/services/MyselfService.d.ts +1 -1
  128. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +32 -35
  129. package/lib/openapi/platform/services/PermissionSchemesService.js +2 -5
  130. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  131. package/lib/openapi/platform/services/PermissionsService.d.ts +21 -21
  132. package/lib/openapi/platform/services/PlansService.d.ts +389 -0
  133. package/lib/openapi/platform/services/PlansService.js +459 -0
  134. package/lib/openapi/platform/services/PlansService.js.map +1 -0
  135. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +83 -83
  136. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +1 -1
  137. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +6 -4
  138. package/lib/openapi/platform/services/ProjectCategoriesService.js +2 -0
  139. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  140. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +1 -1
  141. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +13 -11
  142. package/lib/openapi/platform/services/ProjectComponentsService.js +2 -0
  143. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  144. package/lib/openapi/platform/services/ProjectEmailService.d.ts +1 -1
  145. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +1 -1
  146. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +1 -1
  147. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +2 -2
  148. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +14 -14
  149. package/lib/openapi/platform/services/ProjectRolesService.d.ts +10 -6
  150. package/lib/openapi/platform/services/ProjectRolesService.js +4 -0
  151. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  152. package/lib/openapi/platform/services/ProjectTypesService.d.ts +4 -0
  153. package/lib/openapi/platform/services/ProjectTypesService.js +4 -0
  154. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  155. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +29 -25
  156. package/lib/openapi/platform/services/ProjectVersionsService.js +5 -1
  157. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  158. package/lib/openapi/platform/services/ProjectsService.d.ts +30 -24
  159. package/lib/openapi/platform/services/ProjectsService.js +6 -0
  160. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  161. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +12 -12
  162. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +1 -1
  163. package/lib/openapi/platform/services/ScreenTabsService.d.ts +1 -1
  164. package/lib/openapi/platform/services/ScreensService.d.ts +4 -4
  165. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -0
  166. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  167. package/lib/openapi/platform/services/StatusService.d.ts +24 -20
  168. package/lib/openapi/platform/services/StatusService.js +4 -0
  169. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  170. package/lib/openapi/platform/services/TeamsInPlanService.d.ts +294 -0
  171. package/lib/openapi/platform/services/TeamsInPlanService.js +452 -0
  172. package/lib/openapi/platform/services/TeamsInPlanService.js.map +1 -0
  173. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -5
  174. package/lib/openapi/platform/services/TimeTrackingService.js +2 -0
  175. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  176. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +44 -44
  177. package/lib/openapi/platform/services/UserSearchService.d.ts +19 -8
  178. package/lib/openapi/platform/services/UserSearchService.js +15 -5
  179. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  180. package/lib/openapi/platform/services/UsersService.d.ts +7 -1
  181. package/lib/openapi/platform/services/UsersService.js +6 -0
  182. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  183. package/lib/openapi/platform/services/WebhooksService.d.ts +39 -39
  184. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +39 -39
  185. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +2 -2
  186. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +102 -100
  187. package/lib/openapi/platform/services/WorkflowSchemesService.js +2 -0
  188. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  189. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +2 -0
  190. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +2 -0
  191. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  192. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +2 -0
  193. package/lib/openapi/platform/services/WorkflowStatusesService.js +2 -0
  194. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  195. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +4 -2
  196. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +2 -0
  197. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  198. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +48 -48
  199. package/lib/openapi/platform/services/WorkflowsService.d.ts +591 -589
  200. package/lib/openapi/platform/services/WorkflowsService.js +2 -0
  201. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  202. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +1 -1
  203. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +3 -1
  204. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js.map +1 -1
  205. package/lib/openapi/serviceManagement/models/organization.d.ts +5 -0
  206. package/lib/openapi/serviceManagement/models/organization.js +1 -0
  207. package/lib/openapi/serviceManagement/models/organization.js.map +1 -1
  208. package/lib/openapi/serviceManagement/services/CustomerService.d.ts +2 -2
  209. package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +11 -7
  210. package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +3 -1
  211. package/lib/openapi/serviceManagement/services/KnowledgebaseService.js.map +1 -1
  212. package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +39 -33
  213. package/lib/openapi/serviceManagement/services/OrganizationService.js +24 -18
  214. package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
  215. package/lib/openapi/serviceManagement/services/RequestService.d.ts +68 -68
  216. package/lib/openapi/serviceManagement/services/RequestService.js +3 -3
  217. package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +39 -32
  218. package/lib/openapi/serviceManagement/services/ServicedeskService.js +4 -2
  219. package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
  220. package/lib/openapi/software/BaseJiraSoftwareApiClient.js +2 -0
  221. package/lib/openapi/software/BaseJiraSoftwareApiClient.js.map +1 -1
  222. package/lib/openapi/software/models/board.d.ts +2 -3
  223. package/lib/openapi/software/models/board.js.map +1 -1
  224. package/lib/openapi/software/models/builds.d.ts +40 -2
  225. package/lib/openapi/software/models/builds.js.map +1 -1
  226. package/lib/openapi/software/models/common.d.ts +8 -2
  227. package/lib/openapi/software/models/common.js.map +1 -1
  228. package/lib/openapi/software/models/deployments.d.ts +36 -2
  229. package/lib/openapi/software/models/deployments.js.map +1 -1
  230. package/lib/openapi/software/models/devOpsComponents.d.ts +10 -4
  231. package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
  232. package/lib/openapi/software/models/developmentInformation.d.ts +106 -0
  233. package/lib/openapi/software/models/developmentInformation.js.map +1 -1
  234. package/lib/openapi/software/models/featureFlags.d.ts +20 -4
  235. package/lib/openapi/software/models/featureFlags.js.map +1 -1
  236. package/lib/openapi/software/models/operations.d.ts +76 -16
  237. package/lib/openapi/software/models/operations.js.map +1 -1
  238. package/lib/openapi/software/models/remoteLinks.d.ts +49 -13
  239. package/lib/openapi/software/models/remoteLinks.js.map +1 -1
  240. package/lib/openapi/software/models/securityInformation.d.ts +60 -8
  241. package/lib/openapi/software/models/securityInformation.js.map +1 -1
  242. package/lib/openapi/software/services/BacklogService.d.ts +12 -12
  243. package/lib/openapi/software/services/BoardService.d.ts +14 -14
  244. package/lib/openapi/software/services/EpicService.d.ts +18 -18
  245. package/lib/openapi/software/services/IssueService.d.ts +8 -8
  246. package/lib/openapi/software/services/OperationsService.d.ts +8 -4
  247. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  248. package/lib/openapi/software/services/RemoteLinksService.d.ts +4 -2
  249. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  250. package/lib/openapi/software/services/SprintService.d.ts +20 -20
  251. package/package.json +5 -4
  252. 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
- * "sendBulkNotification": true,
279
- * "targetToSourcesMapping": {
280
- * "PROJECT-KEY,10001": {
281
- * "inferClassificationDefaults": false,
282
- * "inferFieldDefaults": false,
283
- * "inferStatusDefaults": false,
284
- * "inferSubtaskTypeDefault": true,
285
- * "issueIdsOrKeys": [
286
- * "ISSUE-1"
287
- * ],
288
- * "targetClassification": [
289
- * {
290
- * "classifications": {
291
- * "5bfa70f7-4af1-44f5-9e12-1ce185f15a38": [
292
- * "bd58e74c-c31b-41a7-ba69-9673ebd9dae9",
293
- * "-1"
294
- * ]
295
- * }
296
- * }
297
- * ],
298
- * "targetMandatoryFields": [
299
- * {
300
- * "fields": {
301
- * "customfield_10000": {
302
- * "retain": false,
303
- * "type": "raw",
304
- * "value": [
305
- * "value-1",
306
- * "value-2"
307
- * ]
308
- * },
309
- * "description": {
310
- * "retain": true,
311
- * "type": "adf",
312
- * "value": {
313
- * "content": [
314
- * {
315
- * "content": [
316
- * {
317
- * "text": "New description value",
318
- * "type": "text"
319
- * }
320
- * ],
321
- * "type": "paragraph"
322
- * }
323
- * ],
324
- * "type": "doc",
325
- * "version": 1
326
- * }
327
- * },
328
- * "fixVersions": {
329
- * "retain": false,
330
- * "type": "raw",
331
- * "value": [
332
- * "10009"
333
- * ]
334
- * },
335
- * "labels": {
336
- * "retain": false,
337
- * "type": "raw",
338
- * "value": [
339
- * "label-1",
340
- * "label-2"
341
- * ]
342
- * }
343
- * }
344
- * }
345
- * ],
346
- * "targetStatus": [
347
- * {
348
- * "statuses": {
349
- * "10001": [
350
- * "10002",
351
- * "10003"
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
  }