@resolution/jira-api-client 0.4.4 → 0.4.5

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 (326) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  5. package/lib/openapi/platform/models/common.d.ts +6 -0
  6. package/lib/openapi/platform/models/common.js +12 -1
  7. package/lib/openapi/platform/models/common.js.map +1 -1
  8. package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
  9. package/lib/openapi/platform/models/dynamicModules.js +0 -6
  10. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  11. package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
  12. package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
  13. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
  14. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
  15. package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
  16. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  17. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
  18. package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
  19. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  20. package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
  21. package/lib/openapi/platform/services/AppMigrationService.js +139 -136
  22. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  23. package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
  24. package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
  25. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  26. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
  27. package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
  28. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  29. package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
  30. package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
  31. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  32. package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
  33. package/lib/openapi/platform/services/AvatarsService.js +412 -415
  34. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  35. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
  36. package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
  37. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  38. package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
  39. package/lib/openapi/platform/services/DashboardsService.js +983 -974
  40. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  41. package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
  42. package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
  43. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  44. package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
  45. package/lib/openapi/platform/services/FilterSharingService.js +512 -509
  46. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  47. package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
  48. package/lib/openapi/platform/services/FiltersService.js +1262 -1259
  49. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  50. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
  51. package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
  52. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  53. package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
  54. package/lib/openapi/platform/services/GroupsService.js +385 -382
  55. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  56. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
  57. package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
  58. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  59. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
  60. package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
  61. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
  62. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
  63. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
  64. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  65. package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
  66. package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
  67. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  68. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
  69. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
  70. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  71. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
  72. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
  73. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  74. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
  75. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
  76. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  77. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
  78. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
  79. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  80. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
  81. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
  82. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  83. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
  84. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
  85. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  86. package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
  87. package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
  88. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  89. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
  90. package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
  91. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  92. package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
  93. package/lib/openapi/platform/services/IssueLinksService.js +230 -227
  94. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  95. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
  96. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
  97. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  98. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
  99. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
  100. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  101. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
  102. package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
  103. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  104. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
  105. package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
  106. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  107. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
  108. package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
  109. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  110. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
  111. package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
  112. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  113. package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
  114. package/lib/openapi/platform/services/IssueSearchService.js +826 -823
  115. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  116. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
  117. package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
  118. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  119. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
  120. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
  121. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  122. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
  123. package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
  124. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  125. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
  126. package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
  127. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  128. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
  129. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
  130. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  131. package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
  132. package/lib/openapi/platform/services/IssueTypesService.js +424 -427
  133. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  134. package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
  135. package/lib/openapi/platform/services/IssueVotesService.js +148 -145
  136. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  137. package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
  138. package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
  139. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  140. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
  141. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
  142. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  143. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
  144. package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
  145. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  146. package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
  147. package/lib/openapi/platform/services/IssuesService.js +1856 -1853
  148. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  149. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
  150. package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
  151. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  152. package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
  153. package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
  154. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  155. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
  156. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
  157. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  158. package/lib/openapi/platform/services/JqlService.d.ts +15 -15
  159. package/lib/openapi/platform/services/JqlService.js +635 -632
  160. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  161. package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
  162. package/lib/openapi/platform/services/LabelsService.js +41 -38
  163. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  164. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
  165. package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
  166. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  167. package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
  168. package/lib/openapi/platform/services/MyselfService.js +321 -318
  169. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  170. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
  171. package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
  172. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  173. package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
  174. package/lib/openapi/platform/services/PermissionsService.js +235 -232
  175. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  176. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
  177. package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
  178. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  179. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
  180. package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
  181. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  182. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
  183. package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
  184. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  185. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
  186. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
  187. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  188. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
  189. package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
  190. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  191. package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
  192. package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
  193. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  194. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
  195. package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
  196. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  197. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
  198. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
  199. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  200. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
  201. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
  202. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  203. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
  204. package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
  205. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  206. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
  207. package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
  208. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  209. package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
  210. package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
  211. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  212. package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
  213. package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
  214. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  215. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
  216. package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
  217. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  218. package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
  219. package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
  220. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  221. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
  222. package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
  223. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  224. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
  225. package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
  226. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  227. package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
  228. package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
  229. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  230. package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
  231. package/lib/openapi/platform/services/ScreensService.js +281 -278
  232. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  233. package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
  234. package/lib/openapi/platform/services/ServerInfoService.js +51 -48
  235. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  236. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
  237. package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
  238. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  239. package/lib/openapi/platform/services/StatusService.d.ts +17 -17
  240. package/lib/openapi/platform/services/StatusService.js +271 -268
  241. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  242. package/lib/openapi/platform/services/TasksService.d.ts +4 -4
  243. package/lib/openapi/platform/services/TasksService.js +93 -90
  244. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  245. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
  246. package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
  247. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  248. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
  249. package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
  250. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  251. package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
  252. package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
  253. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  254. package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
  255. package/lib/openapi/platform/services/UserSearchService.js +709 -706
  256. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  257. package/lib/openapi/platform/services/UsersService.d.ts +51 -51
  258. package/lib/openapi/platform/services/UsersService.js +637 -634
  259. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  260. package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
  261. package/lib/openapi/platform/services/WebhooksService.js +262 -259
  262. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  263. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
  264. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
  265. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  266. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
  267. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
  268. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  269. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
  270. package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
  271. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  272. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
  273. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
  274. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  275. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
  276. package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
  277. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  278. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
  279. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
  280. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  281. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
  282. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
  283. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  284. package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
  285. package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
  286. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  287. package/lib/openapi/software/services/BacklogService.d.ts +4 -4
  288. package/lib/openapi/software/services/BacklogService.js +81 -78
  289. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  290. package/lib/openapi/software/services/BoardService.d.ts +124 -124
  291. package/lib/openapi/software/services/BoardService.js +2048 -2045
  292. package/lib/openapi/software/services/BoardService.js.map +1 -1
  293. package/lib/openapi/software/services/BuildsService.d.ts +10 -10
  294. package/lib/openapi/software/services/BuildsService.js +164 -161
  295. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  296. package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
  297. package/lib/openapi/software/services/DeploymentsService.js +192 -189
  298. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  299. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
  300. package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
  301. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  302. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
  303. package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
  304. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  305. package/lib/openapi/software/services/EpicService.d.ts +26 -26
  306. package/lib/openapi/software/services/EpicService.js +597 -594
  307. package/lib/openapi/software/services/EpicService.js.map +1 -1
  308. package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
  309. package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
  310. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  311. package/lib/openapi/software/services/IssueService.d.ts +13 -13
  312. package/lib/openapi/software/services/IssueService.js +359 -356
  313. package/lib/openapi/software/services/IssueService.js.map +1 -1
  314. package/lib/openapi/software/services/OperationsService.d.ts +24 -24
  315. package/lib/openapi/software/services/OperationsService.js +301 -298
  316. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  317. package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
  318. package/lib/openapi/software/services/RemoteLinksService.js +160 -157
  319. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  320. package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
  321. package/lib/openapi/software/services/SecurityInformationService.js +262 -259
  322. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  323. package/lib/openapi/software/services/SprintService.d.ts +33 -33
  324. package/lib/openapi/software/services/SprintService.js +594 -591
  325. package/lib/openapi/software/services/SprintService.js.map +1 -1
  326. package/package.json +4 -3
