@resolution/jira-api-client 0.5.2 → 0.5.3

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 (375) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/lib/openapi/platform/BaseJiraPlatformApiClient.d.ts +1 -1
  3. package/lib/openapi/platform/BaseJiraPlatformApiClient.js +1 -1
  4. package/lib/openapi/platform/models/appMigration.d.ts +12 -6
  5. package/lib/openapi/platform/models/appMigration.js.map +1 -1
  6. package/lib/openapi/platform/models/appProperties.d.ts +2 -1
  7. package/lib/openapi/platform/models/appProperties.js.map +1 -1
  8. package/lib/openapi/platform/models/dynamicModules.d.ts +4 -2
  9. package/lib/openapi/platform/models/dynamicModules.js.map +1 -1
  10. package/lib/openapi/platform/models/issues.d.ts +12 -7
  11. package/lib/openapi/platform/models/issues.js.map +1 -1
  12. package/lib/openapi/platform/models/jiraExpressions.d.ts +7 -5
  13. package/lib/openapi/platform/models/jiraExpressions.js.map +1 -1
  14. package/lib/openapi/platform/models/jql.d.ts +8 -4
  15. package/lib/openapi/platform/models/jql.js.map +1 -1
  16. package/lib/openapi/platform/models/serviceRegistry.d.ts +2 -1
  17. package/lib/openapi/platform/models/serviceRegistry.js.map +1 -1
  18. package/lib/openapi/platform/models/workflows.d.ts +49 -46
  19. package/lib/openapi/platform/models/workflows.js.map +1 -1
  20. package/lib/openapi/platform/services/AnnouncementBannerService.d.ts +11 -8
  21. package/lib/openapi/platform/services/AnnouncementBannerService.js +8 -5
  22. package/lib/openapi/platform/services/AnnouncementBannerService.js.map +1 -1
  23. package/lib/openapi/platform/services/AppDataPoliciesService.d.ts +11 -4
  24. package/lib/openapi/platform/services/AppDataPoliciesService.js +11 -4
  25. package/lib/openapi/platform/services/AppDataPoliciesService.js.map +1 -1
  26. package/lib/openapi/platform/services/AppMigrationService.d.ts +12 -5
  27. package/lib/openapi/platform/services/AppMigrationService.js +10 -4
  28. package/lib/openapi/platform/services/AppMigrationService.js.map +1 -1
  29. package/lib/openapi/platform/services/AppPropertiesService.d.ts +42 -18
  30. package/lib/openapi/platform/services/AppPropertiesService.js +42 -18
  31. package/lib/openapi/platform/services/AppPropertiesService.js.map +1 -1
  32. package/lib/openapi/platform/services/ApplicationRolesService.d.ts +19 -20
  33. package/lib/openapi/platform/services/ApplicationRolesService.js +19 -20
  34. package/lib/openapi/platform/services/ApplicationRolesService.js.map +1 -1
  35. package/lib/openapi/platform/services/AuditRecordsService.d.ts +6 -2
  36. package/lib/openapi/platform/services/AuditRecordsService.js +6 -2
  37. package/lib/openapi/platform/services/AuditRecordsService.js.map +1 -1
  38. package/lib/openapi/platform/services/AvatarsService.d.ts +43 -36
  39. package/lib/openapi/platform/services/AvatarsService.js +43 -36
  40. package/lib/openapi/platform/services/AvatarsService.js.map +1 -1
  41. package/lib/openapi/platform/services/ClassificationLevelsService.d.ts +15 -21
  42. package/lib/openapi/platform/services/ClassificationLevelsService.js +15 -21
  43. package/lib/openapi/platform/services/ClassificationLevelsService.js.map +1 -1
  44. package/lib/openapi/platform/services/DashboardsService.d.ts +139 -145
  45. package/lib/openapi/platform/services/DashboardsService.js +120 -128
  46. package/lib/openapi/platform/services/DashboardsService.js.map +1 -1
  47. package/lib/openapi/platform/services/DynamicModulesService.d.ts +5 -3
  48. package/lib/openapi/platform/services/DynamicModulesService.js +5 -3
  49. package/lib/openapi/platform/services/DynamicModulesService.js.map +1 -1
  50. package/lib/openapi/platform/services/FilterSharingService.d.ts +72 -95
  51. package/lib/openapi/platform/services/FilterSharingService.js +68 -93
  52. package/lib/openapi/platform/services/FilterSharingService.js.map +1 -1
  53. package/lib/openapi/platform/services/FiltersService.d.ts +178 -257
  54. package/lib/openapi/platform/services/FiltersService.js +172 -254
  55. package/lib/openapi/platform/services/FiltersService.js.map +1 -1
  56. package/lib/openapi/platform/services/GroupAndUserPickerService.d.ts +8 -6
  57. package/lib/openapi/platform/services/GroupAndUserPickerService.js +8 -6
  58. package/lib/openapi/platform/services/GroupAndUserPickerService.js.map +1 -1
  59. package/lib/openapi/platform/services/GroupsService.d.ts +42 -26
  60. package/lib/openapi/platform/services/GroupsService.js +38 -24
  61. package/lib/openapi/platform/services/GroupsService.js.map +1 -1
  62. package/lib/openapi/platform/services/IssueAttachmentsService.d.ts +173 -169
  63. package/lib/openapi/platform/services/IssueAttachmentsService.js +173 -169
  64. package/lib/openapi/platform/services/IssueAttachmentsService.js.map +1 -1
  65. package/lib/openapi/platform/services/IssueBulkOperationsService.d.ts +35 -19
  66. package/lib/openapi/platform/services/IssueBulkOperationsService.js +33 -18
  67. package/lib/openapi/platform/services/IssueBulkOperationsService.js.map +1 -1
  68. package/lib/openapi/platform/services/IssueCommentPropertiesService.d.ts +19 -9
  69. package/lib/openapi/platform/services/IssueCommentPropertiesService.js +19 -9
  70. package/lib/openapi/platform/services/IssueCommentPropertiesService.js.map +1 -1
  71. package/lib/openapi/platform/services/IssueCommentsService.d.ts +65 -80
  72. package/lib/openapi/platform/services/IssueCommentsService.js +57 -69
  73. package/lib/openapi/platform/services/IssueCommentsService.js.map +1 -1
  74. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.d.ts +10 -4
  75. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js +8 -3
  76. package/lib/openapi/platform/services/IssueCustomFieldConfigurationAppsService.js.map +1 -1
  77. package/lib/openapi/platform/services/IssueCustomFieldContextsService.d.ts +71 -37
  78. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js +53 -25
  79. package/lib/openapi/platform/services/IssueCustomFieldContextsService.js.map +1 -1
  80. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.d.ts +50 -28
  81. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js +46 -26
  82. package/lib/openapi/platform/services/IssueCustomFieldOptionsAppsService.js.map +1 -1
  83. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.d.ts +37 -16
  84. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js +31 -13
  85. package/lib/openapi/platform/services/IssueCustomFieldOptionsService.js.map +1 -1
  86. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.d.ts +8 -4
  87. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js +4 -2
  88. package/lib/openapi/platform/services/IssueCustomFieldValuesAppsService.js.map +1 -1
  89. package/lib/openapi/platform/services/IssueFieldConfigurationsService.d.ts +75 -32
  90. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js +59 -24
  91. package/lib/openapi/platform/services/IssueFieldConfigurationsService.js.map +1 -1
  92. package/lib/openapi/platform/services/IssueFieldsService.d.ts +56 -46
  93. package/lib/openapi/platform/services/IssueFieldsService.js +50 -40
  94. package/lib/openapi/platform/services/IssueFieldsService.js.map +1 -1
  95. package/lib/openapi/platform/services/IssueLinkTypesService.d.ts +29 -11
  96. package/lib/openapi/platform/services/IssueLinkTypesService.js +25 -9
  97. package/lib/openapi/platform/services/IssueLinkTypesService.js.map +1 -1
  98. package/lib/openapi/platform/services/IssueLinksService.d.ts +20 -23
  99. package/lib/openapi/platform/services/IssueLinksService.js +18 -22
  100. package/lib/openapi/platform/services/IssueLinksService.js.map +1 -1
  101. package/lib/openapi/platform/services/IssueNavigatorSettingsService.d.ts +7 -3
  102. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js +7 -3
  103. package/lib/openapi/platform/services/IssueNavigatorSettingsService.js.map +1 -1
  104. package/lib/openapi/platform/services/IssueNotificationSchemesService.d.ts +63 -69
  105. package/lib/openapi/platform/services/IssueNotificationSchemesService.js +57 -66
  106. package/lib/openapi/platform/services/IssueNotificationSchemesService.js.map +1 -1
  107. package/lib/openapi/platform/services/IssuePrioritiesService.d.ts +44 -26
  108. package/lib/openapi/platform/services/IssuePrioritiesService.js +36 -22
  109. package/lib/openapi/platform/services/IssuePrioritiesService.js.map +1 -1
  110. package/lib/openapi/platform/services/IssuePropertiesService.d.ts +33 -16
  111. package/lib/openapi/platform/services/IssuePropertiesService.js +27 -13
  112. package/lib/openapi/platform/services/IssuePropertiesService.js.map +1 -1
  113. package/lib/openapi/platform/services/IssueRemoteLinksService.d.ts +41 -27
  114. package/lib/openapi/platform/services/IssueRemoteLinksService.js +37 -25
  115. package/lib/openapi/platform/services/IssueRemoteLinksService.js.map +1 -1
  116. package/lib/openapi/platform/services/IssueResolutionsService.d.ts +39 -16
  117. package/lib/openapi/platform/services/IssueResolutionsService.js +31 -12
  118. package/lib/openapi/platform/services/IssueResolutionsService.js.map +1 -1
  119. package/lib/openapi/platform/services/IssueSearchService.d.ts +85 -138
  120. package/lib/openapi/platform/services/IssueSearchService.js +79 -135
  121. package/lib/openapi/platform/services/IssueSearchService.js.map +1 -1
  122. package/lib/openapi/platform/services/IssueSecurityLevelService.d.ts +19 -18
  123. package/lib/openapi/platform/services/IssueSecurityLevelService.js +19 -18
  124. package/lib/openapi/platform/services/IssueSecurityLevelService.js.map +1 -1
  125. package/lib/openapi/platform/services/IssueSecuritySchemesService.d.ts +77 -39
  126. package/lib/openapi/platform/services/IssueSecuritySchemesService.js +63 -32
  127. package/lib/openapi/platform/services/IssueSecuritySchemesService.js.map +1 -1
  128. package/lib/openapi/platform/services/IssueTypePropertiesService.d.ts +21 -10
  129. package/lib/openapi/platform/services/IssueTypePropertiesService.js +19 -9
  130. package/lib/openapi/platform/services/IssueTypePropertiesService.js.map +1 -1
  131. package/lib/openapi/platform/services/IssueTypeSchemesService.d.ts +52 -33
  132. package/lib/openapi/platform/services/IssueTypeSchemesService.js +40 -24
  133. package/lib/openapi/platform/services/IssueTypeSchemesService.js.map +1 -1
  134. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.d.ts +55 -26
  135. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js +43 -20
  136. package/lib/openapi/platform/services/IssueTypeScreenSchemesService.js.map +1 -1
  137. package/lib/openapi/platform/services/IssueTypesService.d.ts +52 -41
  138. package/lib/openapi/platform/services/IssueTypesService.js +48 -39
  139. package/lib/openapi/platform/services/IssueTypesService.js.map +1 -1
  140. package/lib/openapi/platform/services/IssueVotesService.d.ts +16 -16
  141. package/lib/openapi/platform/services/IssueVotesService.js +16 -16
  142. package/lib/openapi/platform/services/IssueVotesService.js.map +1 -1
  143. package/lib/openapi/platform/services/IssueWatchersService.d.ts +19 -9
  144. package/lib/openapi/platform/services/IssueWatchersService.js +17 -8
  145. package/lib/openapi/platform/services/IssueWatchersService.js.map +1 -1
  146. package/lib/openapi/platform/services/IssueWorklogPropertiesService.d.ts +19 -12
  147. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js +19 -12
  148. package/lib/openapi/platform/services/IssueWorklogPropertiesService.js.map +1 -1
  149. package/lib/openapi/platform/services/IssueWorklogsService.d.ts +68 -66
  150. package/lib/openapi/platform/services/IssueWorklogsService.js +62 -63
  151. package/lib/openapi/platform/services/IssueWorklogsService.js.map +1 -1
  152. package/lib/openapi/platform/services/IssuesService.d.ts +224 -226
  153. package/lib/openapi/platform/services/IssuesService.js +195 -207
  154. package/lib/openapi/platform/services/IssuesService.js.map +1 -1
  155. package/lib/openapi/platform/services/JiraExpressionsService.d.ts +24 -23
  156. package/lib/openapi/platform/services/JiraExpressionsService.js +19 -18
  157. package/lib/openapi/platform/services/JiraExpressionsService.js.map +1 -1
  158. package/lib/openapi/platform/services/JiraSettingsService.d.ts +20 -8
  159. package/lib/openapi/platform/services/JiraSettingsService.js +18 -7
  160. package/lib/openapi/platform/services/JiraSettingsService.js.map +1 -1
  161. package/lib/openapi/platform/services/JqlFunctionsAppsService.d.ts +12 -8
  162. package/lib/openapi/platform/services/JqlFunctionsAppsService.js +10 -7
  163. package/lib/openapi/platform/services/JqlFunctionsAppsService.js.map +1 -1
  164. package/lib/openapi/platform/services/JqlService.d.ts +54 -42
  165. package/lib/openapi/platform/services/JqlService.js +43 -31
  166. package/lib/openapi/platform/services/JqlService.js.map +1 -1
  167. package/lib/openapi/platform/services/LabelsService.d.ts +6 -2
  168. package/lib/openapi/platform/services/LabelsService.js +6 -2
  169. package/lib/openapi/platform/services/LabelsService.js.map +1 -1
  170. package/lib/openapi/platform/services/LicenseMetricsService.d.ts +16 -6
  171. package/lib/openapi/platform/services/LicenseMetricsService.js +16 -6
  172. package/lib/openapi/platform/services/LicenseMetricsService.js.map +1 -1
  173. package/lib/openapi/platform/services/MyselfService.d.ts +27 -20
  174. package/lib/openapi/platform/services/MyselfService.js +25 -19
  175. package/lib/openapi/platform/services/MyselfService.js.map +1 -1
  176. package/lib/openapi/platform/services/PermissionSchemesService.d.ts +66 -54
  177. package/lib/openapi/platform/services/PermissionSchemesService.js +60 -51
  178. package/lib/openapi/platform/services/PermissionSchemesService.js.map +1 -1
  179. package/lib/openapi/platform/services/PermissionsService.d.ts +22 -10
  180. package/lib/openapi/platform/services/PermissionsService.js +20 -9
  181. package/lib/openapi/platform/services/PermissionsService.js.map +1 -1
  182. package/lib/openapi/platform/services/PrioritySchemesService.d.ts +58 -24
  183. package/lib/openapi/platform/services/PrioritySchemesService.js +52 -21
  184. package/lib/openapi/platform/services/PrioritySchemesService.js.map +1 -1
  185. package/lib/openapi/platform/services/ProjectAvatarsService.d.ts +26 -23
  186. package/lib/openapi/platform/services/ProjectAvatarsService.js +24 -22
  187. package/lib/openapi/platform/services/ProjectAvatarsService.js.map +1 -1
  188. package/lib/openapi/platform/services/ProjectCategoriesService.d.ts +29 -11
  189. package/lib/openapi/platform/services/ProjectCategoriesService.js +25 -9
  190. package/lib/openapi/platform/services/ProjectCategoriesService.js.map +1 -1
  191. package/lib/openapi/platform/services/ProjectClassificationLevelsService.d.ts +16 -13
  192. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js +13 -10
  193. package/lib/openapi/platform/services/ProjectClassificationLevelsService.js.map +1 -1
  194. package/lib/openapi/platform/services/ProjectComponentsService.d.ts +197 -320
  195. package/lib/openapi/platform/services/ProjectComponentsService.js +193 -318
  196. package/lib/openapi/platform/services/ProjectComponentsService.js.map +1 -1
  197. package/lib/openapi/platform/services/ProjectEmailService.d.ts +10 -4
  198. package/lib/openapi/platform/services/ProjectEmailService.js +8 -3
  199. package/lib/openapi/platform/services/ProjectEmailService.js.map +1 -1
  200. package/lib/openapi/platform/services/ProjectFeaturesService.d.ts +22 -21
  201. package/lib/openapi/platform/services/ProjectFeaturesService.js +20 -20
  202. package/lib/openapi/platform/services/ProjectFeaturesService.js.map +1 -1
  203. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.d.ts +18 -6
  204. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js +18 -6
  205. package/lib/openapi/platform/services/ProjectKeyAndNameValidationService.js.map +1 -1
  206. package/lib/openapi/platform/services/ProjectPermissionSchemesService.d.ts +31 -22
  207. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js +29 -21
  208. package/lib/openapi/platform/services/ProjectPermissionSchemesService.js.map +1 -1
  209. package/lib/openapi/platform/services/ProjectPropertiesService.d.ts +21 -10
  210. package/lib/openapi/platform/services/ProjectPropertiesService.js +19 -9
  211. package/lib/openapi/platform/services/ProjectPropertiesService.js.map +1 -1
  212. package/lib/openapi/platform/services/ProjectRoleActorsService.d.ts +46 -32
  213. package/lib/openapi/platform/services/ProjectRoleActorsService.js +40 -29
  214. package/lib/openapi/platform/services/ProjectRoleActorsService.js.map +1 -1
  215. package/lib/openapi/platform/services/ProjectRolesService.d.ts +66 -42
  216. package/lib/openapi/platform/services/ProjectRolesService.js +60 -39
  217. package/lib/openapi/platform/services/ProjectRolesService.js.map +1 -1
  218. package/lib/openapi/platform/services/ProjectTypesService.d.ts +28 -20
  219. package/lib/openapi/platform/services/ProjectTypesService.js +28 -20
  220. package/lib/openapi/platform/services/ProjectTypesService.js.map +1 -1
  221. package/lib/openapi/platform/services/ProjectVersionsService.d.ts +86 -35
  222. package/lib/openapi/platform/services/ProjectVersionsService.js +76 -30
  223. package/lib/openapi/platform/services/ProjectVersionsService.js.map +1 -1
  224. package/lib/openapi/platform/services/ProjectsService.d.ts +206 -312
  225. package/lib/openapi/platform/services/ProjectsService.js +201 -308
  226. package/lib/openapi/platform/services/ProjectsService.js.map +1 -1
  227. package/lib/openapi/platform/services/ScreenSchemesService.d.ts +21 -10
  228. package/lib/openapi/platform/services/ScreenSchemesService.js +17 -8
  229. package/lib/openapi/platform/services/ScreenSchemesService.js.map +1 -1
  230. package/lib/openapi/platform/services/ScreenTabFieldsService.d.ts +14 -6
  231. package/lib/openapi/platform/services/ScreenTabFieldsService.js +12 -5
  232. package/lib/openapi/platform/services/ScreenTabFieldsService.js.map +1 -1
  233. package/lib/openapi/platform/services/ScreenTabsService.d.ts +26 -10
  234. package/lib/openapi/platform/services/ScreenTabsService.js +24 -9
  235. package/lib/openapi/platform/services/ScreenTabsService.js.map +1 -1
  236. package/lib/openapi/platform/services/ScreensService.d.ts +41 -27
  237. package/lib/openapi/platform/services/ScreensService.js +36 -23
  238. package/lib/openapi/platform/services/ScreensService.js.map +1 -1
  239. package/lib/openapi/platform/services/ServerInfoService.d.ts +5 -2
  240. package/lib/openapi/platform/services/ServerInfoService.js +5 -2
  241. package/lib/openapi/platform/services/ServerInfoService.js.map +1 -1
  242. package/lib/openapi/platform/services/ServiceRegistryService.d.ts +4 -2
  243. package/lib/openapi/platform/services/ServiceRegistryService.js +2 -1
  244. package/lib/openapi/platform/services/ServiceRegistryService.js.map +1 -1
  245. package/lib/openapi/platform/services/StatusService.d.ts +28 -14
  246. package/lib/openapi/platform/services/StatusService.js +24 -12
  247. package/lib/openapi/platform/services/StatusService.js.map +1 -1
  248. package/lib/openapi/platform/services/TasksService.d.ts +8 -3
  249. package/lib/openapi/platform/services/TasksService.js +8 -3
  250. package/lib/openapi/platform/services/TasksService.js.map +1 -1
  251. package/lib/openapi/platform/services/TimeTrackingService.d.ts +29 -12
  252. package/lib/openapi/platform/services/TimeTrackingService.js +25 -10
  253. package/lib/openapi/platform/services/TimeTrackingService.js.map +1 -1
  254. package/lib/openapi/platform/services/UiModificationsAppsService.d.ts +25 -18
  255. package/lib/openapi/platform/services/UiModificationsAppsService.js +21 -16
  256. package/lib/openapi/platform/services/UiModificationsAppsService.js.map +1 -1
  257. package/lib/openapi/platform/services/UserPropertiesService.d.ts +19 -9
  258. package/lib/openapi/platform/services/UserPropertiesService.js +19 -9
  259. package/lib/openapi/platform/services/UserPropertiesService.js.map +1 -1
  260. package/lib/openapi/platform/services/UserSearchService.d.ts +94 -125
  261. package/lib/openapi/platform/services/UserSearchService.js +94 -125
  262. package/lib/openapi/platform/services/UserSearchService.js.map +1 -1
  263. package/lib/openapi/platform/services/UsersService.d.ts +96 -94
  264. package/lib/openapi/platform/services/UsersService.js +94 -93
  265. package/lib/openapi/platform/services/UsersService.js.map +1 -1
  266. package/lib/openapi/platform/services/WebhooksService.d.ts +34 -17
  267. package/lib/openapi/platform/services/WebhooksService.js +28 -14
  268. package/lib/openapi/platform/services/WebhooksService.js.map +1 -1
  269. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.d.ts +132 -146
  270. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js +122 -141
  271. package/lib/openapi/platform/services/WorkflowSchemeDraftsService.js.map +1 -1
  272. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.d.ts +12 -9
  273. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js +10 -8
  274. package/lib/openapi/platform/services/WorkflowSchemeProjectAssociationsService.js.map +1 -1
  275. package/lib/openapi/platform/services/WorkflowSchemesService.d.ts +120 -81
  276. package/lib/openapi/platform/services/WorkflowSchemesService.js +104 -73
  277. package/lib/openapi/platform/services/WorkflowSchemesService.js.map +1 -1
  278. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.d.ts +11 -4
  279. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js +11 -4
  280. package/lib/openapi/platform/services/WorkflowStatusCategoriesService.js.map +1 -1
  281. package/lib/openapi/platform/services/WorkflowStatusesService.d.ts +11 -4
  282. package/lib/openapi/platform/services/WorkflowStatusesService.js +11 -4
  283. package/lib/openapi/platform/services/WorkflowStatusesService.js.map +1 -1
  284. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.d.ts +24 -9
  285. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js +20 -7
  286. package/lib/openapi/platform/services/WorkflowTransitionPropertiesService.js.map +1 -1
  287. package/lib/openapi/platform/services/WorkflowTransitionRulesService.d.ts +24 -12
  288. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js +20 -10
  289. package/lib/openapi/platform/services/WorkflowTransitionRulesService.js.map +1 -1
  290. package/lib/openapi/platform/services/WorkflowsService.d.ts +742 -659
  291. package/lib/openapi/platform/services/WorkflowsService.js +708 -609
  292. package/lib/openapi/platform/services/WorkflowsService.js.map +1 -1
  293. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.d.ts +1 -1
  294. package/lib/openapi/serviceManagement/BaseJiraServiceManagementApiClient.js +1 -1
  295. package/lib/openapi/serviceManagement/services/AssetsService.d.ts +10 -7
  296. package/lib/openapi/serviceManagement/services/AssetsService.js +10 -7
  297. package/lib/openapi/serviceManagement/services/AssetsService.js.map +1 -1
  298. package/lib/openapi/serviceManagement/services/CustomerService.d.ts +16 -19
  299. package/lib/openapi/serviceManagement/services/CustomerService.js +14 -18
  300. package/lib/openapi/serviceManagement/services/CustomerService.js.map +1 -1
  301. package/lib/openapi/serviceManagement/services/InfoService.d.ts +5 -2
  302. package/lib/openapi/serviceManagement/services/InfoService.js +5 -2
  303. package/lib/openapi/serviceManagement/services/InfoService.js.map +1 -1
  304. package/lib/openapi/serviceManagement/services/KnowledgebaseService.d.ts +10 -10
  305. package/lib/openapi/serviceManagement/services/KnowledgebaseService.js +10 -10
  306. package/lib/openapi/serviceManagement/services/OrganizationService.d.ts +107 -103
  307. package/lib/openapi/serviceManagement/services/OrganizationService.js +95 -97
  308. package/lib/openapi/serviceManagement/services/OrganizationService.js.map +1 -1
  309. package/lib/openapi/serviceManagement/services/RequestService.d.ts +419 -577
  310. package/lib/openapi/serviceManagement/services/RequestService.js +403 -569
  311. package/lib/openapi/serviceManagement/services/RequestService.js.map +1 -1
  312. package/lib/openapi/serviceManagement/services/RequesttypeService.d.ts +24 -38
  313. package/lib/openapi/serviceManagement/services/RequesttypeService.js +24 -38
  314. package/lib/openapi/serviceManagement/services/RequesttypeService.js.map +1 -1
  315. package/lib/openapi/serviceManagement/services/ServicedeskService.d.ts +194 -214
  316. package/lib/openapi/serviceManagement/services/ServicedeskService.js +188 -211
  317. package/lib/openapi/serviceManagement/services/ServicedeskService.js.map +1 -1
  318. package/lib/openapi/software/models/builds.d.ts +38 -19
  319. package/lib/openapi/software/models/builds.js.map +1 -1
  320. package/lib/openapi/software/models/common.d.ts +6 -3
  321. package/lib/openapi/software/models/common.js.map +1 -1
  322. package/lib/openapi/software/models/deployments.d.ts +36 -17
  323. package/lib/openapi/software/models/deployments.js.map +1 -1
  324. package/lib/openapi/software/models/devOpsComponents.d.ts +6 -3
  325. package/lib/openapi/software/models/devOpsComponents.js.map +1 -1
  326. package/lib/openapi/software/models/developmentInformation.d.ts +106 -54
  327. package/lib/openapi/software/models/developmentInformation.js.map +1 -1
  328. package/lib/openapi/software/models/featureFlags.d.ts +16 -8
  329. package/lib/openapi/software/models/featureFlags.js.map +1 -1
  330. package/lib/openapi/software/models/operations.d.ts +60 -30
  331. package/lib/openapi/software/models/operations.js.map +1 -1
  332. package/lib/openapi/software/models/remoteLinks.d.ts +36 -18
  333. package/lib/openapi/software/models/remoteLinks.js.map +1 -1
  334. package/lib/openapi/software/models/securityInformation.d.ts +52 -26
  335. package/lib/openapi/software/models/securityInformation.js.map +1 -1
  336. package/lib/openapi/software/services/BacklogService.d.ts +13 -7
  337. package/lib/openapi/software/services/BacklogService.js +9 -5
  338. package/lib/openapi/software/services/BacklogService.js.map +1 -1
  339. package/lib/openapi/software/services/BoardService.d.ts +199 -203
  340. package/lib/openapi/software/services/BoardService.js +195 -201
  341. package/lib/openapi/software/services/BoardService.js.map +1 -1
  342. package/lib/openapi/software/services/BuildsService.d.ts +10 -8
  343. package/lib/openapi/software/services/BuildsService.js +10 -8
  344. package/lib/openapi/software/services/BuildsService.js.map +1 -1
  345. package/lib/openapi/software/services/DeploymentsService.d.ts +12 -12
  346. package/lib/openapi/software/services/DeploymentsService.js +12 -12
  347. package/lib/openapi/software/services/DeploymentsService.js.map +1 -1
  348. package/lib/openapi/software/services/DevOpsComponentsService.d.ts +32 -19
  349. package/lib/openapi/software/services/DevOpsComponentsService.js +10 -8
  350. package/lib/openapi/software/services/DevOpsComponentsService.js.map +1 -1
  351. package/lib/openapi/software/services/DevelopmentInformationService.d.ts +13 -8
  352. package/lib/openapi/software/services/DevelopmentInformationService.js +13 -8
  353. package/lib/openapi/software/services/DevelopmentInformationService.js.map +1 -1
  354. package/lib/openapi/software/services/EpicService.d.ts +66 -75
  355. package/lib/openapi/software/services/EpicService.js +58 -71
  356. package/lib/openapi/software/services/EpicService.js.map +1 -1
  357. package/lib/openapi/software/services/FeatureFlagsService.d.ts +10 -8
  358. package/lib/openapi/software/services/FeatureFlagsService.js +10 -8
  359. package/lib/openapi/software/services/FeatureFlagsService.js.map +1 -1
  360. package/lib/openapi/software/services/IssueService.d.ts +44 -43
  361. package/lib/openapi/software/services/IssueService.js +40 -41
  362. package/lib/openapi/software/services/IssueService.js.map +1 -1
  363. package/lib/openapi/software/services/OperationsService.d.ts +65 -37
  364. package/lib/openapi/software/services/OperationsService.js +21 -15
  365. package/lib/openapi/software/services/OperationsService.js.map +1 -1
  366. package/lib/openapi/software/services/RemoteLinksService.d.ts +17 -12
  367. package/lib/openapi/software/services/RemoteLinksService.js +10 -8
  368. package/lib/openapi/software/services/RemoteLinksService.js.map +1 -1
  369. package/lib/openapi/software/services/SecurityInformationService.d.ts +18 -12
  370. package/lib/openapi/software/services/SecurityInformationService.js +18 -12
  371. package/lib/openapi/software/services/SecurityInformationService.js.map +1 -1
  372. package/lib/openapi/software/services/SprintService.d.ts +78 -54
  373. package/lib/openapi/software/services/SprintService.js +68 -49
  374. package/lib/openapi/software/services/SprintService.js.map +1 -1
  375. package/package.json +3 -3
