@resolution/jira-api-client 0.4.2 → 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 (327) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +4 -0
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +28 -4
  4. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +24 -1
  5. package/lib/openapi/platform/BaseJiraPlatformApiClient.js.map +1 -1
  6. package/lib/openapi/platform/models/common.d.ts +6 -0
  7. package/lib/openapi/platform/models/common.js +12 -1
  8. package/lib/openapi/platform/models/common.js.map +1 -1
  9. package/lib/openapi/platform/models/dynamicModules.d.ts +0 -9
  10. package/lib/openapi/platform/models/dynamicModules.js +0 -6
  11. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  12. package/lib/openapi/platform/models/issueBulkOperations.d.ts +547 -0
  13. package/lib/openapi/platform/models/issueBulkOperations.js +437 -0
  14. package/lib/openapi/platform/models/issueBulkOperations.js.map +1 -0
  15. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +3 -3
  16. package/lib/openapi/platform/services/AnnouncementBannerService.js +65 -62
  17. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  18. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +4 -4
  19. package/lib/openapi/platform/services/AppDataPoliciesService.js +70 -67
  20. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  21. package/lib/openapi/platform/services/AppMigrationService.d.ts +6 -6
  22. package/lib/openapi/platform/services/AppMigrationService.js +139 -136
  23. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  24. package/lib/openapi/platform/services/AppPropertiesService.d.ts +12 -12
  25. package/lib/openapi/platform/services/AppPropertiesService.js +254 -251
  26. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  27. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +3 -3
  28. package/lib/openapi/platform/services/ApplicationRolesService.js +177 -174
  29. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  30. package/lib/openapi/platform/services/AuditRecordsService.d.ts +7 -7
  31. package/lib/openapi/platform/services/AuditRecordsService.js +97 -94
  32. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  33. package/lib/openapi/platform/services/AvatarsService.d.ts +25 -31
  34. package/lib/openapi/platform/services/AvatarsService.js +412 -415
  35. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  36. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +4 -4
  37. package/lib/openapi/platform/services/ClassificationLevelsService.js +79 -76
  38. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  39. package/lib/openapi/platform/services/DashboardsService.d.ts +62 -50
  40. package/lib/openapi/platform/services/DashboardsService.js +983 -974
  41. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  42. package/lib/openapi/platform/services/DynamicModulesService.d.ts +6 -6
  43. package/lib/openapi/platform/services/DynamicModulesService.js +68 -65
  44. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  45. package/lib/openapi/platform/services/FilterSharingService.d.ts +11 -11
  46. package/lib/openapi/platform/services/FilterSharingService.js +512 -509
  47. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  48. package/lib/openapi/platform/services/FiltersService.d.ts +50 -50
  49. package/lib/openapi/platform/services/FiltersService.js +1262 -1259
  50. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  51. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +10 -10
  52. package/lib/openapi/platform/services/GroupAndUserPickerService.js +112 -109
  53. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  54. package/lib/openapi/platform/services/GroupsService.d.ts +46 -46
  55. package/lib/openapi/platform/services/GroupsService.js +385 -382
  56. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  57. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +20 -20
  58. package/lib/openapi/platform/services/IssueAttachmentsService.js +644 -641
  59. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  60. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +325 -0
  61. package/lib/openapi/platform/services/IssueBulkOperationsService.js +353 -0
  62. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -0
  63. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +8 -8
  64. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +187 -184
  65. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  66. package/lib/openapi/platform/services/IssueCommentsService.d.ts +22 -22
  67. package/lib/openapi/platform/services/IssueCommentsService.js +507 -504
  68. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  69. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +11 -11
  70. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +126 -123
  71. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  72. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +42 -42
  73. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +748 -745
  74. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  75. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +28 -28
  76. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +535 -532
  77. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  78. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +20 -20
  79. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +358 -355
  80. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  81. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +6 -6
  82. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +86 -83
  83. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  84. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +45 -45
  85. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +689 -686
  86. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  87. package/lib/openapi/platform/services/IssueFieldsService.d.ts +32 -32
  88. package/lib/openapi/platform/services/IssueFieldsService.js +484 -481
  89. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  90. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +9 -9
  91. package/lib/openapi/platform/services/IssueLinkTypesService.js +212 -209
  92. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  93. package/lib/openapi/platform/services/IssueLinksService.d.ts +6 -6
  94. package/lib/openapi/platform/services/IssueLinksService.js +230 -227
  95. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  96. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +3 -3
  97. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +72 -69
  98. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  99. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +27 -27
  100. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +816 -813
  101. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  102. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +22 -22
  103. package/lib/openapi/platform/services/IssuePrioritiesService.js +307 -304
  104. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  105. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +16 -16
  106. package/lib/openapi/platform/services/IssuePropertiesService.js +390 -387
  107. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  108. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +13 -13
  109. package/lib/openapi/platform/services/IssueRemoteLinksService.js +368 -365
  110. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  111. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +19 -19
  112. package/lib/openapi/platform/services/IssueResolutionsService.js +283 -280
  113. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  114. package/lib/openapi/platform/services/IssueSearchService.d.ts +24 -24
  115. package/lib/openapi/platform/services/IssueSearchService.js +826 -823
  116. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  117. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +8 -8
  118. package/lib/openapi/platform/services/IssueSecurityLevelService.js +137 -134
  119. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  120. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +51 -51
  121. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +610 -607
  122. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  123. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +8 -8
  124. package/lib/openapi/platform/services/IssueTypePropertiesService.js +175 -172
  125. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  126. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +31 -31
  127. package/lib/openapi/platform/services/IssueTypeSchemesService.js +527 -524
  128. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  129. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +36 -36
  130. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +508 -505
  131. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  132. package/lib/openapi/platform/services/IssueTypesService.d.ts +22 -28
  133. package/lib/openapi/platform/services/IssueTypesService.js +424 -427
  134. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  135. package/lib/openapi/platform/services/IssueVotesService.d.ts +6 -6
  136. package/lib/openapi/platform/services/IssueVotesService.js +148 -145
  137. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  138. package/lib/openapi/platform/services/IssueWatchersService.d.ts +10 -10
  139. package/lib/openapi/platform/services/IssueWatchersService.js +197 -194
  140. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  141. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +8 -8
  142. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +199 -196
  143. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  144. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +44 -44
  145. package/lib/openapi/platform/services/IssueWorklogsService.js +636 -633
  146. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  147. package/lib/openapi/platform/services/IssuesService.d.ts +71 -71
  148. package/lib/openapi/platform/services/IssuesService.js +1856 -1853
  149. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  150. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +6 -6
  151. package/lib/openapi/platform/services/JiraExpressionsService.js +238 -235
  152. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  153. package/lib/openapi/platform/services/JiraSettingsService.d.ts +9 -9
  154. package/lib/openapi/platform/services/JiraSettingsService.js +279 -276
  155. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  156. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +8 -8
  157. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +107 -104
  158. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  159. package/lib/openapi/platform/services/JqlService.d.ts +15 -15
  160. package/lib/openapi/platform/services/JqlService.js +635 -632
  161. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  162. package/lib/openapi/platform/services/LabelsService.d.ts +4 -4
  163. package/lib/openapi/platform/services/LabelsService.js +41 -38
  164. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  165. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +4 -4
  166. package/lib/openapi/platform/services/LicenseMetricsService.js +120 -117
  167. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  168. package/lib/openapi/platform/services/MyselfService.d.ts +14 -14
  169. package/lib/openapi/platform/services/MyselfService.js +321 -318
  170. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  171. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +25 -25
  172. package/lib/openapi/platform/services/PermissionSchemesService.js +548 -545
  173. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  174. package/lib/openapi/platform/services/PermissionsService.d.ts +15 -15
  175. package/lib/openapi/platform/services/PermissionsService.js +235 -232
  176. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  177. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +34 -34
  178. package/lib/openapi/platform/services/PrioritySchemesService.js +571 -568
  179. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  180. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +11 -11
  181. package/lib/openapi/platform/services/ProjectAvatarsService.js +213 -210
  182. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  183. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +9 -9
  184. package/lib/openapi/platform/services/ProjectCategoriesService.js +180 -177
  185. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  186. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +6 -6
  187. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +125 -122
  188. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  189. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +28 -28
  190. package/lib/openapi/platform/services/ProjectComponentsService.js +1009 -1006
  191. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  192. package/lib/openapi/platform/services/ProjectEmailService.d.ts +4 -4
  193. package/lib/openapi/platform/services/ProjectEmailService.js +78 -75
  194. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  195. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +4 -4
  196. package/lib/openapi/platform/services/ProjectFeaturesService.js +119 -116
  197. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  198. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +8 -8
  199. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +100 -97
  200. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  201. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +10 -10
  202. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +199 -196
  203. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  204. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +8 -8
  205. package/lib/openapi/platform/services/ProjectPropertiesService.js +172 -169
  206. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  207. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +18 -18
  208. package/lib/openapi/platform/services/ProjectRoleActorsService.js +362 -359
  209. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  210. package/lib/openapi/platform/services/ProjectRolesService.d.ts +21 -21
  211. package/lib/openapi/platform/services/ProjectRolesService.js +576 -573
  212. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  213. package/lib/openapi/platform/services/ProjectTypesService.d.ts +6 -6
  214. package/lib/openapi/platform/services/ProjectTypesService.js +173 -170
  215. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  216. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +40 -40
  217. package/lib/openapi/platform/services/ProjectVersionsService.js +751 -748
  218. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  219. package/lib/openapi/platform/services/ProjectsService.d.ts +49 -49
  220. package/lib/openapi/platform/services/ProjectsService.js +1597 -1594
  221. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  222. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +14 -14
  223. package/lib/openapi/platform/services/ScreenSchemesService.js +177 -174
  224. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  225. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +9 -9
  226. package/lib/openapi/platform/services/ScreenTabFieldsService.js +144 -141
  227. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  228. package/lib/openapi/platform/services/ScreenTabsService.d.ts +17 -17
  229. package/lib/openapi/platform/services/ScreenTabsService.js +229 -226
  230. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  231. package/lib/openapi/platform/services/ScreensService.d.ts +23 -23
  232. package/lib/openapi/platform/services/ScreensService.js +281 -278
  233. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  234. package/lib/openapi/platform/services/ServerInfoService.d.ts +1 -1
  235. package/lib/openapi/platform/services/ServerInfoService.js +51 -48
  236. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  237. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +2 -2
  238. package/lib/openapi/platform/services/ServiceRegistryService.js +30 -27
  239. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  240. package/lib/openapi/platform/services/StatusService.d.ts +17 -17
  241. package/lib/openapi/platform/services/StatusService.js +271 -268
  242. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  243. package/lib/openapi/platform/services/TasksService.d.ts +4 -4
  244. package/lib/openapi/platform/services/TasksService.js +93 -90
  245. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  246. package/lib/openapi/platform/services/TimeTrackingService.d.ts +7 -7
  247. package/lib/openapi/platform/services/TimeTrackingService.js +190 -187
  248. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  249. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +11 -11
  250. package/lib/openapi/platform/services/UiModificationsAppsService.js +214 -211
  251. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  252. package/lib/openapi/platform/services/UserPropertiesService.d.ts +20 -20
  253. package/lib/openapi/platform/services/UserPropertiesService.js +196 -193
  254. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  255. package/lib/openapi/platform/services/UserSearchService.d.ts +61 -61
  256. package/lib/openapi/platform/services/UserSearchService.js +709 -706
  257. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  258. package/lib/openapi/platform/services/UsersService.d.ts +51 -51
  259. package/lib/openapi/platform/services/UsersService.js +637 -634
  260. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  261. package/lib/openapi/platform/services/WebhooksService.d.ts +14 -14
  262. package/lib/openapi/platform/services/WebhooksService.js +262 -259
  263. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  264. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +30 -30
  265. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +861 -858
  266. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  267. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +4 -4
  268. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +98 -95
  269. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  270. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +45 -45
  271. package/lib/openapi/platform/services/WorkflowSchemesService.js +899 -896
  272. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  273. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +3 -3
  274. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +82 -79
  275. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  276. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +3 -3
  277. package/lib/openapi/platform/services/WorkflowStatusesService.js +110 -107
  278. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  279. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +14 -14
  280. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +182 -179
  281. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  282. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +13 -13
  283. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +283 -280
  284. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  285. package/lib/openapi/platform/services/WorkflowsService.d.ts +33 -33
  286. package/lib/openapi/platform/services/WorkflowsService.js +2451 -2448
  287. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  288. package/lib/openapi/software/services/BacklogService.d.ts +4 -4
  289. package/lib/openapi/software/services/BacklogService.js +81 -78
  290. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  291. package/lib/openapi/software/services/BoardService.d.ts +124 -124
  292. package/lib/openapi/software/services/BoardService.js +2048 -2045
  293. package/lib/openapi/software/services/BoardService.js.map +1 -1
  294. package/lib/openapi/software/services/BuildsService.d.ts +10 -10
  295. package/lib/openapi/software/services/BuildsService.js +164 -161
  296. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  297. package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
  298. package/lib/openapi/software/services/DeploymentsService.js +192 -189
  299. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  300. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +8 -8
  301. package/lib/openapi/software/services/DevOpsComponentsService.js +145 -142
  302. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  303. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +16 -16
  304. package/lib/openapi/software/services/DevelopmentInformationService.js +178 -175
  305. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  306. package/lib/openapi/software/services/EpicService.d.ts +26 -26
  307. package/lib/openapi/software/services/EpicService.js +597 -594
  308. package/lib/openapi/software/services/EpicService.js.map +1 -1
  309. package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -10
  310. package/lib/openapi/software/services/FeatureFlagsService.js +151 -148
  311. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  312. package/lib/openapi/software/services/IssueService.d.ts +13 -13
  313. package/lib/openapi/software/services/IssueService.js +359 -356
  314. package/lib/openapi/software/services/IssueService.js.map +1 -1
  315. package/lib/openapi/software/services/OperationsService.d.ts +24 -24
  316. package/lib/openapi/software/services/OperationsService.js +301 -298
  317. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  318. package/lib/openapi/software/services/RemoteLinksService.d.ts +15 -15
  319. package/lib/openapi/software/services/RemoteLinksService.js +160 -157
  320. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  321. package/lib/openapi/software/services/SecurityInformationService.d.ts +16 -16
  322. package/lib/openapi/software/services/SecurityInformationService.js +262 -259
  323. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  324. package/lib/openapi/software/services/SprintService.d.ts +33 -33
  325. package/lib/openapi/software/services/SprintService.js +594 -591
  326. package/lib/openapi/software/services/SprintService.js.map +1 -1
  327. 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