@@ -15,362 +15,365 @@ const validationSchemaStorage_1 = require("../validationSchemaStorage");
15
15
  * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue
16
16
  */
17
17
  class IssueService extends CommonHttpService_1.CommonHttpService {
18
- /**
19
- * Updates the estimation of the issue. boardId param is required. This param
20
- * determines which field will be updated on a issue.
21
- *
22
- * Note that this resource changes the estimation field of the issue regardless of
23
- * appearance the field on the screen.
24
- *
25
- * Original time tracking estimation field accepts estimation in formats like
26
- * "1w", "2d", "3h", "20m" or number which represent number of minutes. However,
27
- * internally the field stores and returns the estimation as a number of seconds.
28
- *
29
- * The field used for estimation on the given board can be obtained from [board
30
- * configuration resource](#agile/1.0/board-getConfiguration). More information
31
- * about the field are returned by [edit meta
32
- * resource](#api-rest-api-3-issue-issueIdOrKey-editmeta-get) or [field
33
- * resource](#api-rest-api-3-field-get).
34
- *
35
- * @returns Returns the estimation of the issue and a fieldId of the field that is used for
36
- * it.
37
- *
38
- * example: {
39
- * "fieldId": "customfield_12532",
40
- * "value": "8.0"
41
- * }
42
- * @path {PUT} /rest/agile/1.0/issue/{issueIdOrKey}/estimation
43
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue#api-rest-agile-1-0-issue-issueidorkey-estimation-put
44
- */
45
- estimateIssueForBoard({ issueIdOrKey, boardId, fieldEditBean, }) {
46
- return this.getClientInstance()
47
- .request({
48
- path: "/rest/agile/1.0/issue/{issueIdOrKey}/estimation",
49
- method: "PUT",
50
- pathParams: {
51
- issueIdOrKey,
52
- },
53
- query: {
54
- boardId,
55
- },
56
- headers: {
57
- "Content-Type": "application/json",
58
- },
59
- body: fieldEditBean,
60
- })
61
- .then(this.getClientInstance().responseHandler({
62
- 200: {
63
- "application/json": "json",
64
- },
65
- }))
66
- .then(commonHttpClient.castResponse())
67
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueService.estimateIssueForBoard.response"))
68
- .then(commonHttpClient.getBody);
69
- }
70
- /**
71
- * Returns a single issue, for a given issue ID or issue key. Issues returned from
72
- * this resource include Agile fields, like sprint, closedSprints, flagged, and
73
- * epic.
74
- *
75
- * @returns Returns the requested issue.
76
- *
77
- * example: {
78
- * "expand": "",
79
- * "fields": {
80
- * "flagged": true,
81
- * "sprint": {
82
- * "id": 37,
83
- * "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/13",
84
- * "state": "future",
85
- * "name": "sprint 2",
86
- * "goal": "sprint 2 goal"
87
- * },
88
- * "closedSprints": [
89
- * {
90
- * "id": 37,
91
- * "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/23",
92
- * "state": "closed",
93
- * "name": "sprint 1",
94
- * "startDate": "2015-04-11T15:22:00.000+10:00",
95
- * "endDate": "2015-04-20T01:22:00.000+10:00",
96
- * "completeDate": "2015-04-20T11:04:00.000+10:00",
97
- * "goal": "sprint 1 goal"
98
- * }
99
- * ],
100
- * "description": "example bug report",
101
- * "project": {
102
- * "avatarUrls": {
103
- * "16x16":
104
- * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
105
- * "24x24":
106
- * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
107
- * "32x32":
108
- * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
109
- * "48x48":
110
- * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
111
- * },
112
- * "id": "10000",
113
- * "insight": {
114
- * "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
115
- * "totalIssueCount": 100
116
- * },
117
- * "key": "EX",
118
- * "name": "Example",
119
- * "projectCategory": {
120
- * "description": "First Project Category",
121
- * "id": "10000",
122
- * "name": "FIRST",
123
- * "self":
124
- * "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
125
- * },
126
- * "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
127
- * "simplified": false,
128
- * "style": "classic"
129
- * },
130
- * "comment": [
131
- * {
132
- * "author": {
133
- * "accountId": "5b10a2844c20165700ede21g",
134
- * "active": false,
135
- * "displayName": "Mia Krystof",
136
- * "self":
137
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
138
- * },
139
- * "body": {
140
- * "type": "doc",
141
- * "version": 1,
142
- * "content": [
143
- * {
144
- * "type": "paragraph",
145
- * "content": [
146
- * {
147
- * "type": "text",
148
- * "text": "Lorem ipsum dolor sit amet, consectetur adipiscing
149
- * elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis
150
- * fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper."
151
- * }
152
- * ]
153
- * }
154
- * ]
155
- * },
156
- * "created": "2021-01-17T12:34:00.000+0000",
157
- * "id": "10000",
158
- * "self":
159
- * "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
160
- * "updateAuthor": {
161
- * "accountId": "5b10a2844c20165700ede21g",
162
- * "active": false,
163
- * "displayName": "Mia Krystof",
164
- * "self":
165
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
166
- * },
167
- * "updated": "2021-01-18T23:45:00.000+0000",
168
- * "visibility": {
169
- * "identifier": "Administrators",
170
- * "type": "role",
171
- * "value": "Administrators"
172
- * }
173
- * }
174
- * ],
175
- * "epic": {
176
- * "id": 37,
177
- * "self": "https://your-domain.atlassian.net/rest/agile/1.0/epic/23",
178
- * "name": "epic 1",
179
- * "summary": "epic 1 summary",
180
- * "color": {
181
- * "key": "color_4"
182
- * },
183
- * "done": true
184
- * },
185
- * "worklog": [
186
- * {
187
- * "author": {
188
- * "accountId": "5b10a2844c20165700ede21g",
189
- * "active": false,
190
- * "displayName": "Mia Krystof",
191
- * "self":
192
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
193
- * },
194
- * "comment": {
195
- * "type": "doc",
196
- * "version": 1,
197
- * "content": [
198
- * {
199
- * "type": "paragraph",
200
- * "content": [
201
- * {
202
- * "type": "text",
203
- * "text": "I did some work here."
204
- * }
205
- * ]
206
- * }
207
- * ]
208
- * },
209
- * "id": "100028",
210
- * "issueId": "10002",
211
- * "self":
212
- * "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
213
- * "started": "2021-01-17T12:34:00.000+0000",
214
- * "timeSpent": "3h 20m",
215
- * "timeSpentSeconds": 12000,
216
- * "updateAuthor": {
217
- * "accountId": "5b10a2844c20165700ede21g",
218
- * "active": false,
219
- * "displayName": "Mia Krystof",
220
- * "self":
221
- * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
222
- * },
223
- * "updated": "2021-01-18T23:45:00.000+0000",
224
- * "visibility": {
225
- * "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
226
- * "type": "group",
227
- * "value": "jira-developers"
228
- * }
229
- * }
230
- * ],
231
- * "updated": 1,
232
- * "timetracking": {
233
- * "originalEstimate": "10m",
234
- * "originalEstimateSeconds": 600,
235
- * "remainingEstimate": "3m",
236
- * "remainingEstimateSeconds": 200,
237
- * "timeSpent": "6m",
238
- * "timeSpentSeconds": 400
239
- * }
240
- * },
241
- * "id": "10001",
242
- * "key": "HSP-1",
243
- * "self":
244
- * "https://your-domain.atlassian.net/rest/agile/1.0/board/92/issue/10001"
245
- * }
246
- * @path {GET} /rest/agile/1.0/issue/{issueIdOrKey}
247
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue#api-rest-agile-1-0-issue-issueidorkey-get
248
- */
249
- getIssue({ issueIdOrKey, fields, expand, updateHistory, }) {
250
- return this.getClientInstance()
251
- .request({
252
- path: "/rest/agile/1.0/issue/{issueIdOrKey}",
253
- method: "GET",
254
- pathParams: {
255
- issueIdOrKey,
256
- },
257
- query: {
258
- fields,
259
- expand,
260
- updateHistory,
261
- },
262
- })
263
- .then(this.getClientInstance().responseHandler({
264
- 200: {
265
- "application/json": "json",
266
- },
267
- }))
268
- .then(commonHttpClient.castResponse())
269
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueService.getIssue.response"))
270
- .then(commonHttpClient.getBody);
271
- }
272
- /**
273
- * Returns the estimation of the issue and a fieldId of the field that is used for
274
- * it. `boardId` param is required. This param determines which field will be
275
- * updated on a issue.
276
- *
277
- * Original time internally stores and returns the estimation as a number of
278
- * seconds.
279
- *
280
- * The field used for estimation on the given board can be obtained from [board
281
- * configuration resource](#agile/1.0/board-getConfiguration). More information
282
- * about the field are returned by [edit meta
283
- * resource](#api-rest-api-3-issue-getEditIssueMeta) or [field
284
- * resource](#api-rest-api-3-field-get).
285
- *
286
- * @returns Returns the estimation of the issue and a fieldId of the field that is used for
287
- * it.
288
- *
289
- * example: {
290
- * "fieldId": "customfield_12532",
291
- * "value": "8.0"
292
- * }
293
- * @path {GET} /rest/agile/1.0/issue/{issueIdOrKey}/estimation
294
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue#api-rest-agile-1-0-issue-issueidorkey-estimation-get
295
- */
296
- getIssueEstimationForBoard({ issueIdOrKey, boardId, }) {
297
- return this.getClientInstance()
298
- .request({
299
- path: "/rest/agile/1.0/issue/{issueIdOrKey}/estimation",
300
- method: "GET",
301
- pathParams: {
302
- issueIdOrKey,
303
- },
304
- query: {
305
- boardId,
306
- },
307
- })
308
- .then(this.getClientInstance().responseHandler({
309
- 200: {
310
- "application/json": "json",
311
- },
312
- }))
313
- .then(commonHttpClient.castResponse())
314
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueService.getIssueEstimationForBoard.response"))
315
- .then(commonHttpClient.getBody);
316
- }
317
- /**
318
- * Moves (ranks) issues before or after a given issue. At most 50 issues may be
319
- * ranked at once.
320
- *
321
- * This operation may fail for some issues, although this will be rare. In that
322
- * case the 207 status code is returned for the whole response and detailed
323
- * information regarding each issue is available in the response body.
324
- *
325
- * If rankCustomFieldId is not defined, the default rank field will be used.
326
- *
327
- * @returns Returns the list of issue with status of rank operation.
328
- *
329
- * example: {
330
- * "entries": [
331
- * {
332
- * "issueId": 10000,
333
- * "issueKey": "PR-1",
334
- * "status": 200
335
- * },
336
- * {
337
- * "issueId": 10001,
338
- * "issueKey": "PR-2",
339
- * "status": 200
340
- * },
341
- * {
342
- * "errors": [
343
- * "JIRA Agile cannot execute the rank operation at this time. Please try
344
- * again later."
345
- * ],
346
- * "issueId": 10002,
347
- * "issueKey": "PR-3",
348
- * "status": 503
349
- * }
350
- * ]
351
- * }
352
- * @path {PUT} /rest/agile/1.0/issue/rank
353
- * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue#api-rest-agile-1-0-issue-rank-put
354
- */
355
- rankIssues({ issueRankRequestBean, }) {
356
- return this.getClientInstance()
357
- .request({
358
- path: "/rest/agile/1.0/issue/rank",
359
- method: "PUT",
360
- headers: {
361
- "Content-Type": "application/json",
362
- },
363
- body: issueRankRequestBean,
364
- })
365
- .then(this.getClientInstance().responseHandler({
366
- 204: {},
367
- 207: {
368
- "application/json": "json",
369
- },
370
- }))
371
- .then(commonHttpClient.castResponse())
372
- .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueService.rankIssues.response"))
373
- .then(commonHttpClient.getBody);
18
+ constructor() {
19
+ super(...arguments);
20
+ /**
21
+ * Updates the estimation of the issue. boardId param is required. This param
22
+ * determines which field will be updated on a issue.
23
+ *
24
+ * Note that this resource changes the estimation field of the issue regardless of
25
+ * appearance the field on the screen.
26
+ *
27
+ * Original time tracking estimation field accepts estimation in formats like
28
+ * "1w", "2d", "3h", "20m" or number which represent number of minutes. However,
29
+ * internally the field stores and returns the estimation as a number of seconds.
30
+ *
31
+ * The field used for estimation on the given board can be obtained from [board
32
+ * configuration resource](#agile/1.0/board-getConfiguration). More information
33
+ * about the field are returned by [edit meta
34
+ * resource](#api-rest-api-3-issue-issueIdOrKey-editmeta-get) or [field
35
+ * resource](#api-rest-api-3-field-get).
36
+ *
37
+ * @returns Returns the estimation of the issue and a fieldId of the field that is used for
38
+ * it.
39
+ *
40
+ * example: {
41
+ * "fieldId": "customfield_12532",
42
+ * "value": "8.0"
43
+ * }
44
+ * @path {PUT} /rest/agile/1.0/issue/{issueIdOrKey}/estimation
45
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue#api-rest-agile-1-0-issue-issueidorkey-estimation-put
46
+ */
47
+ this.estimateIssueForBoard = ({ issueIdOrKey, boardId, fieldEditBean, }) => {
48
+ return this.getClientInstance()
49
+ .request({
50
+ path: "/rest/agile/1.0/issue/{issueIdOrKey}/estimation",
51
+ method: "PUT",
52
+ pathParams: {
53
+ issueIdOrKey,
54
+ },
55
+ query: {
56
+ boardId,
57
+ },
58
+ headers: {
59
+ "Content-Type": "application/json",
60
+ },
61
+ body: fieldEditBean,
62
+ })
63
+ .then(this.getClientInstance().responseHandler({
64
+ 200: {
65
+ "application/json": "json",
66
+ },
67
+ }))
68
+ .then(commonHttpClient.castResponse())
69
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueService.estimateIssueForBoard.response"))
70
+ .then(commonHttpClient.getBody);
71
+ };
72
+ /**
73
+ * Returns a single issue, for a given issue ID or issue key. Issues returned from
74
+ * this resource include Agile fields, like sprint, closedSprints, flagged, and
75
+ * epic.
76
+ *
77
+ * @returns Returns the requested issue.
78
+ *
79
+ * example: {
80
+ * "expand": "",
81
+ * "fields": {
82
+ * "flagged": true,
83
+ * "sprint": {
84
+ * "id": 37,
85
+ * "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/13",
86
+ * "state": "future",
87
+ * "name": "sprint 2",
88
+ * "goal": "sprint 2 goal"
89
+ * },
90
+ * "closedSprints": [
91
+ * {
92
+ * "id": 37,
93
+ * "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/23",
94
+ * "state": "closed",
95
+ * "name": "sprint 1",
96
+ * "startDate": "2015-04-11T15:22:00.000+10:00",
97
+ * "endDate": "2015-04-20T01:22:00.000+10:00",
98
+ * "completeDate": "2015-04-20T11:04:00.000+10:00",
99
+ * "goal": "sprint 1 goal"
100
+ * }
101
+ * ],
102
+ * "description": "example bug report",
103
+ * "project": {
104
+ * "avatarUrls": {
105
+ * "16x16":
106
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
107
+ * "24x24":
108
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
109
+ * "32x32":
110
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
111
+ * "48x48":
112
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
113
+ * },
114
+ * "id": "10000",
115
+ * "insight": {
116
+ * "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
117
+ * "totalIssueCount": 100
118
+ * },
119
+ * "key": "EX",
120
+ * "name": "Example",
121
+ * "projectCategory": {
122
+ * "description": "First Project Category",
123
+ * "id": "10000",
124
+ * "name": "FIRST",
125
+ * "self":
126
+ * "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
127
+ * },
128
+ * "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
129
+ * "simplified": false,
130
+ * "style": "classic"
131
+ * },
132
+ * "comment": [
133
+ * {
134
+ * "author": {
135
+ * "accountId": "5b10a2844c20165700ede21g",
136
+ * "active": false,
137
+ * "displayName": "Mia Krystof",
138
+ * "self":
139
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
140
+ * },
141
+ * "body": {
142
+ * "type": "doc",
143
+ * "version": 1,
144
+ * "content": [
145
+ * {
146
+ * "type": "paragraph",
147
+ * "content": [
148
+ * {
149
+ * "type": "text",
150
+ * "text": "Lorem ipsum dolor sit amet, consectetur adipiscing
151
+ * elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis
152
+ * fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper."
153
+ * }
154
+ * ]
155
+ * }
156
+ * ]
157
+ * },
158
+ * "created": "2021-01-17T12:34:00.000+0000",
159
+ * "id": "10000",
160
+ * "self":
161
+ * "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
162
+ * "updateAuthor": {
163
+ * "accountId": "5b10a2844c20165700ede21g",
164
+ * "active": false,
165
+ * "displayName": "Mia Krystof",
166
+ * "self":
167
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
168
+ * },
169
+ * "updated": "2021-01-18T23:45:00.000+0000",
170
+ * "visibility": {
171
+ * "identifier": "Administrators",
172
+ * "type": "role",
173
+ * "value": "Administrators"
174
+ * }
175
+ * }
176
+ * ],
177
+ * "epic": {
178
+ * "id": 37,
179
+ * "self": "https://your-domain.atlassian.net/rest/agile/1.0/epic/23",
180
+ * "name": "epic 1",
181
+ * "summary": "epic 1 summary",
182
+ * "color": {
183
+ * "key": "color_4"
184
+ * },
185
+ * "done": true
186
+ * },
187
+ * "worklog": [
188
+ * {
189
+ * "author": {
190
+ * "accountId": "5b10a2844c20165700ede21g",
191
+ * "active": false,
192
+ * "displayName": "Mia Krystof",
193
+ * "self":
194
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
195
+ * },
196
+ * "comment": {
197
+ * "type": "doc",
198
+ * "version": 1,
199
+ * "content": [
200
+ * {
201
+ * "type": "paragraph",
202
+ * "content": [
203
+ * {
204
+ * "type": "text",
205
+ * "text": "I did some work here."
206
+ * }
207
+ * ]
208
+ * }
209
+ * ]
210
+ * },
211
+ * "id": "100028",
212
+ * "issueId": "10002",
213
+ * "self":
214
+ * "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
215
+ * "started": "2021-01-17T12:34:00.000+0000",
216
+ * "timeSpent": "3h 20m",
217
+ * "timeSpentSeconds": 12000,
218
+ * "updateAuthor": {
219
+ * "accountId": "5b10a2844c20165700ede21g",
220
+ * "active": false,
221
+ * "displayName": "Mia Krystof",
222
+ * "self":
223
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
224
+ * },
225
+ * "updated": "2021-01-18T23:45:00.000+0000",
226
+ * "visibility": {
227
+ * "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
228
+ * "type": "group",
229
+ * "value": "jira-developers"
230
+ * }
231
+ * }
232
+ * ],
233
+ * "updated": 1,
234
+ * "timetracking": {
235
+ * "originalEstimate": "10m",
236
+ * "originalEstimateSeconds": 600,
237
+ * "remainingEstimate": "3m",
238
+ * "remainingEstimateSeconds": 200,
239
+ * "timeSpent": "6m",
240
+ * "timeSpentSeconds": 400
241
+ * }
242
+ * },
243
+ * "id": "10001",
244
+ * "key": "HSP-1",
245
+ * "self":
246
+ * "https://your-domain.atlassian.net/rest/agile/1.0/board/92/issue/10001"
247
+ * }
248
+ * @path {GET} /rest/agile/1.0/issue/{issueIdOrKey}
249
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue#api-rest-agile-1-0-issue-issueidorkey-get
250
+ */
251
+ this.getIssue = ({ issueIdOrKey, fields, expand, updateHistory, }) => {
252
+ return this.getClientInstance()
253
+ .request({
254
+ path: "/rest/agile/1.0/issue/{issueIdOrKey}",
255
+ method: "GET",
256
+ pathParams: {
257
+ issueIdOrKey,
258
+ },
259
+ query: {
260
+ fields,
261
+ expand,
262
+ updateHistory,
263
+ },
264
+ })
265
+ .then(this.getClientInstance().responseHandler({
266
+ 200: {
267
+ "application/json": "json",
268
+ },
269
+ }))
270
+ .then(commonHttpClient.castResponse())
271
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueService.getIssue.response"))
272
+ .then(commonHttpClient.getBody);
273
+ };
274
+ /**
275
+ * Returns the estimation of the issue and a fieldId of the field that is used for
276
+ * it. `boardId` param is required. This param determines which field will be
277
+ * updated on a issue.
278
+ *
279
+ * Original time internally stores and returns the estimation as a number of
280
+ * seconds.
281
+ *
282
+ * The field used for estimation on the given board can be obtained from [board
283
+ * configuration resource](#agile/1.0/board-getConfiguration). More information
284
+ * about the field are returned by [edit meta
285
+ * resource](#api-rest-api-3-issue-getEditIssueMeta) or [field
286
+ * resource](#api-rest-api-3-field-get).
287
+ *
288
+ * @returns Returns the estimation of the issue and a fieldId of the field that is used for
289
+ * it.
290
+ *
291
+ * example: {
292
+ * "fieldId": "customfield_12532",
293
+ * "value": "8.0"
294
+ * }
295
+ * @path {GET} /rest/agile/1.0/issue/{issueIdOrKey}/estimation
296
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue#api-rest-agile-1-0-issue-issueidorkey-estimation-get
297
+ */
298
+ this.getIssueEstimationForBoard = ({ issueIdOrKey, boardId, }) => {
299
+ return this.getClientInstance()
300
+ .request({
301
+ path: "/rest/agile/1.0/issue/{issueIdOrKey}/estimation",
302
+ method: "GET",
303
+ pathParams: {
304
+ issueIdOrKey,
305
+ },
306
+ query: {
307
+ boardId,
308
+ },
309
+ })
310
+ .then(this.getClientInstance().responseHandler({
311
+ 200: {
312
+ "application/json": "json",
313
+ },
314
+ }))
315
+ .then(commonHttpClient.castResponse())
316
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueService.getIssueEstimationForBoard.response"))
317
+ .then(commonHttpClient.getBody);
318
+ };
319
+ /**
320
+ * Moves (ranks) issues before or after a given issue. At most 50 issues may be
321
+ * ranked at once.
322
+ *
323
+ * This operation may fail for some issues, although this will be rare. In that
324
+ * case the 207 status code is returned for the whole response and detailed
325
+ * information regarding each issue is available in the response body.
326
+ *
327
+ * If rankCustomFieldId is not defined, the default rank field will be used.
328
+ *
329
+ * @returns Returns the list of issue with status of rank operation.
330
+ *
331
+ * example: {
332
+ * "entries": [
333
+ * {
334
+ * "issueId": 10000,
335
+ * "issueKey": "PR-1",
336
+ * "status": 200
337
+ * },
338
+ * {
339
+ * "issueId": 10001,
340
+ * "issueKey": "PR-2",
341
+ * "status": 200
342
+ * },
343
+ * {
344
+ * "errors": [
345
+ * "JIRA Agile cannot execute the rank operation at this time. Please try
346
+ * again later."
347
+ * ],
348
+ * "issueId": 10002,
349
+ * "issueKey": "PR-3",
350
+ * "status": 503
351
+ * }
352
+ * ]
353
+ * }
354
+ * @path {PUT} /rest/agile/1.0/issue/rank
355
+ * @see https://developer.atlassian.com/cloud/jira/software/rest/api-group-issue#api-rest-agile-1-0-issue-rank-put
356
+ */
357
+ this.rankIssues = ({ issueRankRequestBean, }) => {
358
+ return this.getClientInstance()
359
+ .request({
360
+ path: "/rest/agile/1.0/issue/rank",
361
+ method: "PUT",
362
+ headers: {
363
+ "Content-Type": "application/json",
364
+ },
365
+ body: issueRankRequestBean,
366
+ })
367
+ .then(this.getClientInstance().responseHandler({
368
+ 204: {},
369
+ 207: {
370
+ "application/json": "json",
371
+ },
372
+ }))
373
+ .then(commonHttpClient.castResponse())
374
+ .then(validationSchemaStorage_1.validationSchemaStorage.validator("IssueService.rankIssues.response"))
375
+ .then(commonHttpClient.getBody);
376
+ };
374
377
  }
375
378
  static initialize() {
376
379
  validationSchemaStorage_1.validationSchemaStorage.registerExtensible("IssueService.getIssue.response", zod_1.z