@@ -27,32 +27,35 @@ export declare class WorkflowsService extends CommonHttpService {
27
27
  * ##### Always false condition #####
28
28
  *
29
29
  * A condition that always fails.
30
- *
31
- * {
32
- * "type": "AlwaysFalseCondition"
33
- * }
30
+ * ```
31
+ * {
32
+ * "type": "AlwaysFalseCondition"
33
+ * }
34
+ * ```
34
35
  *
35
36
  * ##### Block transition until approval #####
36
37
  *
37
38
  * A condition that blocks issue transition if there is a pending approval.
38
- *
39
- * {
40
- * "type": "BlockInProgressApprovalCondition"
41
- * }
39
+ * ```
40
+ * {
41
+ * "type": "BlockInProgressApprovalCondition"
42
+ * }
43
+ * ```
42
44
  *
43
45
  * ##### Compare number custom field condition #####
44
46
  *
45
47
  * A condition that allows transition if a comparison between a number custom
46
48
  * field and a value is true.
47
- *
48
- * {
49
- * "type": "CompareNumberCFCondition",
50
- * "configuration": {
51
- * "comparator": "=",
52
- * "fieldId": "customfield_10029",
53
- * "fieldValue": 2
54
- * }
55
- * }
49
+ * ```
50
+ * {
51
+ * "type": "CompareNumberCFCondition",
52
+ * "configuration": {
53
+ * "comparator": "=",
54
+ * "fieldId": "customfield_10029",
55
+ * "fieldValue": 2
56
+ * }
57
+ * }
58
+ * ```
56
59
  *
57
60
  * * `comparator` One of the supported comparator: `=`, `>`, and `<`.
58
61
  * * `fieldId` The custom numeric field ID. Allowed field types:
@@ -65,46 +68,51 @@ export declare class WorkflowsService extends CommonHttpService {
65
68
  *
66
69
  * A condition that hides a transition from users. The transition can only be
67
70
  * triggered from a workflow function or REST API operation.
68
- *
69
- * {
70
- * "type": "RemoteOnlyCondition"
71
- * }
71
+ * ```
72
+ * {
73
+ * "type": "RemoteOnlyCondition"
74
+ * }
75
+ * ```
72
76
  *
73
77
  * ##### Only assignee condition #####
74
78
  *
75
79
  * A condition that allows only the assignee to execute a transition.
76
- *
77
- * {
78
- * "type": "AllowOnlyAssignee"
79
- * }
80
+ * ```
81
+ * {
82
+ * "type": "AllowOnlyAssignee"
83
+ * }
84
+ * ```
80
85
  *
81
86
  * ##### Only Bamboo notifications workflow condition (deprecated) #####
82
87
  *
83
88
  * A condition that makes the transition available only to Bamboo build
84
89
  * notifications.
85
- *
86
- * {
87
- * "type": "OnlyBambooNotificationsCondition"
88
- * }
90
+ * ```
91
+ * {
92
+ * "type": "OnlyBambooNotificationsCondition"
93
+ * }
94
+ * ```
89
95
  *
90
96
  * ##### Only reporter condition #####
91
97
  *
92
98
  * A condition that allows only the reporter to execute a transition.
93
- *
94
- * {
95
- * "type": "AllowOnlyReporter"
96
- * }
99
+ * ```
100
+ * {
101
+ * "type": "AllowOnlyReporter"
102
+ * }
103
+ * ```
97
104
  *
98
105
  * ##### Permission condition #####
99
106
  *
100
107
  * A condition that allows only users with a permission to execute a transition.
101
- *
102
- * {
103
- * "type": "PermissionCondition",
104
- * "configuration": {
105
- * "permissionKey": "BROWSE_PROJECTS"
106
- * }
107
- * }
108
+ * ```
109
+ * {
110
+ * "type": "PermissionCondition",
111
+ * "configuration": {
112
+ * "permissionKey": "BROWSE_PROJECTS"
113
+ * }
114
+ * }
115
+ * ```
108
116
  *
109
117
  * * `permissionKey` The permission required to perform the transition. Allowed
110
118
  * values:
@@ -115,19 +123,20 @@ export declare class WorkflowsService extends CommonHttpService {
115
123
  *
116
124
  * A condition that allows a transition based on whether an issue has or has not
117
125
  * transitioned through a status.
118
- *
119
- * {
120
- * "type": "PreviousStatusCondition",
121
- * "configuration": {
122
- * "ignoreLoopTransitions": true,
123
- * "includeCurrentStatus": true,
124
- * "mostRecentStatusOnly": true,
125
- * "reverseCondition": true,
126
- * "previousStatus": {
127
- * "id": "5"
128
- * }
129
- * }
130
- * }
126
+ * ```
127
+ * {
128
+ * "type": "PreviousStatusCondition",
129
+ * "configuration": {
130
+ * "ignoreLoopTransitions": true,
131
+ * "includeCurrentStatus": true,
132
+ * "mostRecentStatusOnly": true,
133
+ * "reverseCondition": true,
134
+ * "previousStatus": {
135
+ * "id": "5"
136
+ * }
137
+ * }
138
+ * }
139
+ * ```
131
140
  *
132
141
  * By default this condition allows the transition if the status, as defined by
133
142
  * its ID in the `previousStatus` object, matches any previous issue status,
@@ -145,18 +154,19 @@ export declare class WorkflowsService extends CommonHttpService {
145
154
  *
146
155
  * A condition that prevents a user to perform the transition, if the user has
147
156
  * already performed a transition on the issue.
148
- *
149
- * {
150
- * "type": "SeparationOfDutiesCondition",
151
- * "configuration": {
152
- * "fromStatus": {
153
- * "id": "5"
154
- * },
155
- * "toStatus": {
156
- * "id": "6"
157
- * }
158
- * }
159
- * }
157
+ * ```
158
+ * {
159
+ * "type": "SeparationOfDutiesCondition",
160
+ * "configuration": {
161
+ * "fromStatus": {
162
+ * "id": "5"
163
+ * },
164
+ * "toStatus": {
165
+ * "id": "6"
166
+ * }
167
+ * }
168
+ * }
169
+ * ```
160
170
  *
161
171
  * * `fromStatus` OPTIONAL. An object containing the ID of the source status of
162
172
  * the transition that is blocked. If omitted any transition to `toStatus` is
@@ -168,20 +178,21 @@ export declare class WorkflowsService extends CommonHttpService {
168
178
  *
169
179
  * A condition that blocks transition on a parent issue if any of its subtasks are
170
180
  * in any of one or more statuses.
171
- *
172
- * {
173
- * "type": "SubTaskBlockingCondition",
174
- * "configuration": {
175
- * "statuses": [
176
- * {
177
- * "id": "1"
178
- * },
179
- * {
180
- * "id": "3"
181
- * }
182
- * ]
181
+ * ```
182
+ * {
183
+ * "type": "SubTaskBlockingCondition",
184
+ * "configuration": {
185
+ * "statuses": [
186
+ * {
187
+ * "id": "1"
188
+ * },
189
+ * {
190
+ * "id": "3"
183
191
  * }
184
- * }
192
+ * ]
193
+ * }
194
+ * }
195
+ * ```
185
196
  *
186
197
  * * `statuses` A list of objects containing status IDs.
187
198
  *
@@ -189,16 +200,17 @@ export declare class WorkflowsService extends CommonHttpService {
189
200
  *
190
201
  * A condition that allows users belonging to any group from a list of groups to
191
202
  * execute a transition.
192
- *
193
- * {
194
- * "type": "UserInAnyGroupCondition",
195
- * "configuration": {
196
- * "groups": [
197
- * "administrators",
198
- * "atlassian-addons-admin"
199
- * ]
200
- * }
201
- * }
203
+ * ```
204
+ * {
205
+ * "type": "UserInAnyGroupCondition",
206
+ * "configuration": {
207
+ * "groups": [
208
+ * "administrators",
209
+ * "atlassian-addons-admin"
210
+ * ]
211
+ * }
212
+ * }
213
+ * ```
202
214
  *
203
215
  * * `groups` A list of group names.
204
216
  *
@@ -206,26 +218,27 @@ export declare class WorkflowsService extends CommonHttpService {
206
218
  *
207
219
  * A condition that allows only users with at least one project roles from a list
208
220
  * of project roles to execute a transition.
209
- *
210
- * {
211
- * "type": "InAnyProjectRoleCondition",
212
- * "configuration": {
213
- * "projectRoles": [
214
- * {
215
- * "id": "10002"
216
- * },
217
- * {
218
- * "id": "10003"
219
- * },
220
- * {
221
- * "id": "10012"
222
- * },
223
- * {
224
- * "id": "10013"
225
- * }
226
- * ]
221
+ * ```
222
+ * {
223
+ * "type": "InAnyProjectRoleCondition",
224
+ * "configuration": {
225
+ * "projectRoles": [
226
+ * {
227
+ * "id": "10002"
228
+ * },
229
+ * {
230
+ * "id": "10003"
231
+ * },
232
+ * {
233
+ * "id": "10012"
234
+ * },
235
+ * {
236
+ * "id": "10013"
227
237
  * }
228
- * }
238
+ * ]
239
+ * }
240
+ * }
241
+ * ```
229
242
  *
230
243
  * * `projectRoles` A list of objects containing project role IDs.
231
244
  *
@@ -233,14 +246,15 @@ export declare class WorkflowsService extends CommonHttpService {
233
246
  *
234
247
  * A condition that allows only users listed in a given custom field to execute
235
248
  * the transition.
236
- *
237
- * {
238
- * "type": "UserIsInCustomFieldCondition",
239
- * "configuration": {
240
- * "allowUserInField": false,
241
- * "fieldId": "customfield_10010"
242
- * }
243
- * }
249
+ * ```
250
+ * {
251
+ * "type": "UserIsInCustomFieldCondition",
252
+ * "configuration": {
253
+ * "allowUserInField": false,
254
+ * "fieldId": "customfield_10010"
255
+ * }
256
+ * }
257
+ * ```
244
258
  *
245
259
  * * `allowUserInField` If `true` only a user who is listed in `fieldId` can
246
260
  * perform the transition, otherwise, only a user who is not listed in `fieldId`
@@ -250,13 +264,14 @@ export declare class WorkflowsService extends CommonHttpService {
250
264
  * ##### User is in group condition #####
251
265
  *
252
266
  * A condition that allows users belonging to a group to execute a transition.
253
- *
254
- * {
255
- * "type": "UserInGroupCondition",
256
- * "configuration": {
257
- * "group": "administrators"
258
- * }
259
- * }
267
+ * ```
268
+ * {
269
+ * "type": "UserInGroupCondition",
270
+ * "configuration": {
271
+ * "group": "administrators"
272
+ * }
273
+ * }
274
+ * ```
260
275
  *
261
276
  * * `group` The name of the group.
262
277
  *
@@ -264,13 +279,14 @@ export declare class WorkflowsService extends CommonHttpService {
264
279
  *
265
280
  * A condition that allows users belonging to a group specified in a custom field
266
281
  * to execute a transition.
267
- *
268
- * {
269
- * "type": "InGroupCFCondition",
270
- * "configuration": {
271
- * "fieldId": "customfield_10012"
272
- * }
273
- * }
282
+ * ```
283
+ * {
284
+ * "type": "InGroupCFCondition",
285
+ * "configuration": {
286
+ * "fieldId": "customfield_10012"
287
+ * }
288
+ * }
289
+ * ```
274
290
  *
275
291
  * * `fieldId` The ID of the field. Allowed field types:
276
292
  *
@@ -285,15 +301,16 @@ export declare class WorkflowsService extends CommonHttpService {
285
301
  * ##### User is in project role condition #####
286
302
  *
287
303
  * A condition that allows users with a project role to execute a transition.
288
- *
289
- * {
290
- * "type": "InProjectRoleCondition",
291
- * "configuration": {
292
- * "projectRole": {
293
- * "id": "10002"
294
- * }
295
- * }
304
+ * ```
305
+ * {
306
+ * "type": "InProjectRoleCondition",
307
+ * "configuration": {
308
+ * "projectRole": {
309
+ * "id": "10002"
296
310
  * }
311
+ * }
312
+ * }
313
+ * ```
297
314
  *
298
315
  * * `projectRole` An object containing the ID of a project role.
299
316
  *
@@ -301,17 +318,18 @@ export declare class WorkflowsService extends CommonHttpService {
301
318
  *
302
319
  * A conditions that allows a transition to execute if the value of a field is
303
320
  * equal to a constant value or simply set.
304
- *
305
- * {
306
- * "type": "ValueFieldCondition",
307
- * "configuration": {
308
- * "fieldId": "assignee",
309
- * "fieldValue":
321
+ * ```
322
+ * {
323
+ * "type": "ValueFieldCondition",
324
+ * "configuration": {
325
+ * "fieldId": "assignee",
326
+ * "fieldValue":
310
327
  * "qm:6e1ecee6-8e64-4db6-8c85-916bb3275f51:54b56885-2bd2-4381-8239-78263442520f",
311
- * "comparisonType": "NUMBER",
312
- * "comparator": "="
313
- * }
314
- * }
328
+ * "comparisonType": "NUMBER",
329
+ * "comparator": "="
330
+ * }
331
+ * }
332
+ * ```
315
333
  *
316
334
  * * `fieldId` The ID of a field used in the comparison.
317
335
  * * `fieldValue` The expected value of the field.
@@ -339,17 +357,18 @@ export declare class WorkflowsService extends CommonHttpService {
339
357
  * ##### Date field validator #####
340
358
  *
341
359
  * A validator that compares two dates.
342
- *
343
- * {
344
- * "type": "DateFieldValidator",
345
- * "configuration": {
346
- * "comparator": ">",
347
- * "date1": "updated",
348
- * "date2": "created",
349
- * "expression": "1d",
350
- * "includeTime": true
351
- * }
352
- * }
360
+ * ```
361
+ * {
362
+ * "type": "DateFieldValidator",
363
+ * "configuration": {
364
+ * "comparator": ">",
365
+ * "date1": "updated",
366
+ * "date2": "created",
367
+ * "expression": "1d",
368
+ * "includeTime": true
369
+ * }
370
+ * }
371
+ * ```
353
372
  *
354
373
  * * `comparator` One of the supported comparator: `>`, `>=`, `=`, `<=`, `<`, or
355
374
  * `!=`.
@@ -386,15 +405,16 @@ export declare class WorkflowsService extends CommonHttpService {
386
405
  *
387
406
  * A validator that checks that a date falls on or after a reference date and
388
407
  * before or on the reference date plus a number of days.
389
- *
390
- * {
391
- * "type": "WindowsDateValidator",
392
- * "configuration": {
393
- * "date1": "customfield_10009",
394
- * "date2": "created",
395
- * "windowsDays": 5
396
- * }
408
+ * ```
409
+ * {
410
+ * "type": "WindowsDateValidator",
411
+ * "configuration": {
412
+ * "date1": "customfield_10009",
413
+ * "date2": "created",
414
+ * "windowsDays": 5
397
415
  * }
416
+ * }
417
+ * ```
398
418
  *
399
419
  * * `date1` The date field to validate. Allowed field types:
400
420
  *
@@ -422,19 +442,20 @@ export declare class WorkflowsService extends CommonHttpService {
422
442
  *
423
443
  * A validator that checks fields are not empty. By default, if a field is not
424
444
  * included in the current context it's ignored and not validated.
425
- *
426
- * {
427
- * "type": "FieldRequiredValidator",
428
- * "configuration": {
429
- * "ignoreContext": true,
430
- * "errorMessage": "Hey",
431
- * "fieldIds": [
432
- * "versions",
433
- * "customfield_10037",
434
- * "customfield_10003"
435
- * ]
436
- * }
445
+ * ```
446
+ * {
447
+ * "type": "FieldRequiredValidator",
448
+ * "configuration": {
449
+ * "ignoreContext": true,
450
+ * "errorMessage": "Hey",
451
+ * "fieldIds": [
452
+ * "versions",
453
+ * "customfield_10037",
454
+ * "customfield_10003"
455
+ * ]
437
456
  * }
457
+ * }
458
+ * ```
438
459
  *
439
460
  * * `ignoreContext` If `true`, then the context is ignored and all the fields
440
461
  * are validated.
@@ -447,18 +468,19 @@ export declare class WorkflowsService extends CommonHttpService {
447
468
  *
448
469
  * A validator that checks that a field value is changed. However, this validation
449
470
  * can be ignored for users from a list of groups.
450
- *
451
- * {
452
- * "type": "FieldChangedValidator",
453
- * "configuration": {
454
- * "fieldId": "comment",
455
- * "errorMessage": "Hey",
456
- * "exemptedGroups": [
457
- * "administrators",
458
- * "atlassian-addons-admin"
459
- * ]
460
- * }
471
+ * ```
472
+ * {
473
+ * "type": "FieldChangedValidator",
474
+ * "configuration": {
475
+ * "fieldId": "comment",
476
+ * "errorMessage": "Hey",
477
+ * "exemptedGroups": [
478
+ * "administrators",
479
+ * "atlassian-addons-admin"
480
+ * ]
461
481
  * }
482
+ * }
483
+ * ```
462
484
  *
463
485
  * * `fieldId` The ID of a field.
464
486
  * * `errorMessage` OPTIONAL. The error message displayed if the field is not
@@ -469,14 +491,15 @@ export declare class WorkflowsService extends CommonHttpService {
469
491
  *
470
492
  * A validator that checks that a multi-select field has only one value.
471
493
  * Optionally, the validation can ignore values copied from subtasks.
472
- *
473
- * {
474
- * "type": "FieldHasSingleValueValidator",
475
- * "configuration": {
476
- * "fieldId": "attachment,
477
- * "excludeSubtasks": true
478
- * }
494
+ * ```
495
+ * {
496
+ * "type": "FieldHasSingleValueValidator",
497
+ * "configuration": {
498
+ * "fieldId": "attachment,
499
+ * "excludeSubtasks": true
479
500
  * }
501
+ * }
502
+ * ```
480
503
  *
481
504
  * * `fieldId` The ID of a field.
482
505
  * * `excludeSubtasks` If `true`, then values copied from subtasks are ignored.
@@ -485,33 +508,35 @@ export declare class WorkflowsService extends CommonHttpService {
485
508
  *
486
509
  * A validator that checks the status of the parent issue of a subtask. Ìf the
487
510
  * issue is not a subtask, no validation is performed.
488
- *
489
- * {
490
- * "type": "ParentStatusValidator",
491
- * "configuration": {
492
- * "parentStatuses": [
493
- * {
494
- * "id":"1"
495
- * },
496
- * {
497
- * "id":"2"
498
- * }
499
- * ]
500
- * }
511
+ * ```
512
+ * {
513
+ * "type": "ParentStatusValidator",
514
+ * "configuration": {
515
+ * "parentStatuses": [
516
+ * {
517
+ * "id":"1"
518
+ * },
519
+ * {
520
+ * "id":"2"
521
+ * }
522
+ * ]
501
523
  * }
524
+ * }
525
+ * ```
502
526
  *
503
527
  * * `parentStatus` The list of required parent issue statuses.
504
528
  *
505
529
  * ##### Permission validator #####
506
530
  *
507
531
  * A validator that checks the user has a permission.
508
- *
509
- * {
510
- * "type": "PermissionValidator",
511
- * "configuration": {
512
- * "permissionKey": "ADMINISTER_PROJECTS"
513
- * }
514
- * }
532
+ * ```
533
+ * {
534
+ * "type": "PermissionValidator",
535
+ * "configuration": {
536
+ * "permissionKey": "ADMINISTER_PROJECTS"
537
+ * }
538
+ * }
539
+ * ```
515
540
  *
516
541
  * * `permissionKey` The permission required to perform the transition. Allowed
517
542
  * values:
@@ -521,16 +546,17 @@ export declare class WorkflowsService extends CommonHttpService {
521
546
  * ##### Previous status validator #####
522
547
  *
523
548
  * A validator that checks if the issue has held a status.
524
- *
525
- * {
526
- * "type": "PreviousStatusValidator",
527
- * "configuration": {
528
- * "mostRecentStatusOnly": false,
529
- * "previousStatus": {
530
- * "id": "15"
531
- * }
549
+ * ```
550
+ * {
551
+ * "type": "PreviousStatusValidator",
552
+ * "configuration": {
553
+ * "mostRecentStatusOnly": false,
554
+ * "previousStatus": {
555
+ * "id": "15"
532
556
  * }
533
- * }
557
+ * }
558
+ * }
559
+ * ```
534
560
  *
535
561
  * * `mostRecentStatusOnly` If `true`, then only the issue's preceding status
536
562
  * (the one immediately before the current status) is checked.
@@ -539,14 +565,15 @@ export declare class WorkflowsService extends CommonHttpService {
539
565
  * ##### Regular expression validator #####
540
566
  *
541
567
  * A validator that checks the content of a field against a regular expression.
542
- *
543
- * {
544
- * "type": "RegexpFieldValidator",
545
- * "configuration": {
546
- * "regExp": "[0-9]",
547
- * "fieldId": "customfield_10029"
548
- * }
549
- * }
568
+ * ```
569
+ * {
570
+ * "type": "RegexpFieldValidator",
571
+ * "configuration": {
572
+ * "regExp": "[0-9]",
573
+ * "fieldId": "customfield_10029"
574
+ * }
575
+ * }
576
+ * ```
550
577
  *
551
578
  * * `regExp`A regular expression.
552
579
  * * `fieldId` The ID of a field. Allowed field types:
@@ -570,15 +597,16 @@ export declare class WorkflowsService extends CommonHttpService {
570
597
  * this validator when getting transition rules and can pass it when updating or
571
598
  * creating rules, for example, when you want to duplicate the rules from a
572
599
  * workflow on a new workflow.
573
- *
574
- * {
575
- * "type": "UserPermissionValidator",
576
- * "configuration": {
577
- * "permissionKey": "BROWSE_PROJECTS",
578
- * "nullAllowed": false,
579
- * "username": "TestUser"
580
- * }
600
+ * ```
601
+ * {
602
+ * "type": "UserPermissionValidator",
603
+ * "configuration": {
604
+ * "permissionKey": "BROWSE_PROJECTS",
605
+ * "nullAllowed": false,
606
+ * "username": "TestUser"
581
607
  * }
608
+ * }
609
+ * ```
582
610
  *
583
611
  * * `permissionKey` The permission to be validated. Allowed values:
584
612
  * [built-in](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permission-schemes/#built-in-permissions)
@@ -594,15 +622,16 @@ export declare class WorkflowsService extends CommonHttpService {
594
622
  * ##### Fire issue event function #####
595
623
  *
596
624
  * A post function that fires an event that is processed by the listeners.
597
- *
598
- * {
599
- * "type": "FireIssueEventFunction",
600
- * "configuration": {
601
- * "event": {
602
- * "id":"1"
603
- * }
604
- * }
625
+ * ```
626
+ * {
627
+ * "type": "FireIssueEventFunction",
628
+ * "configuration": {
629
+ * "event": {
630
+ * "id":"1"
605
631
  * }
632
+ * }
633
+ * }
634
+ * ```
606
635
  *
607
636
  * **Note:** If provided, this post function overrides the default
608
637
  * `FireIssueEventFunction`. Can be included once in a transition.
@@ -613,10 +642,11 @@ export declare class WorkflowsService extends CommonHttpService {
613
642
  *
614
643
  * A post function that sets issue status to the linked status of the destination
615
644
  * workflow status.
616
- *
617
- * {
618
- * "type": "UpdateIssueStatusFunction"
619
- * }
645
+ * ```
646
+ * {
647
+ * "type": "UpdateIssueStatusFunction"
648
+ * }
649
+ * ```
620
650
  *
621
651
  * **Note:** This post function is a default function in global and directed
622
652
  * transitions. It can only be added to the initial transition and can only be
@@ -625,10 +655,11 @@ export declare class WorkflowsService extends CommonHttpService {
625
655
  * ##### Create comment #####
626
656
  *
627
657
  * A post function that adds a comment entered during the transition to an issue.
628
- *
629
- * {
630
- * "type": "CreateCommentFunction"
631
- * }
658
+ * ```
659
+ * {
660
+ * "type": "CreateCommentFunction"
661
+ * }
662
+ * ```
632
663
  *
633
664
  * **Note:** This post function is a default function in global and directed
634
665
  * transitions. It can only be added to the initial transition and can only be
@@ -637,10 +668,11 @@ export declare class WorkflowsService extends CommonHttpService {
637
668
  * ##### Store issue #####
638
669
  *
639
670
  * A post function that stores updates to an issue.
640
- *
641
- * {
642
- * "type": "IssueStoreFunction"
643
- * }
671
+ * ```
672
+ * {
673
+ * "type": "IssueStoreFunction"
674
+ * }
675
+ * ```
644
676
  *
645
677
  * **Note:** This post function can only be added to the initial transition and
646
678
  * can only be added once.
@@ -649,10 +681,11 @@ export declare class WorkflowsService extends CommonHttpService {
649
681
  *
650
682
  * A post function that assigns the issue to the current user if the current user
651
683
  * has the `ASSIGNABLE_USER` permission.
652
- *
653
- * {
654
- * "type": "AssignToCurrentUserFunction"
655
- * }
684
+ * ```
685
+ * {
686
+ * "type": "AssignToCurrentUserFunction"
687
+ * }
688
+ * ```
656
689
  *
657
690
  * **Note:** This post function can be included once in a transition.
658
691
  *
@@ -660,33 +693,36 @@ export declare class WorkflowsService extends CommonHttpService {
660
693
  *
661
694
  * A post function that assigns the issue to the project or component lead
662
695
  * developer.
663
- *
664
- * {
665
- * "type": "AssignToLeadFunction"
666
- * }
696
+ * ```
697
+ * {
698
+ * "type": "AssignToLeadFunction"
699
+ * }
700
+ * ```
667
701
  *
668
702
  * **Note:** This post function can be included once in a transition.
669
703
  *
670
704
  * ##### Assign to reporter function #####
671
705
  *
672
706
  * A post function that assigns the issue to the reporter.
673
- *
674
- * {
675
- * "type": "AssignToReporterFunction"
676
- * }
707
+ * ```
708
+ * {
709
+ * "type": "AssignToReporterFunction"
710
+ * }
711
+ * ```
677
712
  *
678
713
  * **Note:** This post function can be included once in a transition.
679
714
  *
680
715
  * ##### Clear field value function #####
681
716
  *
682
717
  * A post function that clears the value from a field.
683
- *
684
- * {
685
- * "type": "ClearFieldValuePostFunction",
686
- * "configuration": {
687
- * "fieldId": "assignee"
688
- * }
689
- * }
718
+ * ```
719
+ * {
720
+ * "type": "ClearFieldValuePostFunction",
721
+ * "configuration": {
722
+ * "fieldId": "assignee"
723
+ * }
724
+ * }
725
+ * ```
690
726
  *
691
727
  * * `fieldId` The ID of the field.
692
728
  *
@@ -694,15 +730,16 @@ export declare class WorkflowsService extends CommonHttpService {
694
730
  *
695
731
  * A post function that copies the value of one field to another, either within an
696
732
  * issue or from parent to subtask.
697
- *
698
- * {
699
- * "type": "CopyValueFromOtherFieldPostFunction",
700
- * "configuration": {
701
- * "sourceFieldId": "assignee",
702
- * "destinationFieldId": "creator",
703
- * "copyType": "same"
704
- * }
705
- * }
733
+ * ```
734
+ * {
735
+ * "type": "CopyValueFromOtherFieldPostFunction",
736
+ * "configuration": {
737
+ * "sourceFieldId": "assignee",
738
+ * "destinationFieldId": "creator",
739
+ * "copyType": "same"
740
+ * }
741
+ * }
742
+ * ```
706
743
  *
707
744
  * * `sourceFieldId` The ID of the source field.
708
745
  * * `destinationFieldId` The ID of the destination field.
@@ -713,10 +750,11 @@ export declare class WorkflowsService extends CommonHttpService {
713
750
  *
714
751
  * A post function that creates a Crucible review for all unreviewed code for the
715
752
  * issue.
716
- *
717
- * {
718
- * "type": "CreateCrucibleReviewWorkflowFunction"
719
- * }
753
+ * ```
754
+ * {
755
+ * "type": "CreateCrucibleReviewWorkflowFunction"
756
+ * }
757
+ * ```
720
758
  *
721
759
  * **Note:** This post function can be included once in a transition.
722
760
  *
@@ -724,18 +762,19 @@ export declare class WorkflowsService extends CommonHttpService {
724
762
  *
725
763
  * A post function that sets the issue's security level if the current user has a
726
764
  * project role.
727
- *
728
- * {
729
- * "type": "SetIssueSecurityFromRoleFunction",
730
- * "configuration": {
731
- * "projectRole": {
732
- * "id":"10002"
733
- * },
734
- * "issueSecurityLevel": {
735
- * "id":"10000"
736
- * }
737
- * }
738
- * }
765
+ * ```
766
+ * {
767
+ * "type": "SetIssueSecurityFromRoleFunction",
768
+ * "configuration": {
769
+ * "projectRole": {
770
+ * "id":"10002"
771
+ * },
772
+ * "issueSecurityLevel": {
773
+ * "id":"10000"
774
+ * }
775
+ * }
776
+ * }
777
+ * ```
739
778
  *
740
779
  * * `projectRole` An object containing the ID of the project role.
741
780
  * * `issueSecurityLevel` OPTIONAL. The object containing the ID of the security
@@ -744,30 +783,32 @@ export declare class WorkflowsService extends CommonHttpService {
744
783
  * ##### Trigger a webhook function #####
745
784
  *
746
785
  * A post function that triggers a webhook.
747
- *
748
- * {
749
- * "type": "TriggerWebhookFunction",
750
- * "configuration": {
751
- * "webhook": {
752
- * "id": "1"
753
- * }
754
- * }
786
+ * ```
787
+ * {
788
+ * "type": "TriggerWebhookFunction",
789
+ * "configuration": {
790
+ * "webhook": {
791
+ * "id": "1"
755
792
  * }
793
+ * }
794
+ * }
795
+ * ```
756
796
  *
757
797
  * * `webhook` An object containing the ID of the webhook listener to trigger.
758
798
  *
759
799
  * ##### Update issue custom field function #####
760
800
  *
761
801
  * A post function that updates the content of an issue custom field.
762
- *
763
- * {
764
- * "type": "UpdateIssueCustomFieldPostFunction",
765
- * "configuration": {
766
- * "mode": "append",
767
- * "fieldId": "customfield_10003",
768
- * "fieldValue": "yikes"
769
- * }
770
- * }
802
+ * ```
803
+ * {
804
+ * "type": "UpdateIssueCustomFieldPostFunction",
805
+ * "configuration": {
806
+ * "mode": "append",
807
+ * "fieldId": "customfield_10003",
808
+ * "fieldValue": "yikes"
809
+ * }
810
+ * }
811
+ * ```
771
812
  *
772
813
  * * `mode` Use `replace` to override the field content with `fieldValue` or
773
814
  * `append` to add `fieldValue` to the end of the field content.
@@ -777,14 +818,15 @@ export declare class WorkflowsService extends CommonHttpService {
777
818
  * ##### Update issue field function #####
778
819
  *
779
820
  * A post function that updates a simple issue field.
780
- *
781
- * {
782
- * "type": "UpdateIssueFieldFunction",
783
- * "configuration": {
784
- * "fieldId": "assignee",
785
- * "fieldValue": "5f0c277e70b8a90025a00776"
786
- * }
787
- * }
821
+ * ```
822
+ * {
823
+ * "type": "UpdateIssueFieldFunction",
824
+ * "configuration": {
825
+ * "fieldId": "assignee",
826
+ * "fieldValue": "5f0c277e70b8a90025a00776"
827
+ * }
828
+ * }
829
+ * ```
788
830
  *
789
831
  * * `fieldId` The ID of the field. Allowed field types:
790
832
  *
@@ -810,13 +852,14 @@ export declare class WorkflowsService extends CommonHttpService {
810
852
  * Connect rules are conditions, validators, and post functions of a transition
811
853
  * that are registered by Connect apps. To create a rule registered by the app,
812
854
  * the app must be enabled and the rule's module must exist.
813
- *
814
- * {
815
- * "type": "appKey__moduleKey",
816
- * "configuration": {
817
- * "value":"{\"isValid\":\"true\"}"
818
- * }
819
- * }
855
+ * ```
856
+ * {
857
+ * "type": "appKey__moduleKey",
858
+ * "configuration": {
859
+ * "value":"{\"isValid\":\"true\"}"
860
+ * }
861
+ * }
862
+ * ```
820
863
  *
821
864
  * * `type` A Connect rule key in a form of `appKey__moduleKey`.
822
865
  * * `value` The stringified JSON configuration of a Connect rule.
@@ -831,20 +874,25 @@ export declare class WorkflowsService extends CommonHttpService {
831
874
  * @deprecated
832
875
  * @returns Returned if the workflow is created.
833
876
  *
834
- * example: {
877
+ * example:
878
+ * ```
879
+ * {
835
880
  * "entityId": "d7178e8d-bf6c-4c0c-9e90-758a0b965b67",
836
881
  * "name": "Workflow 1"
837
882
  * }
838
- * @path {POST} /rest/api/3/workflow
883
+ * ```
884
+ * @path POST `/rest/api/3/workflow`
839
885
  * @scopes-current manage:jira-configuration
840
886
  * @scopes-beta write:workflow:jira, read:workflow:jira
841
887
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflow-post
888
+ * @param params
842
889
  */
843
890
  createWorkflow: ({ createWorkflowDetails, }: {
844
891
  /**
845
892
  * The workflow details.
846
893
  *
847
- * @example {
894
+ * @example
895
+ * {
848
896
  * "description": "This is a workflow used for Stories and Tasks",
849
897
  * "name": "Workflow 1",
850
898
  * "statuses": [
@@ -955,7 +1003,9 @@ export declare class WorkflowsService extends CommonHttpService {
955
1003
  *
956
1004
  * @returns Returned if the request is successful.
957
1005
  *
958
- * example: {
1006
+ * example:
1007
+ * ```
1008
+ * {
959
1009
  * "statuses": [
960
1010
  * {
961
1011
  * "description": "",
@@ -1099,14 +1149,17 @@ export declare class WorkflowsService extends CommonHttpService {
1099
1149
  * }
1100
1150
  * ]
1101
1151
  * }
1102
- * @path {POST} /rest/api/3/workflows/create
1152
+ * ```
1153
+ * @path POST `/rest/api/3/workflows/create`
1103
1154
  * @scopes-current manage:jira-configuration
1104
1155
  * @scopes-beta write:workflow:jira
1105
1156
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflows-create-post
1157
+ * @param params
1106
1158
  */
1107
1159
  createWorkflows: ({ workflowCreateRequest, }: {
1108
1160
  /**
1109
- * @example {
1161
+ * @example
1162
+ * {
1110
1163
  * "scope": {
1111
1164
  * "type": "GLOBAL"
1112
1165
  * },
@@ -1173,8 +1226,7 @@ export declare class WorkflowsService extends CommonHttpService {
1173
1226
  * "name": "Create",
1174
1227
  * "properties": {},
1175
1228
  * "to": {
1176
- * "statusReference":
1177
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
1229
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
1178
1230
  * },
1179
1231
  * "triggers": [],
1180
1232
  * "type": "INITIAL",
@@ -1188,8 +1240,7 @@ export declare class WorkflowsService extends CommonHttpService {
1188
1240
  * "name": "To Do",
1189
1241
  * "properties": {},
1190
1242
  * "to": {
1191
- * "statusReference":
1192
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
1243
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
1193
1244
  * },
1194
1245
  * "triggers": [],
1195
1246
  * "type": "GLOBAL",
@@ -1203,8 +1254,7 @@ export declare class WorkflowsService extends CommonHttpService {
1203
1254
  * "name": "In Progress",
1204
1255
  * "properties": {},
1205
1256
  * "to": {
1206
- * "statusReference":
1207
- * "c7a35bf0-c127-4aa6-869f-4033730c61d8"
1257
+ * "statusReference": "c7a35bf0-c127-4aa6-869f-4033730c61d8"
1208
1258
  * },
1209
1259
  * "triggers": [],
1210
1260
  * "type": "GLOBAL",
@@ -1218,8 +1268,7 @@ export declare class WorkflowsService extends CommonHttpService {
1218
1268
  * "name": "Done",
1219
1269
  * "properties": {},
1220
1270
  * "to": {
1221
- * "statusReference":
1222
- * "6b3fc04d-3316-46c5-a257-65751aeb8849"
1271
+ * "statusReference": "6b3fc04d-3316-46c5-a257-65751aeb8849"
1223
1272
  * },
1224
1273
  * "triggers": [],
1225
1274
  * "type": "GLOBAL",
@@ -1245,10 +1294,11 @@ export declare class WorkflowsService extends CommonHttpService {
1245
1294
  * **[Permissions](#permissions) required:** *Administer Jira* [global
1246
1295
  * permission](https://confluence.atlassian.com/x/x4dKLg).
1247
1296
  *
1248
- * @path {DELETE} /rest/api/3/workflow/{entityId}
1297
+ * @path DELETE `/rest/api/3/workflow/{entityId}`
1249
1298
  * @scopes-current manage:jira-configuration
1250
1299
  * @scopes-beta delete:workflow:jira
1251
1300
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflow-entityid-delete
1301
+ * @param params
1252
1302
  */
1253
1303
  deleteInactiveWorkflow: ({ entityId, }: {
1254
1304
  /** The entity ID of the workflow. */
@@ -1267,7 +1317,9 @@ export declare class WorkflowsService extends CommonHttpService {
1267
1317
  * @deprecated
1268
1318
  * @returns Returned if the request is successful.
1269
1319
  *
1270
- * example: [
1320
+ * example:
1321
+ * ```
1322
+ * [
1271
1323
  * {
1272
1324
  * "default": true,
1273
1325
  * "description": "A classic Jira workflow",
@@ -1278,11 +1330,12 @@ export declare class WorkflowsService extends CommonHttpService {
1278
1330
  * "steps": 5
1279
1331
  * }
1280
1332
  * ]
1281
- * @path {GET} /rest/api/3/workflow
1333
+ * ```
1334
+ * @path GET `/rest/api/3/workflow`
1282
1335
  * @scopes-current manage:jira-configuration
1283
- * @scopes-beta read:workflow:jira, read:project:jira, read:project-category:jira,
1284
- * read:avatar:jira
1336
+ * @scopes-beta read:workflow:jira, read:project:jira, read:project-category:jira, read:avatar:jira
1285
1337
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflow-get
1338
+ * @param params
1286
1339
  */
1287
1340
  getAllWorkflows: ({ workflowName, }?: {
1288
1341
  /** The name of the workflow to be returned. Only one workflow can be specified. */
@@ -1300,7 +1353,9 @@ export declare class WorkflowsService extends CommonHttpService {
1300
1353
  *
1301
1354
  * @returns Returned if the request is successful.
1302
1355
  *
1303
- * example: {
1356
+ * example:
1357
+ * ```
1358
+ * {
1304
1359
  * "isLast": false,
1305
1360
  * "maxResults": 1,
1306
1361
  * "startAt": 0,
@@ -1311,8 +1366,7 @@ export declare class WorkflowsService extends CommonHttpService {
1311
1366
  * "name": "SCRUM Workflow",
1312
1367
  * "entityId": "5ed312c5-f7a6-4a78-a1f6-8ff7f307d063"
1313
1368
  * },
1314
- * "description": "A workflow used for Software projects in the SCRUM
1315
- * methodology",
1369
+ * "description": "A workflow used for Software projects in the SCRUM methodology",
1316
1370
  * "transitions": [
1317
1371
  * {
1318
1372
  * "id": "5",
@@ -1427,13 +1481,12 @@ export declare class WorkflowsService extends CommonHttpService {
1427
1481
  * }
1428
1482
  * ]
1429
1483
  * }
1430
- * @path {GET} /rest/api/3/workflow/search
1484
+ * ```
1485
+ * @path GET `/rest/api/3/workflow/search`
1431
1486
  * @scopes-current manage:jira-project
1432
- * @scopes-beta read:group:jira, read:issue-security-level:jira, read:project-role:jira,
1433
- * read:screen:jira, read:status:jira, read:user:jira, read:workflow:jira,
1434
- * read:webhook:jira, read:avatar:jira, read:project-category:jira,
1435
- * read:project:jira
1487
+ * @scopes-beta read:group:jira, read:issue-security-level:jira, read:project-role:jira, read:screen:jira, read:status:jira, read:user:jira, read:workflow:jira, read:webhook:jira, read:avatar:jira, read:project-category:jira, read:project:jira
1436
1488
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflow-search-get
1489
+ * @param params
1437
1490
  */
1438
1491
  getWorkflowsPaginated: ({ startAt, maxResults, workflowName, expand, queryString, orderBy, isActive, }?: {
1439
1492
  /** The index of the first item to return in a page of results (page offset). */
@@ -1498,7 +1551,9 @@ export declare class WorkflowsService extends CommonHttpService {
1498
1551
  *
1499
1552
  * @returns Returned if the request is successful.
1500
1553
  *
1501
- * example: {
1554
+ * example:
1555
+ * ```
1556
+ * {
1502
1557
  * "statuses": [
1503
1558
  * {
1504
1559
  * "description": "",
@@ -1642,10 +1697,12 @@ export declare class WorkflowsService extends CommonHttpService {
1642
1697
  * }
1643
1698
  * ]
1644
1699
  * }
1645
- * @path {POST} /rest/api/3/workflows
1700
+ * ```
1701
+ * @path POST `/rest/api/3/workflows`
1646
1702
  * @scopes-current manage:jira-configuration
1647
1703
  * @scopes-beta read:workflow:jira
1648
1704
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflows-post
1705
+ * @param params
1649
1706
  */
1650
1707
  readWorkflows: ({ expand, workflowReadRequest, }: {
1651
1708
  /**
@@ -1659,7 +1716,8 @@ export declare class WorkflowsService extends CommonHttpService {
1659
1716
  */
1660
1717
  expand?: string | undefined;
1661
1718
  /**
1662
- * @example {
1719
+ * @example
1720
+ * {
1663
1721
  * "projectAndIssueTypes": [],
1664
1722
  * "workflowIds": [],
1665
1723
  * "workflowNames": [
@@ -1681,7 +1739,9 @@ export declare class WorkflowsService extends CommonHttpService {
1681
1739
  *
1682
1740
  * @returns Returned if the request is successful.
1683
1741
  *
1684
- * example: {
1742
+ * example:
1743
+ * ```
1744
+ * {
1685
1745
  * "statuses": [
1686
1746
  * {
1687
1747
  * "description": "",
@@ -1826,10 +1886,12 @@ export declare class WorkflowsService extends CommonHttpService {
1826
1886
  * }
1827
1887
  * ]
1828
1888
  * }
1829
- * @path {POST} /rest/api/3/workflows/update
1889
+ * ```
1890
+ * @path POST `/rest/api/3/workflows/update`
1830
1891
  * @scopes-current manage:jira-configuration
1831
1892
  * @scopes-beta write:workflow:jira
1832
1893
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflows-update-post
1894
+ * @param params
1833
1895
  */
1834
1896
  updateWorkflows: ({ expand, workflowUpdateRequest, }: {
1835
1897
  /**
@@ -1843,7 +1905,8 @@ export declare class WorkflowsService extends CommonHttpService {
1843
1905
  */
1844
1906
  expand?: string | undefined;
1845
1907
  /**
1846
- * @example {
1908
+ * @example
1909
+ * {
1847
1910
  * "statuses": [
1848
1911
  * {
1849
1912
  * "description": "",
@@ -1925,8 +1988,7 @@ export declare class WorkflowsService extends CommonHttpService {
1925
1988
  * "name": "Create",
1926
1989
  * "properties": {},
1927
1990
  * "to": {
1928
- * "statusReference":
1929
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
1991
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
1930
1992
  * },
1931
1993
  * "triggers": [],
1932
1994
  * "type": "INITIAL",
@@ -1940,8 +2002,7 @@ export declare class WorkflowsService extends CommonHttpService {
1940
2002
  * "name": "To Do",
1941
2003
  * "properties": {},
1942
2004
  * "to": {
1943
- * "statusReference":
1944
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2005
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
1945
2006
  * },
1946
2007
  * "triggers": [],
1947
2008
  * "type": "GLOBAL",
@@ -1955,8 +2016,7 @@ export declare class WorkflowsService extends CommonHttpService {
1955
2016
  * "name": "In Progress",
1956
2017
  * "properties": {},
1957
2018
  * "to": {
1958
- * "statusReference":
1959
- * "c7a35bf0-c127-4aa6-869f-4033730c61d8"
2019
+ * "statusReference": "c7a35bf0-c127-4aa6-869f-4033730c61d8"
1960
2020
  * },
1961
2021
  * "triggers": [],
1962
2022
  * "type": "GLOBAL",
@@ -1970,8 +2030,7 @@ export declare class WorkflowsService extends CommonHttpService {
1970
2030
  * "name": "Done",
1971
2031
  * "properties": {},
1972
2032
  * "to": {
1973
- * "statusReference":
1974
- * "6b3fc04d-3316-46c5-a257-65751aeb8849"
2033
+ * "statusReference": "6b3fc04d-3316-46c5-a257-65751aeb8849"
1975
2034
  * },
1976
2035
  * "triggers": [],
1977
2036
  * "type": "GLOBAL",
@@ -1999,7 +2058,9 @@ export declare class WorkflowsService extends CommonHttpService {
1999
2058
  *
2000
2059
  * @returns Returned if the request is successful.
2001
2060
  *
2002
- * example: {
2061
+ * example:
2062
+ * ```
2063
+ * {
2003
2064
  * "errors": [
2004
2065
  * {
2005
2066
  * "code": "NON_UNIQUE_STATUS_NAME",
@@ -2012,14 +2073,17 @@ export declare class WorkflowsService extends CommonHttpService {
2012
2073
  * }
2013
2074
  * ]
2014
2075
  * }
2015
- * @path {POST} /rest/api/3/workflows/create/validation
2076
+ * ```
2077
+ * @path POST `/rest/api/3/workflows/create/validation`
2016
2078
  * @scopes-current manage:jira-configuration
2017
2079
  * @scopes-beta write:workflow:jira
2018
2080
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflows-create-validation-post
2081
+ * @param params
2019
2082
  */
2020
2083
  validateCreateWorkflows: ({ workflowCreateValidateRequest, }: {
2021
2084
  /**
2022
- * @example {
2085
+ * @example
2086
+ * {
2023
2087
  * "payload": {
2024
2088
  * "scope": {
2025
2089
  * "type": "GLOBAL"
@@ -2059,8 +2123,7 @@ export declare class WorkflowsService extends CommonHttpService {
2059
2123
  * "y": -16
2060
2124
  * },
2061
2125
  * "properties": {},
2062
- * "statusReference":
2063
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2126
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2064
2127
  * },
2065
2128
  * {
2066
2129
  * "layout": {
@@ -2068,8 +2131,7 @@ export declare class WorkflowsService extends CommonHttpService {
2068
2131
  * "y": -16
2069
2132
  * },
2070
2133
  * "properties": {},
2071
- * "statusReference":
2072
- * "c7a35bf0-c127-4aa6-869f-4033730c61d8"
2134
+ * "statusReference": "c7a35bf0-c127-4aa6-869f-4033730c61d8"
2073
2135
  * },
2074
2136
  * {
2075
2137
  * "layout": {
@@ -2077,8 +2139,7 @@ export declare class WorkflowsService extends CommonHttpService {
2077
2139
  * "y": -16
2078
2140
  * },
2079
2141
  * "properties": {},
2080
- * "statusReference":
2081
- * "6b3fc04d-3316-46c5-a257-65751aeb8849"
2142
+ * "statusReference": "6b3fc04d-3316-46c5-a257-65751aeb8849"
2082
2143
  * }
2083
2144
  * ],
2084
2145
  * "transitions": [
@@ -2090,8 +2151,7 @@ export declare class WorkflowsService extends CommonHttpService {
2090
2151
  * "name": "Create",
2091
2152
  * "properties": {},
2092
2153
  * "to": {
2093
- * "statusReference":
2094
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2154
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2095
2155
  * },
2096
2156
  * "triggers": [],
2097
2157
  * "type": "INITIAL",
@@ -2105,8 +2165,7 @@ export declare class WorkflowsService extends CommonHttpService {
2105
2165
  * "name": "To Do",
2106
2166
  * "properties": {},
2107
2167
  * "to": {
2108
- * "statusReference":
2109
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2168
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2110
2169
  * },
2111
2170
  * "triggers": [],
2112
2171
  * "type": "GLOBAL",
@@ -2120,8 +2179,7 @@ export declare class WorkflowsService extends CommonHttpService {
2120
2179
  * "name": "In Progress",
2121
2180
  * "properties": {},
2122
2181
  * "to": {
2123
- * "statusReference":
2124
- * "c7a35bf0-c127-4aa6-869f-4033730c61d8"
2182
+ * "statusReference": "c7a35bf0-c127-4aa6-869f-4033730c61d8"
2125
2183
  * },
2126
2184
  * "triggers": [],
2127
2185
  * "type": "GLOBAL",
@@ -2135,8 +2193,7 @@ export declare class WorkflowsService extends CommonHttpService {
2135
2193
  * "name": "Done",
2136
2194
  * "properties": {},
2137
2195
  * "to": {
2138
- * "statusReference":
2139
- * "6b3fc04d-3316-46c5-a257-65751aeb8849"
2196
+ * "statusReference": "6b3fc04d-3316-46c5-a257-65751aeb8849"
2140
2197
  * },
2141
2198
  * "triggers": [],
2142
2199
  * "type": "GLOBAL",
@@ -2167,7 +2224,9 @@ export declare class WorkflowsService extends CommonHttpService {
2167
2224
  *
2168
2225
  * @returns Returned if the request is successful.
2169
2226
  *
2170
- * example: {
2227
+ * example:
2228
+ * ```
2229
+ * {
2171
2230
  * "errors": [
2172
2231
  * {
2173
2232
  * "code": "NON_UNIQUE_STATUS_NAME",
@@ -2180,14 +2239,17 @@ export declare class WorkflowsService extends CommonHttpService {
2180
2239
  * }
2181
2240
  * ]
2182
2241
  * }
2183
- * @path {POST} /rest/api/3/workflows/update/validation
2242
+ * ```
2243
+ * @path POST `/rest/api/3/workflows/update/validation`
2184
2244
  * @scopes-current manage:jira-configuration
2185
2245
  * @scopes-beta write:workflow:jira
2186
2246
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflows-update-validation-post
2247
+ * @param params
2187
2248
  */
2188
2249
  validateUpdateWorkflows: ({ workflowUpdateValidateRequestBean, }: {
2189
2250
  /**
2190
- * @example {
2251
+ * @example
2252
+ * {
2191
2253
  * "payload": {
2192
2254
  * "statuses": [
2193
2255
  * {
@@ -2242,8 +2304,7 @@ export declare class WorkflowsService extends CommonHttpService {
2242
2304
  * "y": -16
2243
2305
  * },
2244
2306
  * "properties": {},
2245
- * "statusReference":
2246
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2307
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2247
2308
  * },
2248
2309
  * {
2249
2310
  * "layout": {
@@ -2251,8 +2312,7 @@ export declare class WorkflowsService extends CommonHttpService {
2251
2312
  * "y": -16
2252
2313
  * },
2253
2314
  * "properties": {},
2254
- * "statusReference":
2255
- * "c7a35bf0-c127-4aa6-869f-4033730c61d8"
2315
+ * "statusReference": "c7a35bf0-c127-4aa6-869f-4033730c61d8"
2256
2316
  * },
2257
2317
  * {
2258
2318
  * "layout": {
@@ -2260,8 +2320,7 @@ export declare class WorkflowsService extends CommonHttpService {
2260
2320
  * "y": -16
2261
2321
  * },
2262
2322
  * "properties": {},
2263
- * "statusReference":
2264
- * "6b3fc04d-3316-46c5-a257-65751aeb8849"
2323
+ * "statusReference": "6b3fc04d-3316-46c5-a257-65751aeb8849"
2265
2324
  * }
2266
2325
  * ],
2267
2326
  * "transitions": [
@@ -2273,8 +2332,7 @@ export declare class WorkflowsService extends CommonHttpService {
2273
2332
  * "name": "Create",
2274
2333
  * "properties": {},
2275
2334
  * "to": {
2276
- * "statusReference":
2277
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2335
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2278
2336
  * },
2279
2337
  * "triggers": [],
2280
2338
  * "type": "INITIAL",
@@ -2288,8 +2346,7 @@ export declare class WorkflowsService extends CommonHttpService {
2288
2346
  * "name": "To Do",
2289
2347
  * "properties": {},
2290
2348
  * "to": {
2291
- * "statusReference":
2292
- * "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2349
+ * "statusReference": "f0b24de5-25e7-4fab-ab94-63d81db6c0c0"
2293
2350
  * },
2294
2351
  * "triggers": [],
2295
2352
  * "type": "GLOBAL",
@@ -2303,8 +2360,7 @@ export declare class WorkflowsService extends CommonHttpService {
2303
2360
  * "name": "In Progress",
2304
2361
  * "properties": {},
2305
2362
  * "to": {
2306
- * "statusReference":
2307
- * "c7a35bf0-c127-4aa6-869f-4033730c61d8"
2363
+ * "statusReference": "c7a35bf0-c127-4aa6-869f-4033730c61d8"
2308
2364
  * },
2309
2365
  * "triggers": [],
2310
2366
  * "type": "GLOBAL",
@@ -2318,8 +2374,7 @@ export declare class WorkflowsService extends CommonHttpService {
2318
2374
  * "name": "Done",
2319
2375
  * "properties": {},
2320
2376
  * "to": {
2321
- * "statusReference":
2322
- * "6b3fc04d-3316-46c5-a257-65751aeb8849"
2377
+ * "statusReference": "6b3fc04d-3316-46c5-a257-65751aeb8849"
2323
2378
  * },
2324
2379
  * "triggers": [],
2325
2380
  * "type": "GLOBAL",
@@ -2368,13 +2423,14 @@ export declare class WorkflowsService extends CommonHttpService {
2368
2423
  *
2369
2424
  * A validator rule that checks if a user has the required permissions to execute
2370
2425
  * the transition in the workflow.
2371
- *
2372
- * {
2373
- * "ruleKey": "system:check-permission-validator",
2374
- * "parameters": {
2375
- * "permissionKey": "ADMINISTER_PROJECTS"
2376
- * }
2377
- * }
2426
+ * ```
2427
+ * {
2428
+ * "ruleKey": "system:check-permission-validator",
2429
+ * "parameters": {
2430
+ * "permissionKey": "ADMINISTER_PROJECTS"
2431
+ * }
2432
+ * }
2433
+ * ```
2378
2434
  *
2379
2435
  * Parameters:
2380
2436
  *
@@ -2386,14 +2442,15 @@ export declare class WorkflowsService extends CommonHttpService {
2386
2442
  *
2387
2443
  * A validator to block the child issue\\u2019s transition depending on the parent
2388
2444
  * issue\\u2019s status.
2389
- *
2390
- * {
2391
- * "ruleKey" : "system:parent-or-child-blocking-validator"
2392
- * "parameters" : {
2393
- * "blocker" : "PARENT"
2394
- * "statusIds" : "1,2,3"
2395
- * }
2396
- * }
2445
+ * ```
2446
+ * {
2447
+ * "ruleKey" : "system:parent-or-child-blocking-validator"
2448
+ * "parameters" : {
2449
+ * "blocker" : "PARENT"
2450
+ * "statusIds" : "1,2,3"
2451
+ * }
2452
+ * }
2453
+ * ```
2397
2454
  *
2398
2455
  * Parameters:
2399
2456
  *
@@ -2404,14 +2461,15 @@ export declare class WorkflowsService extends CommonHttpService {
2404
2461
  *
2405
2462
  * A validator that checks if an issue has transitioned through specified previous
2406
2463
  * status(es) before allowing the current transition to occur.
2407
- *
2408
- * {
2409
- * "ruleKey": "system:previous-status-validator",
2410
- * "parameters": {
2411
- * "previousStatusIds": "10014",
2412
- * "mostRecentStatusOnly": "true"
2413
- * }
2414
- * }
2464
+ * ```
2465
+ * {
2466
+ * "ruleKey": "system:previous-status-validator",
2467
+ * "parameters": {
2468
+ * "previousStatusIds": "10014",
2469
+ * "mostRecentStatusOnly": "true"
2470
+ * }
2471
+ * }
2472
+ * ```
2415
2473
  *
2416
2474
  * Parameters:
2417
2475
  *
@@ -2428,16 +2486,17 @@ export declare class WorkflowsService extends CommonHttpService {
2428
2486
  * Depending on the rule type, the result will vary:
2429
2487
  *
2430
2488
  * ###### Field required ######
2431
- *
2432
- * {
2433
- * "ruleKey": "system:validate-field-value",
2434
- * "parameters": {
2435
- * "ruleType": "fieldRequired",
2436
- * "fieldsRequired": "assignee",
2437
- * "ignoreContext": "true",
2438
- * "errorMessage": "An assignee must be set!"
2439
- * }
2440
- * }
2489
+ * ```
2490
+ * {
2491
+ * "ruleKey": "system:validate-field-value",
2492
+ * "parameters": {
2493
+ * "ruleType": "fieldRequired",
2494
+ * "fieldsRequired": "assignee",
2495
+ * "ignoreContext": "true",
2496
+ * "errorMessage": "An assignee must be set!"
2497
+ * }
2498
+ * }
2499
+ * ```
2441
2500
  *
2442
2501
  * Parameters:
2443
2502
  *
@@ -2453,16 +2512,17 @@ export declare class WorkflowsService extends CommonHttpService {
2453
2512
  * don't provide one (Optional).
2454
2513
  *
2455
2514
  * ###### Field changed ######
2456
- *
2457
- * {
2458
- * "ruleKey": "system:validate-field-value",
2459
- * "parameters": {
2460
- * "ruleType": "fieldChanged",
2461
- * "groupsExemptFromValidation": "6862ac20-8672-4f68-896d-4854f5efb79e",
2462
- * "fieldKey": "versions",
2463
- * "errorMessage": "Affect versions must be modified before transition"
2464
- * }
2465
- * }
2515
+ * ```
2516
+ * {
2517
+ * "ruleKey": "system:validate-field-value",
2518
+ * "parameters": {
2519
+ * "ruleType": "fieldChanged",
2520
+ * "groupsExemptFromValidation": "6862ac20-8672-4f68-896d-4854f5efb79e",
2521
+ * "fieldKey": "versions",
2522
+ * "errorMessage": "Affect versions must be modified before transition"
2523
+ * }
2524
+ * }
2525
+ * ```
2466
2526
  *
2467
2527
  * Parameters:
2468
2528
  *
@@ -2475,15 +2535,16 @@ export declare class WorkflowsService extends CommonHttpService {
2475
2535
  * provide one (Optional).
2476
2536
  *
2477
2537
  * ###### Field has a single value ######
2478
- *
2479
- * {
2480
- * "ruleKey": "system:validate-field-value",
2481
- * "parameters": {
2482
- * "ruleType": "fieldHasSingleValue",
2483
- * "fieldKey": "created",
2484
- * "excludeSubtasks": "true"
2485
- * }
2486
- * }
2538
+ * ```
2539
+ * {
2540
+ * "ruleKey": "system:validate-field-value",
2541
+ * "parameters": {
2542
+ * "ruleType": "fieldHasSingleValue",
2543
+ * "fieldKey": "created",
2544
+ * "excludeSubtasks": "true"
2545
+ * }
2546
+ * }
2547
+ * ```
2487
2548
  *
2488
2549
  * Parameters:
2489
2550
  *
@@ -2493,15 +2554,16 @@ export declare class WorkflowsService extends CommonHttpService {
2493
2554
  * values: `true`, `false`.
2494
2555
  *
2495
2556
  * ###### Field matches regular expression ######
2496
- *
2497
- * {
2498
- * "ruleKey": "system:validate-field-value",
2499
- * "parameters": {
2500
- * "ruleType": "fieldMatchesRegularExpression",
2501
- * "regexp": "[0-9]{4}",
2502
- * "fieldKey": "description"
2503
- * }
2504
- * }
2557
+ * ```
2558
+ * {
2559
+ * "ruleKey": "system:validate-field-value",
2560
+ * "parameters": {
2561
+ * "ruleType": "fieldMatchesRegularExpression",
2562
+ * "regexp": "[0-9]{4}",
2563
+ * "fieldKey": "description"
2564
+ * }
2565
+ * }
2566
+ * ```
2505
2567
  *
2506
2568
  * Parameters:
2507
2569
  *
@@ -2510,17 +2572,18 @@ export declare class WorkflowsService extends CommonHttpService {
2510
2572
  * look like `customfield_123`.
2511
2573
  *
2512
2574
  * ###### Date field comparison ######
2513
- *
2514
- * {
2515
- * "ruleKey": "system:validate-field-value",
2516
- * "parameters": {
2517
- * "ruleType": "dateFieldComparison",
2518
- * "date1FieldKey": "duedate",
2519
- * "date2FieldKey": "customfield_10054",
2520
- * "includeTime": "true",
2521
- * "conditionSelected": ">="
2522
- * }
2523
- * }
2575
+ * ```
2576
+ * {
2577
+ * "ruleKey": "system:validate-field-value",
2578
+ * "parameters": {
2579
+ * "ruleType": "dateFieldComparison",
2580
+ * "date1FieldKey": "duedate",
2581
+ * "date2FieldKey": "customfield_10054",
2582
+ * "includeTime": "true",
2583
+ * "conditionSelected": ">="
2584
+ * }
2585
+ * }
2586
+ * ```
2524
2587
  *
2525
2588
  * Parameters:
2526
2589
  *
@@ -2534,16 +2597,17 @@ export declare class WorkflowsService extends CommonHttpService {
2534
2597
  * `>=`, `=`, `<=`, `<`, `!=`.
2535
2598
  *
2536
2599
  * ###### Date range comparison ######
2537
- *
2538
- * {
2539
- * "ruleKey": "system:validate-field-value",
2540
- * "parameters": {
2541
- * "ruleType": "windowDateComparison",
2542
- * "date1FieldKey": "customfield_10009",
2543
- * "date2FieldKey": "customfield_10054",
2544
- * "numberOfDays": "3"
2545
- * }
2546
- * }
2600
+ * ```
2601
+ * {
2602
+ * "ruleKey": "system:validate-field-value",
2603
+ * "parameters": {
2604
+ * "ruleType": "windowDateComparison",
2605
+ * "date1FieldKey": "customfield_10009",
2606
+ * "date2FieldKey": "customfield_10054",
2607
+ * "numberOfDays": "3"
2608
+ * }
2609
+ * }
2610
+ * ```
2547
2611
  *
2548
2612
  * Parameters:
2549
2613
  *
@@ -2566,20 +2630,22 @@ export declare class WorkflowsService extends CommonHttpService {
2566
2630
  * ##### Proforma: Forms attached validator #####
2567
2631
  *
2568
2632
  * Validates that one or more forms are attached to the issue.
2569
- *
2570
- * {
2571
- * "ruleKey" : "system:proforma-forms-attached"
2572
- * "parameters" : {}
2573
- * }
2633
+ * ```
2634
+ * {
2635
+ * "ruleKey" : "system:proforma-forms-attached"
2636
+ * "parameters" : {}
2637
+ * }
2638
+ * ```
2574
2639
  *
2575
2640
  * ##### Proforma: Forms submitted validator #####
2576
2641
  *
2577
2642
  * Validates that all forms attached to the issue have been submitted.
2578
- *
2579
- * {
2580
- * "ruleKey" : "system:proforma-forms-submitted"
2581
- * "parameters" : {}
2582
- * }
2643
+ * ```
2644
+ * {
2645
+ * "ruleKey" : "system:proforma-forms-submitted"
2646
+ * "parameters" : {}
2647
+ * }
2648
+ * ```
2583
2649
  *
2584
2650
  * #### Conditions ####
2585
2651
  *
@@ -2590,16 +2656,17 @@ export declare class WorkflowsService extends CommonHttpService {
2590
2656
  * A condition rule evaluates as true if a specific field's value meets the
2591
2657
  * defined criteria. This rule ensures that an issue can only transition to the
2592
2658
  * next step in the workflow if the field's value matches the desired condition.
2593
- *
2594
- * {
2595
- * "ruleKey": "system:check-field-value",
2596
- * "parameters": {
2597
- * "fieldId": "description",
2598
- * "fieldValue": "[\"Done\"]",
2599
- * "comparator": "=",
2600
- * "comparisonType": "STRING"
2601
- * }
2602
- * }
2659
+ * ```
2660
+ * {
2661
+ * "ruleKey": "system:check-field-value",
2662
+ * "parameters": {
2663
+ * "fieldId": "description",
2664
+ * "fieldValue": "[\"Done\"]",
2665
+ * "comparator": "=",
2666
+ * "comparisonType": "STRING"
2667
+ * }
2668
+ * }
2669
+ * ```
2603
2670
  *
2604
2671
  * Parameters:
2605
2672
  *
@@ -2618,20 +2685,21 @@ export declare class WorkflowsService extends CommonHttpService {
2618
2685
  * roles, group memberships, and permissions, maintaining control over who can
2619
2686
  * transition an issue. This condition evaluates as `true` if any of the following
2620
2687
  * criteria is met.
2621
- *
2622
- * {
2623
- * "ruleKey": "system:restrict-issue-transition",
2624
- * "parameters": {
2625
- * "accountIds": "allow-reporter,5e68ac137d64450d01a77fa0",
2626
- * "roleIds": "10002,10004",
2627
- * "groupIds": "703ff44a-7dc8-4f4b-9aa6-a65bf3574fa4",
2628
- * "permissionKeys": "ADMINISTER_PROJECTS",
2629
- * "groupCustomFields": "customfield_10028",
2630
- * "allowUserCustomFields":
2688
+ * ```
2689
+ * {
2690
+ * "ruleKey": "system:restrict-issue-transition",
2691
+ * "parameters": {
2692
+ * "accountIds": "allow-reporter,5e68ac137d64450d01a77fa0",
2693
+ * "roleIds": "10002,10004",
2694
+ * "groupIds": "703ff44a-7dc8-4f4b-9aa6-a65bf3574fa4",
2695
+ * "permissionKeys": "ADMINISTER_PROJECTS",
2696
+ * "groupCustomFields": "customfield_10028",
2697
+ * "allowUserCustomFields":
2631
2698
  * "customfield_10072,customfield_10144,customfield_10007",
2632
- * "denyUserCustomFields": "customfield_10107"
2633
- * }
2634
- * }
2699
+ * "denyUserCustomFields": "customfield_10107"
2700
+ * }
2701
+ * }
2702
+ * ```
2635
2703
  *
2636
2704
  * Parameters:
2637
2705
  *
@@ -2665,17 +2733,18 @@ export declare class WorkflowsService extends CommonHttpService {
2665
2733
  *
2666
2734
  * A condition that evaluates based on an issue's previous status(es) and specific
2667
2735
  * criteria.
2668
- *
2669
- * {
2670
- * "ruleKey" : "system:previous-status-condition"
2671
- * "parameters" : {
2672
- * "previousStatusIds" : "10004",
2673
- * "not": "true",
2674
- * "mostRecentStatusOnly" : "true",
2675
- * "includeCurrentStatus": "true",
2676
- * "ignoreLoopTransitions": "true"
2677
- * }
2678
- * }
2736
+ * ```
2737
+ * {
2738
+ * "ruleKey" : "system:previous-status-condition"
2739
+ * "parameters" : {
2740
+ * "previousStatusIds" : "10004",
2741
+ * "not": "true",
2742
+ * "mostRecentStatusOnly" : "true",
2743
+ * "includeCurrentStatus": "true",
2744
+ * "ignoreLoopTransitions": "true"
2745
+ * }
2746
+ * }
2747
+ * ```
2679
2748
  *
2680
2749
  * Parameters:
2681
2750
  *
@@ -2695,14 +2764,15 @@ export declare class WorkflowsService extends CommonHttpService {
2695
2764
  *
2696
2765
  * A condition to block the parent\\u2019s issue transition depending on the
2697
2766
  * child\\u2019s issue status.
2698
- *
2699
- * {
2700
- * "ruleKey" : "system:parent-or-child-blocking-condition"
2701
- * "parameters" : {
2702
- * "blocker" : "CHILD",
2703
- * "statusIds" : "1,2,3"
2704
- * }
2705
- * }
2767
+ * ```
2768
+ * {
2769
+ * "ruleKey" : "system:parent-or-child-blocking-condition"
2770
+ * "parameters" : {
2771
+ * "blocker" : "CHILD",
2772
+ * "statusIds" : "1,2,3"
2773
+ * }
2774
+ * }
2775
+ * ```
2706
2776
  *
2707
2777
  * Parameters:
2708
2778
  *
@@ -2713,14 +2783,15 @@ export declare class WorkflowsService extends CommonHttpService {
2713
2783
  *
2714
2784
  * A condition preventing the user from performing, if the user has already
2715
2785
  * performed a transition on the issue.
2716
- *
2717
- * {
2718
- * "ruleKey": "system:separation-of-duties",
2719
- * "parameters": {
2720
- * "fromStatusId": "10161",
2721
- * "toStatusId": "10160"
2722
- * }
2723
- * }
2786
+ * ```
2787
+ * {
2788
+ * "ruleKey": "system:separation-of-duties",
2789
+ * "parameters": {
2790
+ * "fromStatusId": "10161",
2791
+ * "toStatusId": "10160"
2792
+ * }
2793
+ * }
2794
+ * ```
2724
2795
  *
2725
2796
  * Parameters:
2726
2797
  *
@@ -2735,13 +2806,14 @@ export declare class WorkflowsService extends CommonHttpService {
2735
2806
  *
2736
2807
  * A condition preventing all users from transitioning the issue can also
2737
2808
  * optionally include APIs as well.
2738
- *
2739
- * {
2740
- * "ruleKey": "system:restrict-from-all-users",
2741
- * "parameters": {
2742
- * "restrictMode": "users"
2743
- * }
2744
- * }
2809
+ * ```
2810
+ * {
2811
+ * "ruleKey": "system:restrict-from-all-users",
2812
+ * "parameters": {
2813
+ * "restrictMode": "users"
2814
+ * }
2815
+ * }
2816
+ * ```
2745
2817
  *
2746
2818
  * Parameters:
2747
2819
  *
@@ -2752,13 +2824,14 @@ export declare class WorkflowsService extends CommonHttpService {
2752
2824
  *
2753
2825
  * Block an issue transition until approval. Note: This is only supported in
2754
2826
  * team-managed projects.
2755
- *
2756
- * {
2757
- * "ruleKey": "system:jsd-approvals-block-until-approved",
2758
- * "parameters": {
2759
- * "approvalConfigurationJson": "{"statusExternalUuid...}"
2760
- * }
2761
- * }
2827
+ * ```
2828
+ * {
2829
+ * "ruleKey": "system:jsd-approvals-block-until-approved",
2830
+ * "parameters": {
2831
+ * "approvalConfigurationJson": "{"statusExternalUuid...}"
2832
+ * }
2833
+ * }
2834
+ * ```
2762
2835
  *
2763
2836
  * Parameters:
2764
2837
  *
@@ -2769,13 +2842,14 @@ export declare class WorkflowsService extends CommonHttpService {
2769
2842
  *
2770
2843
  * Block an issue transition until rejected. Note: This is only supported in
2771
2844
  * team-managed projects.
2772
- *
2773
- * {
2774
- * "ruleKey": "system:jsd-approvals-block-until-rejected",
2775
- * "parameters": {
2776
- * "approvalConfigurationJson": "{"statusExternalUuid...}"
2777
- * }
2778
- * }
2845
+ * ```
2846
+ * {
2847
+ * "ruleKey": "system:jsd-approvals-block-until-rejected",
2848
+ * "parameters": {
2849
+ * "approvalConfigurationJson": "{"statusExternalUuid...}"
2850
+ * }
2851
+ * }
2852
+ * ```
2779
2853
  *
2780
2854
  * Parameters:
2781
2855
  *
@@ -2786,11 +2860,12 @@ export declare class WorkflowsService extends CommonHttpService {
2786
2860
  *
2787
2861
  * Condition to block issue transition if there is pending approval. Note: This is
2788
2862
  * only supported in company-managed projects.
2789
- *
2790
- * {
2791
- * "ruleKey": "system:block-in-progress-approval",
2792
- * "parameters": {}
2793
- * }
2863
+ * ```
2864
+ * {
2865
+ * "ruleKey": "system:block-in-progress-approval",
2866
+ * "parameters": {}
2867
+ * }
2868
+ * ```
2794
2869
  *
2795
2870
  * #### Post functions ####
2796
2871
  *
@@ -2800,14 +2875,15 @@ export declare class WorkflowsService extends CommonHttpService {
2800
2875
  * ##### Change assignee #####
2801
2876
  *
2802
2877
  * A post function rule that changes the assignee of an issue after a transition.
2803
- *
2804
- * {
2805
- * "ruleKey": "system:change-assignee",
2806
- * "parameters": {
2807
- * "type": "to-selected-user",
2808
- * "accountId": "example-account-id"
2809
- * }
2810
- * }
2878
+ * ```
2879
+ * {
2880
+ * "ruleKey": "system:change-assignee",
2881
+ * "parameters": {
2882
+ * "type": "to-selected-user",
2883
+ * "accountId": "example-account-id"
2884
+ * }
2885
+ * }
2886
+ * ```
2811
2887
  *
2812
2888
  * Parameters:
2813
2889
  *
@@ -2822,15 +2898,16 @@ export declare class WorkflowsService extends CommonHttpService {
2822
2898
  * A post function that automates the process of copying values between fields
2823
2899
  * during a specific transition, ensuring data consistency and reducing manual
2824
2900
  * effort.
2825
- *
2826
- * {
2827
- * "ruleKey": "system:copy-value-from-other-field",
2828
- * "parameters": {
2829
- * "sourceFieldKey": "description",
2830
- * "targetFieldKey": "components",
2831
- * "issueSource": "SAME"
2832
- * }
2833
- * }
2901
+ * ```
2902
+ * {
2903
+ * "ruleKey": "system:copy-value-from-other-field",
2904
+ * "parameters": {
2905
+ * "sourceFieldKey": "description",
2906
+ * "targetFieldKey": "components",
2907
+ * "issueSource": "SAME"
2908
+ * }
2909
+ * }
2910
+ * ```
2834
2911
  *
2835
2912
  * Parameters:
2836
2913
  *
@@ -2844,15 +2921,16 @@ export declare class WorkflowsService extends CommonHttpService {
2844
2921
  * ##### Update field #####
2845
2922
  *
2846
2923
  * A post function that updates or appends a specific field with the given value.
2847
- *
2848
- * {
2849
- * "ruleKey": "system:update-field",
2850
- * "parameters": {
2851
- * "field": "customfield_10056",
2852
- * "value": "asdf",
2853
- * "mode": "append"
2854
- * }
2855
- * }
2924
+ * ```
2925
+ * {
2926
+ * "ruleKey": "system:update-field",
2927
+ * "parameters": {
2928
+ * "field": "customfield_10056",
2929
+ * "value": "asdf",
2930
+ * "mode": "append"
2931
+ * }
2932
+ * }
2933
+ * ```
2856
2934
  *
2857
2935
  * Parameters:
2858
2936
  *
@@ -2866,13 +2944,14 @@ export declare class WorkflowsService extends CommonHttpService {
2866
2944
  *
2867
2945
  * A post function that automatically triggers a predefined webhook when a
2868
2946
  * transition occurs in the workflow.
2869
- *
2870
- * {
2871
- * "ruleKey": "system:trigger-webhook",
2872
- * "parameters": {
2873
- * "webhookId": "1"
2874
- * }
2875
- * }
2947
+ * ```
2948
+ * {
2949
+ * "ruleKey": "system:trigger-webhook",
2950
+ * "parameters": {
2951
+ * "webhookId": "1"
2952
+ * }
2953
+ * }
2954
+ * ```
2876
2955
  *
2877
2956
  * Parameters:
2878
2957
  *
@@ -2886,15 +2965,16 @@ export declare class WorkflowsService extends CommonHttpService {
2886
2965
  * with an issue screen during a transition. This rule is useful for ensuring that
2887
2966
  * users provide or modify necessary information before moving an issue to the
2888
2967
  * next step in the workflow.
2889
- *
2890
- * {
2891
- * "ruleKey": "system:remind-people-to-update-fields",
2892
- * "params": {
2893
- * "remindingFieldIds": "assignee,customfield_10025",
2894
- * "remindingMessage": "The message",
2895
- * "remindingAlwaysAsk": "true"
2896
- * }
2897
- * }
2968
+ * ```
2969
+ * {
2970
+ * "ruleKey": "system:remind-people-to-update-fields",
2971
+ * "params": {
2972
+ * "remindingFieldIds": "assignee,customfield_10025",
2973
+ * "remindingMessage": "The message",
2974
+ * "remindingAlwaysAsk": "true"
2975
+ * }
2976
+ * }
2977
+ * ```
2898
2978
  *
2899
2979
  * Parameters:
2900
2980
  *
@@ -2909,13 +2989,14 @@ export declare class WorkflowsService extends CommonHttpService {
2909
2989
  * ##### Shared transition screen #####
2910
2990
  *
2911
2991
  * A common screen that is shared between transitions in a workflow.
2912
- *
2913
- * {
2914
- * "ruleKey": "system:transition-screen",
2915
- * "params": {
2916
- * "screenId": "3"
2917
- * }
2918
- * }
2992
+ * ```
2993
+ * {
2994
+ * "ruleKey": "system:transition-screen",
2995
+ * "params": {
2996
+ * "screenId": "3"
2997
+ * }
2998
+ * }
2999
+ * ```
2919
3000
  *
2920
3001
  * Parameters:
2921
3002
  *
@@ -2926,17 +3007,18 @@ export declare class WorkflowsService extends CommonHttpService {
2926
3007
  * ##### Connect rules #####
2927
3008
  *
2928
3009
  * Validator/Condition/Post function for Connect app.
2929
- *
2930
- * {
2931
- * "ruleKey": "connect:expression-validator",
2932
- * "parameters": {
2933
- * "appKey": "com.atlassian.app",
2934
- * "config": "",
2935
- * "id": "90ce590f-e90c-4cd3-8281-165ce41f2ac3",
2936
- * "disabled": "false",
2937
- * "tag": ""
2938
- * }
2939
- * }
3010
+ * ```
3011
+ * {
3012
+ * "ruleKey": "connect:expression-validator",
3013
+ * "parameters": {
3014
+ * "appKey": "com.atlassian.app",
3015
+ * "config": "",
3016
+ * "id": "90ce590f-e90c-4cd3-8281-165ce41f2ac3",
3017
+ * "disabled": "false",
3018
+ * "tag": ""
3019
+ * }
3020
+ * }
3021
+ * ```
2940
3022
  *
2941
3023
  * Parameters:
2942
3024
  *
@@ -2953,16 +3035,17 @@ export declare class WorkflowsService extends CommonHttpService {
2953
3035
  * ##### Forge rules #####
2954
3036
  *
2955
3037
  * Validator/Condition/Post function for Forge app.
2956
- *
2957
- * {
2958
- * "ruleKey": "forge:expression-validator",
2959
- * "parameters": {
2960
- * "key":
3038
+ * ```
3039
+ * {
3040
+ * "ruleKey": "forge:expression-validator",
3041
+ * "parameters": {
3042
+ * "key":
2961
3043
  * "ari:cloud:ecosystem::extension/{appId}/{environmentId}/static/{moduleKey}",
2962
- * "config": "{"searchString":"workflow validator"}",
2963
- * "id": "a865ddf6-bb3f-4a7b-9540-c2f8b3f9f6c2"
2964
- * }
2965
- * }
3044
+ * "config": "{"searchString":"workflow validator"}",
3045
+ * "id": "a865ddf6-bb3f-4a7b-9540-c2f8b3f9f6c2"
3046
+ * }
3047
+ * }
3048
+ * ```
2966
3049
  *
2967
3050
  * Parameters:
2968
3051
  *
@@ -2974,7 +3057,9 @@ export declare class WorkflowsService extends CommonHttpService {
2974
3057
  *
2975
3058
  * @returns Returned if the request is successful.
2976
3059
  *
2977
- * example: {
3060
+ * example:
3061
+ * ```
3062
+ * {
2978
3063
  * "connectRules": [
2979
3064
  * {
2980
3065
  * "addonKey": "com.atlassian.jira.refapp",
@@ -2992,8 +3077,7 @@ export declare class WorkflowsService extends CommonHttpService {
2992
3077
  * "forgeRules": [
2993
3078
  * {
2994
3079
  * "description": "A Jira workflow validator example.",
2995
- * "id":
2996
- * "ari:cloud:ecosystem::extension/9df6d15f-1bbe-443e-be08-150309e8dbb0/f6a3bed3-737f-4e7a-8942-130df302b749/static/workflow-validator-example-workflow-validator",
3080
+ * "id": "ari:cloud:ecosystem::extension/9df6d15f-1bbe-443e-be08-150309e8dbb0/f6a3bed3-737f-4e7a-8942-130df302b749/static/workflow-validator-example-workflow-validator",
2997
3081
  * "name": "workflow-validator",
2998
3082
  * "ruleKey": "forge:expression-validator",
2999
3083
  * "ruleType": "Validator"
@@ -3005,8 +3089,7 @@ export declare class WorkflowsService extends CommonHttpService {
3005
3089
  * ],
3006
3090
  * "systemRules": [
3007
3091
  * {
3008
- * "description": "Automatically assign a request to someone after moving
3009
- * the request using a particular transition.",
3092
+ * "description": "Automatically assign a request to someone after moving the request using a particular transition.",
3010
3093
  * "incompatibleRuleKeys": [],
3011
3094
  * "isAvailableForInitialTransition": true,
3012
3095
  * "isVisible": true,
@@ -3019,21 +3102,21 @@ export declare class WorkflowsService extends CommonHttpService {
3019
3102
  * {
3020
3103
  * "availableTypes": [
3021
3104
  * {
3022
- * "description": "Automatically transitions the issue when a related
3023
- * branch is created in a connected repository",
3105
+ * "description": "Automatically transitions the issue when a related branch is created in a connected repository",
3024
3106
  * "name": "Branch created",
3025
- * "type":
3026
- * "com.atlassian.jira.plugins.jira-development-integration-plugin:branch-created-trigger"
3107
+ * "type": "com.atlassian.jira.plugins.jira-development-integration-plugin:branch-created-trigger"
3027
3108
  * }
3028
3109
  * ],
3029
3110
  * "ruleKey": "system:development-triggers"
3030
3111
  * }
3031
3112
  * ]
3032
3113
  * }
3033
- * @path {GET} /rest/api/3/workflows/capabilities
3114
+ * ```
3115
+ * @path GET `/rest/api/3/workflows/capabilities`
3034
3116
  * @scopes-current manage:jira-configuration
3035
3117
  * @scopes-beta read:workflow:jira
3036
3118
  * @see https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-workflows#api-rest-api-3-workflows-capabilities-get
3119
+ * @param params
3037
3120
  */
3038
3121
  workflowCapabilities: ({ workflowId, projectId, issueTypeId, }?: {
3039
3122
  workflowId?: string | undefined;