@resolution/jira-api-client 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (785) hide show
  1. package/.eslintrc.js +3 -0
  2. package/CHANGELOG.md +11 -0
  3. package/LICENSE.md +19 -0
  4. package/README.md +12 -0
  5. package/config/api-typescript-generator.config.ts +91 -0
  6. package/config/compare-schemas.ts +307 -0
  7. package/lib/index.d.ts +15 -0
  8. package/lib/index.js +25 -0
  9. package/lib/index.js.map +1 -0
  10. package/lib/openapi/platform/base-jira-platform-api-client.d.ts +868 -0
  11. package/lib/openapi/platform/base-jira-platform-api-client.js +808 -0
  12. package/lib/openapi/platform/base-jira-platform-api-client.js.map +1 -0
  13. package/lib/openapi/platform/core/common-http-client.d.ts +196 -0
  14. package/lib/openapi/platform/core/common-http-client.js +390 -0
  15. package/lib/openapi/platform/core/common-http-client.js.map +1 -0
  16. package/lib/openapi/platform/core/common-http-service.d.ts +7 -0
  17. package/lib/openapi/platform/core/common-http-service.js +20 -0
  18. package/lib/openapi/platform/core/common-http-service.js.map +1 -0
  19. package/lib/openapi/platform/core/common-validation-schema-storage.d.ts +35 -0
  20. package/lib/openapi/platform/core/common-validation-schema-storage.js +65 -0
  21. package/lib/openapi/platform/core/common-validation-schema-storage.js.map +1 -0
  22. package/lib/openapi/platform/models/announcement-banner.d.ts +27 -0
  23. package/lib/openapi/platform/models/announcement-banner.js +30 -0
  24. package/lib/openapi/platform/models/announcement-banner.js.map +1 -0
  25. package/lib/openapi/platform/models/app-data-policies.d.ts +31 -0
  26. package/lib/openapi/platform/models/app-data-policies.js +40 -0
  27. package/lib/openapi/platform/models/app-data-policies.js.map +1 -0
  28. package/lib/openapi/platform/models/app-migration.d.ts +86 -0
  29. package/lib/openapi/platform/models/app-migration.js +67 -0
  30. package/lib/openapi/platform/models/app-migration.js.map +1 -0
  31. package/lib/openapi/platform/models/app-properties.d.ts +15 -0
  32. package/lib/openapi/platform/models/app-properties.js +18 -0
  33. package/lib/openapi/platform/models/app-properties.js.map +1 -0
  34. package/lib/openapi/platform/models/audit-records.d.ts +70 -0
  35. package/lib/openapi/platform/models/audit-records.js +62 -0
  36. package/lib/openapi/platform/models/audit-records.js.map +1 -0
  37. package/lib/openapi/platform/models/avatars.d.ts +18 -0
  38. package/lib/openapi/platform/models/avatars.js +27 -0
  39. package/lib/openapi/platform/models/avatars.js.map +1 -0
  40. package/lib/openapi/platform/models/classification-levels.d.ts +25 -0
  41. package/lib/openapi/platform/models/classification-levels.js +31 -0
  42. package/lib/openapi/platform/models/classification-levels.js.map +1 -0
  43. package/lib/openapi/platform/models/common.d.ts +1490 -0
  44. package/lib/openapi/platform/models/common.js +937 -0
  45. package/lib/openapi/platform/models/common.js.map +1 -0
  46. package/lib/openapi/platform/models/dashboards.d.ts +414 -0
  47. package/lib/openapi/platform/models/dashboards.js +325 -0
  48. package/lib/openapi/platform/models/dashboards.js.map +1 -0
  49. package/lib/openapi/platform/models/dynamic-modules.d.ts +92 -0
  50. package/lib/openapi/platform/models/dynamic-modules.js +24 -0
  51. package/lib/openapi/platform/models/dynamic-modules.js.map +1 -0
  52. package/lib/openapi/platform/models/filter-sharing.d.ts +59 -0
  53. package/lib/openapi/platform/models/filter-sharing.js +36 -0
  54. package/lib/openapi/platform/models/filter-sharing.js.map +1 -0
  55. package/lib/openapi/platform/models/filters.d.ts +183 -0
  56. package/lib/openapi/platform/models/filters.js +115 -0
  57. package/lib/openapi/platform/models/filters.js.map +1 -0
  58. package/lib/openapi/platform/models/group-and-user-picker.d.ts +49 -0
  59. package/lib/openapi/platform/models/group-and-user-picker.js +31 -0
  60. package/lib/openapi/platform/models/group-and-user-picker.js.map +1 -0
  61. package/lib/openapi/platform/models/groups.d.ts +127 -0
  62. package/lib/openapi/platform/models/groups.js +98 -0
  63. package/lib/openapi/platform/models/groups.js.map +1 -0
  64. package/lib/openapi/platform/models/issue-attachments.d.ts +124 -0
  65. package/lib/openapi/platform/models/issue-attachments.js +129 -0
  66. package/lib/openapi/platform/models/issue-attachments.js.map +1 -0
  67. package/lib/openapi/platform/models/issue-comment-properties.d.ts +10 -0
  68. package/lib/openapi/platform/models/issue-comment-properties.js +18 -0
  69. package/lib/openapi/platform/models/issue-comment-properties.js.map +1 -0
  70. package/lib/openapi/platform/models/issue-comments.d.ts +36 -0
  71. package/lib/openapi/platform/models/issue-comments.js +49 -0
  72. package/lib/openapi/platform/models/issue-comments.js.map +1 -0
  73. package/lib/openapi/platform/models/issue-custom-field-configuration-apps.d.ts +36 -0
  74. package/lib/openapi/platform/models/issue-custom-field-configuration-apps.js +53 -0
  75. package/lib/openapi/platform/models/issue-custom-field-configuration-apps.js.map +1 -0
  76. package/lib/openapi/platform/models/issue-custom-field-contexts.d.ts +417 -0
  77. package/lib/openapi/platform/models/issue-custom-field-contexts.js +458 -0
  78. package/lib/openapi/platform/models/issue-custom-field-contexts.js.map +1 -0
  79. package/lib/openapi/platform/models/issue-custom-field-options-apps.d.ts +119 -0
  80. package/lib/openapi/platform/models/issue-custom-field-options-apps.js +133 -0
  81. package/lib/openapi/platform/models/issue-custom-field-options-apps.js.map +1 -0
  82. package/lib/openapi/platform/models/issue-custom-field-options.d.ts +136 -0
  83. package/lib/openapi/platform/models/issue-custom-field-options.js +115 -0
  84. package/lib/openapi/platform/models/issue-custom-field-options.js.map +1 -0
  85. package/lib/openapi/platform/models/issue-custom-field-values-apps.d.ts +66 -0
  86. package/lib/openapi/platform/models/issue-custom-field-values-apps.js +42 -0
  87. package/lib/openapi/platform/models/issue-custom-field-values-apps.js.map +1 -0
  88. package/lib/openapi/platform/models/issue-field-configurations.d.ts +194 -0
  89. package/lib/openapi/platform/models/issue-field-configurations.js +182 -0
  90. package/lib/openapi/platform/models/issue-field-configurations.js.map +1 -0
  91. package/lib/openapi/platform/models/issue-fields.d.ts +227 -0
  92. package/lib/openapi/platform/models/issue-fields.js +119 -0
  93. package/lib/openapi/platform/models/issue-fields.js.map +1 -0
  94. package/lib/openapi/platform/models/issue-link-types.d.ts +9 -0
  95. package/lib/openapi/platform/models/issue-link-types.js +21 -0
  96. package/lib/openapi/platform/models/issue-link-types.js.map +1 -0
  97. package/lib/openapi/platform/models/issue-links.d.ts +90 -0
  98. package/lib/openapi/platform/models/issue-links.js +74 -0
  99. package/lib/openapi/platform/models/issue-links.js.map +1 -0
  100. package/lib/openapi/platform/models/issue-notification-schemes.d.ts +158 -0
  101. package/lib/openapi/platform/models/issue-notification-schemes.js +147 -0
  102. package/lib/openapi/platform/models/issue-notification-schemes.js.map +1 -0
  103. package/lib/openapi/platform/models/issue-priorities.d.ts +74 -0
  104. package/lib/openapi/platform/models/issue-priorities.js +89 -0
  105. package/lib/openapi/platform/models/issue-priorities.js.map +1 -0
  106. package/lib/openapi/platform/models/issue-properties.d.ts +80 -0
  107. package/lib/openapi/platform/models/issue-properties.js +158 -0
  108. package/lib/openapi/platform/models/issue-properties.js.map +1 -0
  109. package/lib/openapi/platform/models/issue-remote-links.d.ts +120 -0
  110. package/lib/openapi/platform/models/issue-remote-links.js +70 -0
  111. package/lib/openapi/platform/models/issue-remote-links.js.map +1 -0
  112. package/lib/openapi/platform/models/issue-resolutions.d.ts +81 -0
  113. package/lib/openapi/platform/models/issue-resolutions.js +79 -0
  114. package/lib/openapi/platform/models/issue-resolutions.js.map +1 -0
  115. package/lib/openapi/platform/models/issue-search.d.ts +196 -0
  116. package/lib/openapi/platform/models/issue-search.js +136 -0
  117. package/lib/openapi/platform/models/issue-search.js.map +1 -0
  118. package/lib/openapi/platform/models/issue-security-level.d.ts +36 -0
  119. package/lib/openapi/platform/models/issue-security-level.js +36 -0
  120. package/lib/openapi/platform/models/issue-security-level.js.map +1 -0
  121. package/lib/openapi/platform/models/issue-security-schemes.d.ts +214 -0
  122. package/lib/openapi/platform/models/issue-security-schemes.js +211 -0
  123. package/lib/openapi/platform/models/issue-security-schemes.js.map +1 -0
  124. package/lib/openapi/platform/models/issue-type-schemes.d.ts +146 -0
  125. package/lib/openapi/platform/models/issue-type-schemes.js +115 -0
  126. package/lib/openapi/platform/models/issue-type-schemes.js.map +1 -0
  127. package/lib/openapi/platform/models/issue-type-screen-schemes.d.ts +139 -0
  128. package/lib/openapi/platform/models/issue-type-screen-schemes.js +109 -0
  129. package/lib/openapi/platform/models/issue-type-screen-schemes.js.map +1 -0
  130. package/lib/openapi/platform/models/issue-types.d.ts +36 -0
  131. package/lib/openapi/platform/models/issue-types.js +28 -0
  132. package/lib/openapi/platform/models/issue-types.js.map +1 -0
  133. package/lib/openapi/platform/models/issue-votes.d.ts +18 -0
  134. package/lib/openapi/platform/models/issue-votes.js +22 -0
  135. package/lib/openapi/platform/models/issue-votes.js.map +1 -0
  136. package/lib/openapi/platform/models/issue-watchers.d.ts +27 -0
  137. package/lib/openapi/platform/models/issue-watchers.js +36 -0
  138. package/lib/openapi/platform/models/issue-watchers.js.map +1 -0
  139. package/lib/openapi/platform/models/issue-worklogs.d.ts +93 -0
  140. package/lib/openapi/platform/models/issue-worklogs.js +80 -0
  141. package/lib/openapi/platform/models/issue-worklogs.js.map +1 -0
  142. package/lib/openapi/platform/models/issues.d.ts +583 -0
  143. package/lib/openapi/platform/models/issues.js +545 -0
  144. package/lib/openapi/platform/models/issues.js.map +1 -0
  145. package/lib/openapi/platform/models/jira-expressions.d.ts +329 -0
  146. package/lib/openapi/platform/models/jira-expressions.js +180 -0
  147. package/lib/openapi/platform/models/jira-expressions.js.map +1 -0
  148. package/lib/openapi/platform/models/jira-settings.d.ts +62 -0
  149. package/lib/openapi/platform/models/jira-settings.js +49 -0
  150. package/lib/openapi/platform/models/jira-settings.js.map +1 -0
  151. package/lib/openapi/platform/models/jql-functions-apps.d.ts +61 -0
  152. package/lib/openapi/platform/models/jql-functions-apps.js +57 -0
  153. package/lib/openapi/platform/models/jql-functions-apps.js.map +1 -0
  154. package/lib/openapi/platform/models/jql.d.ts +348 -0
  155. package/lib/openapi/platform/models/jql.js +309 -0
  156. package/lib/openapi/platform/models/jql.js.map +1 -0
  157. package/lib/openapi/platform/models/labels.d.ts +20 -0
  158. package/lib/openapi/platform/models/labels.js +23 -0
  159. package/lib/openapi/platform/models/labels.js.map +1 -0
  160. package/lib/openapi/platform/models/license-metrics.d.ts +27 -0
  161. package/lib/openapi/platform/models/license-metrics.js +32 -0
  162. package/lib/openapi/platform/models/license-metrics.js.map +1 -0
  163. package/lib/openapi/platform/models/myself.d.ts +13 -0
  164. package/lib/openapi/platform/models/myself.js +17 -0
  165. package/lib/openapi/platform/models/myself.js.map +1 -0
  166. package/lib/openapi/platform/models/permission-schemes.d.ts +42 -0
  167. package/lib/openapi/platform/models/permission-schemes.js +39 -0
  168. package/lib/openapi/platform/models/permission-schemes.js.map +1 -0
  169. package/lib/openapi/platform/models/permissions.d.ts +97 -0
  170. package/lib/openapi/platform/models/permissions.js +176 -0
  171. package/lib/openapi/platform/models/permissions.js.map +1 -0
  172. package/lib/openapi/platform/models/priority-schemes.d.ts +233 -0
  173. package/lib/openapi/platform/models/priority-schemes.js +227 -0
  174. package/lib/openapi/platform/models/priority-schemes.js.map +1 -0
  175. package/lib/openapi/platform/models/project-avatars.d.ts +11 -0
  176. package/lib/openapi/platform/models/project-avatars.js +20 -0
  177. package/lib/openapi/platform/models/project-avatars.js.map +1 -0
  178. package/lib/openapi/platform/models/project-classification-levels.d.ts +8 -0
  179. package/lib/openapi/platform/models/project-classification-levels.js +17 -0
  180. package/lib/openapi/platform/models/project-classification-levels.js.map +1 -0
  181. package/lib/openapi/platform/models/project-components.d.ts +122 -0
  182. package/lib/openapi/platform/models/project-components.js +91 -0
  183. package/lib/openapi/platform/models/project-components.js.map +1 -0
  184. package/lib/openapi/platform/models/project-email.d.ts +10 -0
  185. package/lib/openapi/platform/models/project-email.js +18 -0
  186. package/lib/openapi/platform/models/project-email.js.map +1 -0
  187. package/lib/openapi/platform/models/project-features.d.ts +35 -0
  188. package/lib/openapi/platform/models/project-features.js +38 -0
  189. package/lib/openapi/platform/models/project-features.js.map +1 -0
  190. package/lib/openapi/platform/models/project-permission-schemes.d.ts +17 -0
  191. package/lib/openapi/platform/models/project-permission-schemes.js +25 -0
  192. package/lib/openapi/platform/models/project-permission-schemes.js.map +1 -0
  193. package/lib/openapi/platform/models/project-role-actors.d.ts +65 -0
  194. package/lib/openapi/platform/models/project-role-actors.js +37 -0
  195. package/lib/openapi/platform/models/project-role-actors.js.map +1 -0
  196. package/lib/openapi/platform/models/project-roles.d.ts +41 -0
  197. package/lib/openapi/platform/models/project-roles.js +34 -0
  198. package/lib/openapi/platform/models/project-roles.js.map +1 -0
  199. package/lib/openapi/platform/models/project-types.d.ts +16 -0
  200. package/lib/openapi/platform/models/project-types.js +21 -0
  201. package/lib/openapi/platform/models/project-types.js.map +1 -0
  202. package/lib/openapi/platform/models/project-versions.d.ts +110 -0
  203. package/lib/openapi/platform/models/project-versions.js +87 -0
  204. package/lib/openapi/platform/models/project-versions.js.map +1 -0
  205. package/lib/openapi/platform/models/projects.d.ts +216 -0
  206. package/lib/openapi/platform/models/projects.js +149 -0
  207. package/lib/openapi/platform/models/projects.js.map +1 -0
  208. package/lib/openapi/platform/models/screen-schemes.d.ts +94 -0
  209. package/lib/openapi/platform/models/screen-schemes.js +79 -0
  210. package/lib/openapi/platform/models/screen-schemes.js.map +1 -0
  211. package/lib/openapi/platform/models/screen-tab-fields.d.ts +19 -0
  212. package/lib/openapi/platform/models/screen-tab-fields.js +24 -0
  213. package/lib/openapi/platform/models/screen-tab-fields.js.map +1 -0
  214. package/lib/openapi/platform/models/screens.d.ts +82 -0
  215. package/lib/openapi/platform/models/screens.js +72 -0
  216. package/lib/openapi/platform/models/screens.js.map +1 -0
  217. package/lib/openapi/platform/models/server-info.d.ts +51 -0
  218. package/lib/openapi/platform/models/server-info.js +47 -0
  219. package/lib/openapi/platform/models/server-info.js.map +1 -0
  220. package/lib/openapi/platform/models/service-registry.d.ts +32 -0
  221. package/lib/openapi/platform/models/service-registry.js +34 -0
  222. package/lib/openapi/platform/models/service-registry.js.map +1 -0
  223. package/lib/openapi/platform/models/status.d.ts +95 -0
  224. package/lib/openapi/platform/models/status.js +107 -0
  225. package/lib/openapi/platform/models/status.js.map +1 -0
  226. package/lib/openapi/platform/models/time-tracking.d.ts +20 -0
  227. package/lib/openapi/platform/models/time-tracking.js +19 -0
  228. package/lib/openapi/platform/models/time-tracking.js.map +1 -0
  229. package/lib/openapi/platform/models/ui-modifications-apps.d.ts +127 -0
  230. package/lib/openapi/platform/models/ui-modifications-apps.js +85 -0
  231. package/lib/openapi/platform/models/ui-modifications-apps.js.map +1 -0
  232. package/lib/openapi/platform/models/user-search.d.ts +37 -0
  233. package/lib/openapi/platform/models/user-search.js +30 -0
  234. package/lib/openapi/platform/models/user-search.js.map +1 -0
  235. package/lib/openapi/platform/models/users.d.ts +60 -0
  236. package/lib/openapi/platform/models/users.js +53 -0
  237. package/lib/openapi/platform/models/users.js.map +1 -0
  238. package/lib/openapi/platform/models/webhooks.d.ts +147 -0
  239. package/lib/openapi/platform/models/webhooks.js +112 -0
  240. package/lib/openapi/platform/models/webhooks.js.map +1 -0
  241. package/lib/openapi/platform/models/workflow-scheme-drafts.d.ts +17 -0
  242. package/lib/openapi/platform/models/workflow-scheme-drafts.js +37 -0
  243. package/lib/openapi/platform/models/workflow-scheme-drafts.js.map +1 -0
  244. package/lib/openapi/platform/models/workflow-scheme-project-associations.d.ts +29 -0
  245. package/lib/openapi/platform/models/workflow-scheme-project-associations.js +33 -0
  246. package/lib/openapi/platform/models/workflow-scheme-project-associations.js.map +1 -0
  247. package/lib/openapi/platform/models/workflow-schemes.d.ts +217 -0
  248. package/lib/openapi/platform/models/workflow-schemes.js +261 -0
  249. package/lib/openapi/platform/models/workflow-schemes.js.map +1 -0
  250. package/lib/openapi/platform/models/workflow-transition-properties.d.ts +15 -0
  251. package/lib/openapi/platform/models/workflow-transition-properties.js +19 -0
  252. package/lib/openapi/platform/models/workflow-transition-properties.js.map +1 -0
  253. package/lib/openapi/platform/models/workflow-transition-rules.d.ts +106 -0
  254. package/lib/openapi/platform/models/workflow-transition-rules.js +117 -0
  255. package/lib/openapi/platform/models/workflow-transition-rules.js.map +1 -0
  256. package/lib/openapi/platform/models/workflows.d.ts +848 -0
  257. package/lib/openapi/platform/models/workflows.js +824 -0
  258. package/lib/openapi/platform/models/workflows.js.map +1 -0
  259. package/lib/openapi/platform/services/announcement-banner-service.d.ts +49 -0
  260. package/lib/openapi/platform/services/announcement-banner-service.js +99 -0
  261. package/lib/openapi/platform/services/announcement-banner-service.js.map +1 -0
  262. package/lib/openapi/platform/services/app-data-policies-service.d.ts +44 -0
  263. package/lib/openapi/platform/services/app-data-policies-service.js +101 -0
  264. package/lib/openapi/platform/services/app-data-policies-service.js.map +1 -0
  265. package/lib/openapi/platform/services/app-migration-service.d.ts +152 -0
  266. package/lib/openapi/platform/services/app-migration-service.js +178 -0
  267. package/lib/openapi/platform/services/app-migration-service.js.map +1 -0
  268. package/lib/openapi/platform/services/app-properties-service.d.ts +184 -0
  269. package/lib/openapi/platform/services/app-properties-service.js +325 -0
  270. package/lib/openapi/platform/services/app-properties-service.js.map +1 -0
  271. package/lib/openapi/platform/services/application-roles-service.d.ts +158 -0
  272. package/lib/openapi/platform/services/application-roles-service.js +209 -0
  273. package/lib/openapi/platform/services/application-roles-service.js.map +1 -0
  274. package/lib/openapi/platform/services/audit-records-service.d.ts +101 -0
  275. package/lib/openapi/platform/services/audit-records-service.js +125 -0
  276. package/lib/openapi/platform/services/audit-records-service.js.map +1 -0
  277. package/lib/openapi/platform/services/avatars-service.d.ts +363 -0
  278. package/lib/openapi/platform/services/avatars-service.js +523 -0
  279. package/lib/openapi/platform/services/avatars-service.js.map +1 -0
  280. package/lib/openapi/platform/services/classification-levels-service.d.ts +72 -0
  281. package/lib/openapi/platform/services/classification-levels-service.js +104 -0
  282. package/lib/openapi/platform/services/classification-levels-service.js.map +1 -0
  283. package/lib/openapi/platform/services/dashboards-service.d.ts +918 -0
  284. package/lib/openapi/platform/services/dashboards-service.js +1109 -0
  285. package/lib/openapi/platform/services/dashboards-service.js.map +1 -0
  286. package/lib/openapi/platform/services/dynamic-modules-service.d.ts +50 -0
  287. package/lib/openapi/platform/services/dynamic-modules-service.js +96 -0
  288. package/lib/openapi/platform/services/dynamic-modules-service.js.map +1 -0
  289. package/lib/openapi/platform/services/filter-sharing-service.d.ts +446 -0
  290. package/lib/openapi/platform/services/filter-sharing-service.js +565 -0
  291. package/lib/openapi/platform/services/filter-sharing-service.js.map +1 -0
  292. package/lib/openapi/platform/services/filters-service.d.ts +1320 -0
  293. package/lib/openapi/platform/services/filters-service.js +1351 -0
  294. package/lib/openapi/platform/services/filters-service.js.map +1 -0
  295. package/lib/openapi/platform/services/group-and-user-picker-service.d.ts +132 -0
  296. package/lib/openapi/platform/services/group-and-user-picker-service.js +140 -0
  297. package/lib/openapi/platform/services/group-and-user-picker-service.js.map +1 -0
  298. package/lib/openapi/platform/services/groups-service.d.ts +411 -0
  299. package/lib/openapi/platform/services/groups-service.js +448 -0
  300. package/lib/openapi/platform/services/groups-service.js.map +1 -0
  301. package/lib/openapi/platform/services/issue-attachments-service.d.ts +549 -0
  302. package/lib/openapi/platform/services/issue-attachments-service.js +724 -0
  303. package/lib/openapi/platform/services/issue-attachments-service.js.map +1 -0
  304. package/lib/openapi/platform/services/issue-comment-properties-service.d.ts +149 -0
  305. package/lib/openapi/platform/services/issue-comment-properties-service.js +239 -0
  306. package/lib/openapi/platform/services/issue-comment-properties-service.js.map +1 -0
  307. package/lib/openapi/platform/services/issue-comments-service.d.ts +528 -0
  308. package/lib/openapi/platform/services/issue-comments-service.js +563 -0
  309. package/lib/openapi/platform/services/issue-comments-service.js.map +1 -0
  310. package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.d.ts +155 -0
  311. package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.js +163 -0
  312. package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.js.map +1 -0
  313. package/lib/openapi/platform/services/issue-custom-field-contexts-service.d.ts +659 -0
  314. package/lib/openapi/platform/services/issue-custom-field-contexts-service.js +854 -0
  315. package/lib/openapi/platform/services/issue-custom-field-contexts-service.js.map +1 -0
  316. package/lib/openapi/platform/services/issue-custom-field-options-apps-service.d.ts +615 -0
  317. package/lib/openapi/platform/services/issue-custom-field-options-apps-service.js +605 -0
  318. package/lib/openapi/platform/services/issue-custom-field-options-apps-service.js.map +1 -0
  319. package/lib/openapi/platform/services/issue-custom-field-options-service.d.ts +339 -0
  320. package/lib/openapi/platform/services/issue-custom-field-options-service.js +420 -0
  321. package/lib/openapi/platform/services/issue-custom-field-options-service.js.map +1 -0
  322. package/lib/openapi/platform/services/issue-custom-field-values-apps-service.d.ts +90 -0
  323. package/lib/openapi/platform/services/issue-custom-field-values-apps-service.js +117 -0
  324. package/lib/openapi/platform/services/issue-custom-field-values-apps-service.js.map +1 -0
  325. package/lib/openapi/platform/services/issue-field-configurations-service.d.ts +561 -0
  326. package/lib/openapi/platform/services/issue-field-configurations-service.js +801 -0
  327. package/lib/openapi/platform/services/issue-field-configurations-service.js.map +1 -0
  328. package/lib/openapi/platform/services/issue-fields-service.d.ts +420 -0
  329. package/lib/openapi/platform/services/issue-fields-service.js +555 -0
  330. package/lib/openapi/platform/services/issue-fields-service.js.map +1 -0
  331. package/lib/openapi/platform/services/issue-link-types-service.d.ts +165 -0
  332. package/lib/openapi/platform/services/issue-link-types-service.js +263 -0
  333. package/lib/openapi/platform/services/issue-link-types-service.js.map +1 -0
  334. package/lib/openapi/platform/services/issue-links-service.d.ts +237 -0
  335. package/lib/openapi/platform/services/issue-links-service.js +264 -0
  336. package/lib/openapi/platform/services/issue-links-service.js.map +1 -0
  337. package/lib/openapi/platform/services/issue-navigator-settings-service.d.ts +55 -0
  338. package/lib/openapi/platform/services/issue-navigator-settings-service.js +97 -0
  339. package/lib/openapi/platform/services/issue-navigator-settings-service.js.map +1 -0
  340. package/lib/openapi/platform/services/issue-notification-schemes-service.d.ts +809 -0
  341. package/lib/openapi/platform/services/issue-notification-schemes-service.js +917 -0
  342. package/lib/openapi/platform/services/issue-notification-schemes-service.js.map +1 -0
  343. package/lib/openapi/platform/services/issue-priorities-service.d.ts +238 -0
  344. package/lib/openapi/platform/services/issue-priorities-service.js +372 -0
  345. package/lib/openapi/platform/services/issue-priorities-service.js.map +1 -0
  346. package/lib/openapi/platform/services/issue-properties-service.d.ts +368 -0
  347. package/lib/openapi/platform/services/issue-properties-service.js +439 -0
  348. package/lib/openapi/platform/services/issue-properties-service.js.map +1 -0
  349. package/lib/openapi/platform/services/issue-remote-links-service.d.ts +351 -0
  350. package/lib/openapi/platform/services/issue-remote-links-service.js +429 -0
  351. package/lib/openapi/platform/services/issue-remote-links-service.js.map +1 -0
  352. package/lib/openapi/platform/services/issue-resolutions-service.d.ts +202 -0
  353. package/lib/openapi/platform/services/issue-resolutions-service.js +346 -0
  354. package/lib/openapi/platform/services/issue-resolutions-service.js.map +1 -0
  355. package/lib/openapi/platform/services/issue-search-service.d.ts +887 -0
  356. package/lib/openapi/platform/services/issue-search-service.js +878 -0
  357. package/lib/openapi/platform/services/issue-search-service.js.map +1 -0
  358. package/lib/openapi/platform/services/issue-security-level-service.d.ts +136 -0
  359. package/lib/openapi/platform/services/issue-security-level-service.js +174 -0
  360. package/lib/openapi/platform/services/issue-security-level-service.js.map +1 -0
  361. package/lib/openapi/platform/services/issue-security-schemes-service.d.ts +530 -0
  362. package/lib/openapi/platform/services/issue-security-schemes-service.js +721 -0
  363. package/lib/openapi/platform/services/issue-security-schemes-service.js.map +1 -0
  364. package/lib/openapi/platform/services/issue-type-properties-service.d.ts +150 -0
  365. package/lib/openapi/platform/services/issue-type-properties-service.js +227 -0
  366. package/lib/openapi/platform/services/issue-type-properties-service.js.map +1 -0
  367. package/lib/openapi/platform/services/issue-type-schemes-service.d.ts +460 -0
  368. package/lib/openapi/platform/services/issue-type-schemes-service.js +615 -0
  369. package/lib/openapi/platform/services/issue-type-schemes-service.js.map +1 -0
  370. package/lib/openapi/platform/services/issue-type-screen-schemes-service.d.ts +442 -0
  371. package/lib/openapi/platform/services/issue-type-screen-schemes-service.js +606 -0
  372. package/lib/openapi/platform/services/issue-type-screen-schemes-service.js.map +1 -0
  373. package/lib/openapi/platform/services/issue-types-service.d.ts +343 -0
  374. package/lib/openapi/platform/services/issue-types-service.js +495 -0
  375. package/lib/openapi/platform/services/issue-types-service.js.map +1 -0
  376. package/lib/openapi/platform/services/issue-votes-service.d.ts +117 -0
  377. package/lib/openapi/platform/services/issue-votes-service.js +179 -0
  378. package/lib/openapi/platform/services/issue-votes-service.js.map +1 -0
  379. package/lib/openapi/platform/services/issue-watchers-service.d.ts +168 -0
  380. package/lib/openapi/platform/services/issue-watchers-service.js +236 -0
  381. package/lib/openapi/platform/services/issue-watchers-service.js.map +1 -0
  382. package/lib/openapi/platform/services/issue-worklog-properties-service.d.ts +165 -0
  383. package/lib/openapi/platform/services/issue-worklog-properties-service.js +251 -0
  384. package/lib/openapi/platform/services/issue-worklog-properties-service.js.map +1 -0
  385. package/lib/openapi/platform/services/issue-worklogs-service.d.ts +694 -0
  386. package/lib/openapi/platform/services/issue-worklogs-service.js +701 -0
  387. package/lib/openapi/platform/services/issue-worklogs-service.js.map +1 -0
  388. package/lib/openapi/platform/services/issues-service.d.ts +2356 -0
  389. package/lib/openapi/platform/services/issues-service.js +2022 -0
  390. package/lib/openapi/platform/services/issues-service.js.map +1 -0
  391. package/lib/openapi/platform/services/jira-expressions-service.d.ts +298 -0
  392. package/lib/openapi/platform/services/jira-expressions-service.js +272 -0
  393. package/lib/openapi/platform/services/jira-expressions-service.js.map +1 -0
  394. package/lib/openapi/platform/services/jira-settings-service.d.ts +236 -0
  395. package/lib/openapi/platform/services/jira-settings-service.js +325 -0
  396. package/lib/openapi/platform/services/jira-settings-service.js.map +1 -0
  397. package/lib/openapi/platform/services/jql-functions-apps-service.d.ts +113 -0
  398. package/lib/openapi/platform/services/jql-functions-apps-service.js +142 -0
  399. package/lib/openapi/platform/services/jql-functions-apps-service.js.map +1 -0
  400. package/lib/openapi/platform/services/jql-service.d.ts +623 -0
  401. package/lib/openapi/platform/services/jql-service.js +697 -0
  402. package/lib/openapi/platform/services/jql-service.js.map +1 -0
  403. package/lib/openapi/platform/services/labels-service.d.ts +34 -0
  404. package/lib/openapi/platform/services/labels-service.js +67 -0
  405. package/lib/openapi/platform/services/labels-service.js.map +1 -0
  406. package/lib/openapi/platform/services/license-metrics-service.d.ts +82 -0
  407. package/lib/openapi/platform/services/license-metrics-service.js +160 -0
  408. package/lib/openapi/platform/services/license-metrics-service.js.map +1 -0
  409. package/lib/openapi/platform/services/myself-service.d.ts +254 -0
  410. package/lib/openapi/platform/services/myself-service.js +382 -0
  411. package/lib/openapi/platform/services/myself-service.js.map +1 -0
  412. package/lib/openapi/platform/services/permission-schemes-service.d.ts +554 -0
  413. package/lib/openapi/platform/services/permission-schemes-service.js +613 -0
  414. package/lib/openapi/platform/services/permission-schemes-service.js.map +1 -0
  415. package/lib/openapi/platform/services/permissions-service.d.ts +214 -0
  416. package/lib/openapi/platform/services/permissions-service.js +281 -0
  417. package/lib/openapi/platform/services/permissions-service.js.map +1 -0
  418. package/lib/openapi/platform/services/priority-schemes-service.d.ts +578 -0
  419. package/lib/openapi/platform/services/priority-schemes-service.js +655 -0
  420. package/lib/openapi/platform/services/priority-schemes-service.js.map +1 -0
  421. package/lib/openapi/platform/services/project-avatars-service.d.ts +170 -0
  422. package/lib/openapi/platform/services/project-avatars-service.js +254 -0
  423. package/lib/openapi/platform/services/project-avatars-service.js.map +1 -0
  424. package/lib/openapi/platform/services/project-categories-service.d.ts +128 -0
  425. package/lib/openapi/platform/services/project-categories-service.js +226 -0
  426. package/lib/openapi/platform/services/project-categories-service.js.map +1 -0
  427. package/lib/openapi/platform/services/project-classification-levels-service.d.ts +90 -0
  428. package/lib/openapi/platform/services/project-classification-levels-service.js +161 -0
  429. package/lib/openapi/platform/services/project-classification-levels-service.js.map +1 -0
  430. package/lib/openapi/platform/services/project-components-service.d.ts +955 -0
  431. package/lib/openapi/platform/services/project-components-service.js +1075 -0
  432. package/lib/openapi/platform/services/project-components-service.js.map +1 -0
  433. package/lib/openapi/platform/services/project-email-service.d.ts +60 -0
  434. package/lib/openapi/platform/services/project-email-service.js +113 -0
  435. package/lib/openapi/platform/services/project-email-service.js.map +1 -0
  436. package/lib/openapi/platform/services/project-features-service.d.ts +103 -0
  437. package/lib/openapi/platform/services/project-features-service.js +155 -0
  438. package/lib/openapi/platform/services/project-features-service.js.map +1 -0
  439. package/lib/openapi/platform/services/project-key-and-name-validation-service.d.ts +59 -0
  440. package/lib/openapi/platform/services/project-key-and-name-validation-service.js +135 -0
  441. package/lib/openapi/platform/services/project-key-and-name-validation-service.js.map +1 -0
  442. package/lib/openapi/platform/services/project-permission-schemes-service.d.ts +179 -0
  443. package/lib/openapi/platform/services/project-permission-schemes-service.js +255 -0
  444. package/lib/openapi/platform/services/project-permission-schemes-service.js.map +1 -0
  445. package/lib/openapi/platform/services/project-properties-service.d.ts +147 -0
  446. package/lib/openapi/platform/services/project-properties-service.js +224 -0
  447. package/lib/openapi/platform/services/project-properties-service.js.map +1 -0
  448. package/lib/openapi/platform/services/project-role-actors-service.d.ts +351 -0
  449. package/lib/openapi/platform/services/project-role-actors-service.js +413 -0
  450. package/lib/openapi/platform/services/project-role-actors-service.js.map +1 -0
  451. package/lib/openapi/platform/services/project-roles-service.d.ts +484 -0
  452. package/lib/openapi/platform/services/project-roles-service.js +647 -0
  453. package/lib/openapi/platform/services/project-roles-service.js.map +1 -0
  454. package/lib/openapi/platform/services/project-types-service.d.ts +121 -0
  455. package/lib/openapi/platform/services/project-types-service.js +220 -0
  456. package/lib/openapi/platform/services/project-types-service.js.map +1 -0
  457. package/lib/openapi/platform/services/project-versions-service.d.ts +632 -0
  458. package/lib/openapi/platform/services/project-versions-service.js +852 -0
  459. package/lib/openapi/platform/services/project-versions-service.js.map +1 -0
  460. package/lib/openapi/platform/services/projects-service.d.ts +1622 -0
  461. package/lib/openapi/platform/services/projects-service.js +1686 -0
  462. package/lib/openapi/platform/services/projects-service.js.map +1 -0
  463. package/lib/openapi/platform/services/screen-schemes-service.d.ts +166 -0
  464. package/lib/openapi/platform/services/screen-schemes-service.js +216 -0
  465. package/lib/openapi/platform/services/screen-schemes-service.js.map +1 -0
  466. package/lib/openapi/platform/services/screen-tab-fields-service.d.ts +103 -0
  467. package/lib/openapi/platform/services/screen-tab-fields-service.js +181 -0
  468. package/lib/openapi/platform/services/screen-tab-fields-service.js.map +1 -0
  469. package/lib/openapi/platform/services/screen-tabs-service.d.ts +164 -0
  470. package/lib/openapi/platform/services/screen-tabs-service.js +278 -0
  471. package/lib/openapi/platform/services/screen-tabs-service.js.map +1 -0
  472. package/lib/openapi/platform/services/screens-service.d.ts +226 -0
  473. package/lib/openapi/platform/services/screens-service.js +346 -0
  474. package/lib/openapi/platform/services/screens-service.js.map +1 -0
  475. package/lib/openapi/platform/services/server-info-service.d.ts +40 -0
  476. package/lib/openapi/platform/services/server-info-service.js +74 -0
  477. package/lib/openapi/platform/services/server-info-service.js.map +1 -0
  478. package/lib/openapi/platform/services/service-registry-service.d.ts +32 -0
  479. package/lib/openapi/platform/services/service-registry-service.js +60 -0
  480. package/lib/openapi/platform/services/service-registry-service.js.map +1 -0
  481. package/lib/openapi/platform/services/status-service.d.ts +268 -0
  482. package/lib/openapi/platform/services/status-service.js +321 -0
  483. package/lib/openapi/platform/services/status-service.js.map +1 -0
  484. package/lib/openapi/platform/services/tasks-service.d.ts +71 -0
  485. package/lib/openapi/platform/services/tasks-service.js +126 -0
  486. package/lib/openapi/platform/services/tasks-service.js.map +1 -0
  487. package/lib/openapi/platform/services/time-tracking-service.d.ts +140 -0
  488. package/lib/openapi/platform/services/time-tracking-service.js +260 -0
  489. package/lib/openapi/platform/services/time-tracking-service.js.map +1 -0
  490. package/lib/openapi/platform/services/ui-modifications-apps-service.d.ts +212 -0
  491. package/lib/openapi/platform/services/ui-modifications-apps-service.js +262 -0
  492. package/lib/openapi/platform/services/ui-modifications-apps-service.js.map +1 -0
  493. package/lib/openapi/platform/services/user-properties-service.d.ts +218 -0
  494. package/lib/openapi/platform/services/user-properties-service.js +254 -0
  495. package/lib/openapi/platform/services/user-properties-service.js.map +1 -0
  496. package/lib/openapi/platform/services/user-search-service.d.ts +782 -0
  497. package/lib/openapi/platform/services/user-search-service.js +784 -0
  498. package/lib/openapi/platform/services/user-search-service.js.map +1 -0
  499. package/lib/openapi/platform/services/users-service.d.ts +579 -0
  500. package/lib/openapi/platform/services/users-service.js +729 -0
  501. package/lib/openapi/platform/services/users-service.js.map +1 -0
  502. package/lib/openapi/platform/services/webhooks-service.d.ts +258 -0
  503. package/lib/openapi/platform/services/webhooks-service.js +307 -0
  504. package/lib/openapi/platform/services/webhooks-service.js.map +1 -0
  505. package/lib/openapi/platform/services/workflow-scheme-drafts-service.d.ts +744 -0
  506. package/lib/openapi/platform/services/workflow-scheme-drafts-service.js +956 -0
  507. package/lib/openapi/platform/services/workflow-scheme-drafts-service.js.map +1 -0
  508. package/lib/openapi/platform/services/workflow-scheme-project-associations-service.d.ts +85 -0
  509. package/lib/openapi/platform/services/workflow-scheme-project-associations-service.js +134 -0
  510. package/lib/openapi/platform/services/workflow-scheme-project-associations-service.js.map +1 -0
  511. package/lib/openapi/platform/services/workflow-schemes-service.d.ts +843 -0
  512. package/lib/openapi/platform/services/workflow-schemes-service.js +1030 -0
  513. package/lib/openapi/platform/services/workflow-schemes-service.js.map +1 -0
  514. package/lib/openapi/platform/services/workflow-status-categories-service.d.ts +60 -0
  515. package/lib/openapi/platform/services/workflow-status-categories-service.js +115 -0
  516. package/lib/openapi/platform/services/workflow-status-categories-service.js.map +1 -0
  517. package/lib/openapi/platform/services/workflow-statuses-service.d.ts +87 -0
  518. package/lib/openapi/platform/services/workflow-statuses-service.js +142 -0
  519. package/lib/openapi/platform/services/workflow-statuses-service.js.map +1 -0
  520. package/lib/openapi/platform/services/workflow-transition-properties-service.d.ts +189 -0
  521. package/lib/openapi/platform/services/workflow-transition-properties-service.js +224 -0
  522. package/lib/openapi/platform/services/workflow-transition-properties-service.js.map +1 -0
  523. package/lib/openapi/platform/services/workflow-transition-rules-service.d.ts +319 -0
  524. package/lib/openapi/platform/services/workflow-transition-rules-service.js +326 -0
  525. package/lib/openapi/platform/services/workflow-transition-rules-service.js.map +1 -0
  526. package/lib/openapi/platform/services/workflows-service.d.ts +3032 -0
  527. package/lib/openapi/platform/services/workflows-service.js +2529 -0
  528. package/lib/openapi/platform/services/workflows-service.js.map +1 -0
  529. package/lib/openapi/platform/validation-schema-storage.d.ts +3 -0
  530. package/lib/openapi/platform/validation-schema-storage.js +144 -0
  531. package/lib/openapi/platform/validation-schema-storage.js.map +1 -0
  532. package/lib/openapi/software/base-jira-software-api-client.d.ts +426 -0
  533. package/lib/openapi/software/base-jira-software-api-client.js +444 -0
  534. package/lib/openapi/software/base-jira-software-api-client.js.map +1 -0
  535. package/lib/openapi/software/core/common-http-client.d.ts +196 -0
  536. package/lib/openapi/software/core/common-http-client.js +390 -0
  537. package/lib/openapi/software/core/common-http-client.js.map +1 -0
  538. package/lib/openapi/software/core/common-http-service.d.ts +7 -0
  539. package/lib/openapi/software/core/common-http-service.js +20 -0
  540. package/lib/openapi/software/core/common-http-service.js.map +1 -0
  541. package/lib/openapi/software/core/common-validation-schema-storage.d.ts +35 -0
  542. package/lib/openapi/software/core/common-validation-schema-storage.js +65 -0
  543. package/lib/openapi/software/core/common-validation-schema-storage.js.map +1 -0
  544. package/lib/openapi/software/models/board.d.ts +505 -0
  545. package/lib/openapi/software/models/board.js +389 -0
  546. package/lib/openapi/software/models/board.js.map +1 -0
  547. package/lib/openapi/software/services/backlog-service.d.ts +81 -0
  548. package/lib/openapi/software/services/backlog-service.js +113 -0
  549. package/lib/openapi/software/services/backlog-service.js.map +1 -0
  550. package/lib/openapi/software/services/board-service.d.ts +2254 -0
  551. package/lib/openapi/software/services/board-service.js +2653 -0
  552. package/lib/openapi/software/services/board-service.js.map +1 -0
  553. package/lib/openapi/software/services/builds-service.d.ts +368 -0
  554. package/lib/openapi/software/services/builds-service.js +230 -0
  555. package/lib/openapi/software/services/builds-service.js.map +1 -0
  556. package/lib/openapi/software/services/deployments-service.d.ts +217 -0
  557. package/lib/openapi/software/services/deployments-service.js +232 -0
  558. package/lib/openapi/software/services/deployments-service.js.map +1 -0
  559. package/lib/openapi/software/services/dev-ops-components-service.d.ts +246 -0
  560. package/lib/openapi/software/services/dev-ops-components-service.js +280 -0
  561. package/lib/openapi/software/services/dev-ops-components-service.js.map +1 -0
  562. package/lib/openapi/software/services/development-information-service.d.ts +1641 -0
  563. package/lib/openapi/software/services/development-information-service.js +474 -0
  564. package/lib/openapi/software/services/development-information-service.js.map +1 -0
  565. package/lib/openapi/software/services/epic-service.d.ts +596 -0
  566. package/lib/openapi/software/services/epic-service.js +633 -0
  567. package/lib/openapi/software/services/epic-service.js.map +1 -0
  568. package/lib/openapi/software/services/feature-flags-service.d.ts +170 -0
  569. package/lib/openapi/software/services/feature-flags-service.js +182 -0
  570. package/lib/openapi/software/services/feature-flags-service.js.map +1 -0
  571. package/lib/openapi/software/services/issue-service.d.ts +329 -0
  572. package/lib/openapi/software/services/issue-service.js +410 -0
  573. package/lib/openapi/software/services/issue-service.js.map +1 -0
  574. package/lib/openapi/software/services/operations-service.d.ts +456 -0
  575. package/lib/openapi/software/services/operations-service.js +444 -0
  576. package/lib/openapi/software/services/operations-service.js.map +1 -0
  577. package/lib/openapi/software/services/remote-links-service.d.ts +445 -0
  578. package/lib/openapi/software/services/remote-links-service.js +327 -0
  579. package/lib/openapi/software/services/remote-links-service.js.map +1 -0
  580. package/lib/openapi/software/services/security-information-service.d.ts +257 -0
  581. package/lib/openapi/software/services/security-information-service.js +310 -0
  582. package/lib/openapi/software/services/security-information-service.js.map +1 -0
  583. package/lib/openapi/software/services/sprint-service.d.ts +531 -0
  584. package/lib/openapi/software/services/sprint-service.js +665 -0
  585. package/lib/openapi/software/services/sprint-service.js.map +1 -0
  586. package/lib/openapi/software/validation-schema-storage.d.ts +3 -0
  587. package/lib/openapi/software/validation-schema-storage.js +144 -0
  588. package/lib/openapi/software/validation-schema-storage.js.map +1 -0
  589. package/package.json +37 -0
  590. package/src/index.ts +47 -0
  591. package/src/openapi/platform/base-jira-platform-api-client.ts +2298 -0
  592. package/src/openapi/platform/core/common-http-client.ts +723 -0
  593. package/src/openapi/platform/core/common-http-service.ts +22 -0
  594. package/src/openapi/platform/core/common-validation-schema-storage.ts +105 -0
  595. package/src/openapi/platform/models/announcement-banner.ts +59 -0
  596. package/src/openapi/platform/models/app-data-policies.ts +79 -0
  597. package/src/openapi/platform/models/app-migration.ts +172 -0
  598. package/src/openapi/platform/models/app-properties.ts +32 -0
  599. package/src/openapi/platform/models/audit-records.ts +140 -0
  600. package/src/openapi/platform/models/avatars.ts +48 -0
  601. package/src/openapi/platform/models/classification-levels.ts +58 -0
  602. package/src/openapi/platform/models/common.ts +2669 -0
  603. package/src/openapi/platform/models/dashboards.ts +849 -0
  604. package/src/openapi/platform/models/dynamic-modules.ts +121 -0
  605. package/src/openapi/platform/models/filter-sharing.ts +103 -0
  606. package/src/openapi/platform/models/filters.ts +319 -0
  607. package/src/openapi/platform/models/group-and-user-picker.ts +85 -0
  608. package/src/openapi/platform/models/groups.ts +247 -0
  609. package/src/openapi/platform/models/issue-attachments.ts +290 -0
  610. package/src/openapi/platform/models/issue-comment-properties.ts +27 -0
  611. package/src/openapi/platform/models/issue-comments.ts +91 -0
  612. package/src/openapi/platform/models/issue-custom-field-configuration-apps.ts +96 -0
  613. package/src/openapi/platform/models/issue-custom-field-contexts.ts +1072 -0
  614. package/src/openapi/platform/models/issue-custom-field-options-apps.ts +273 -0
  615. package/src/openapi/platform/models/issue-custom-field-options.ts +283 -0
  616. package/src/openapi/platform/models/issue-custom-field-values-apps.ts +118 -0
  617. package/src/openapi/platform/models/issue-field-configurations.ts +435 -0
  618. package/src/openapi/platform/models/issue-fields.ts +392 -0
  619. package/src/openapi/platform/models/issue-link-types.ts +28 -0
  620. package/src/openapi/platform/models/issue-links.ts +185 -0
  621. package/src/openapi/platform/models/issue-notification-schemes.ts +370 -0
  622. package/src/openapi/platform/models/issue-priorities.ts +196 -0
  623. package/src/openapi/platform/models/issue-properties.ts +259 -0
  624. package/src/openapi/platform/models/issue-remote-links.ts +207 -0
  625. package/src/openapi/platform/models/issue-resolutions.ts +180 -0
  626. package/src/openapi/platform/models/issue-search.ts +367 -0
  627. package/src/openapi/platform/models/issue-security-level.ts +76 -0
  628. package/src/openapi/platform/models/issue-security-schemes.ts +496 -0
  629. package/src/openapi/platform/models/issue-type-schemes.ts +290 -0
  630. package/src/openapi/platform/models/issue-type-screen-schemes.ts +286 -0
  631. package/src/openapi/platform/models/issue-types.ts +66 -0
  632. package/src/openapi/platform/models/issue-votes.ts +38 -0
  633. package/src/openapi/platform/models/issue-watchers.ts +67 -0
  634. package/src/openapi/platform/models/issue-worklogs.ts +190 -0
  635. package/src/openapi/platform/models/issues.ts +1268 -0
  636. package/src/openapi/platform/models/jira-expressions.ts +578 -0
  637. package/src/openapi/platform/models/jira-settings.ts +118 -0
  638. package/src/openapi/platform/models/jql-functions-apps.ts +128 -0
  639. package/src/openapi/platform/models/jql.ts +783 -0
  640. package/src/openapi/platform/models/labels.ts +42 -0
  641. package/src/openapi/platform/models/license-metrics.ts +68 -0
  642. package/src/openapi/platform/models/myself.ts +29 -0
  643. package/src/openapi/platform/models/permission-schemes.ts +89 -0
  644. package/src/openapi/platform/models/permissions.ts +308 -0
  645. package/src/openapi/platform/models/priority-schemes.ts +527 -0
  646. package/src/openapi/platform/models/project-avatars.ts +29 -0
  647. package/src/openapi/platform/models/project-classification-levels.ts +24 -0
  648. package/src/openapi/platform/models/project-components.ts +231 -0
  649. package/src/openapi/platform/models/project-email.ts +27 -0
  650. package/src/openapi/platform/models/project-features.ts +78 -0
  651. package/src/openapi/platform/models/project-permission-schemes.ts +43 -0
  652. package/src/openapi/platform/models/project-role-actors.ts +107 -0
  653. package/src/openapi/platform/models/project-roles.ts +76 -0
  654. package/src/openapi/platform/models/project-types.ts +36 -0
  655. package/src/openapi/platform/models/project-versions.ts +216 -0
  656. package/src/openapi/platform/models/projects.ts +429 -0
  657. package/src/openapi/platform/models/screen-schemes.ts +192 -0
  658. package/src/openapi/platform/models/screen-tab-fields.ts +45 -0
  659. package/src/openapi/platform/models/screens.ts +171 -0
  660. package/src/openapi/platform/models/server-info.ts +100 -0
  661. package/src/openapi/platform/models/service-registry.ts +68 -0
  662. package/src/openapi/platform/models/status.ts +229 -0
  663. package/src/openapi/platform/models/time-tracking.ts +38 -0
  664. package/src/openapi/platform/models/ui-modifications-apps.ts +229 -0
  665. package/src/openapi/platform/models/user-search.ts +69 -0
  666. package/src/openapi/platform/models/users.ts +121 -0
  667. package/src/openapi/platform/models/webhooks.ts +307 -0
  668. package/src/openapi/platform/models/workflow-scheme-drafts.ts +58 -0
  669. package/src/openapi/platform/models/workflow-scheme-project-associations.ts +68 -0
  670. package/src/openapi/platform/models/workflow-schemes.ts +545 -0
  671. package/src/openapi/platform/models/workflow-transition-properties.ts +33 -0
  672. package/src/openapi/platform/models/workflow-transition-rules.ts +261 -0
  673. package/src/openapi/platform/models/workflows.ts +1943 -0
  674. package/src/openapi/platform/services/announcement-banner-service.ts +142 -0
  675. package/src/openapi/platform/services/app-data-policies-service.ts +136 -0
  676. package/src/openapi/platform/services/app-migration-service.ts +289 -0
  677. package/src/openapi/platform/services/app-properties-service.ts +441 -0
  678. package/src/openapi/platform/services/application-roles-service.ts +247 -0
  679. package/src/openapi/platform/services/audit-records-service.ts +164 -0
  680. package/src/openapi/platform/services/avatars-service.ts +769 -0
  681. package/src/openapi/platform/services/classification-levels-service.ts +131 -0
  682. package/src/openapi/platform/services/dashboards-service.ts +1721 -0
  683. package/src/openapi/platform/services/dynamic-modules-service.ts +127 -0
  684. package/src/openapi/platform/services/filter-sharing-service.ts +687 -0
  685. package/src/openapi/platform/services/filters-service.ts +1901 -0
  686. package/src/openapi/platform/services/group-and-user-picker-service.ts +224 -0
  687. package/src/openapi/platform/services/groups-service.ts +751 -0
  688. package/src/openapi/platform/services/issue-attachments-service.ts +900 -0
  689. package/src/openapi/platform/services/issue-comment-properties-service.ts +324 -0
  690. package/src/openapi/platform/services/issue-comments-service.ts +812 -0
  691. package/src/openapi/platform/services/issue-custom-field-configuration-apps-service.ts +277 -0
  692. package/src/openapi/platform/services/issue-custom-field-contexts-service.ts +1339 -0
  693. package/src/openapi/platform/services/issue-custom-field-options-apps-service.ts +994 -0
  694. package/src/openapi/platform/services/issue-custom-field-options-service.ts +651 -0
  695. package/src/openapi/platform/services/issue-custom-field-values-apps-service.ts +201 -0
  696. package/src/openapi/platform/services/issue-field-configurations-service.ts +1294 -0
  697. package/src/openapi/platform/services/issue-fields-service.ts +837 -0
  698. package/src/openapi/platform/services/issue-link-types-service.ts +360 -0
  699. package/src/openapi/platform/services/issue-links-service.ts +345 -0
  700. package/src/openapi/platform/services/issue-navigator-settings-service.ts +119 -0
  701. package/src/openapi/platform/services/issue-notification-schemes-service.ts +1209 -0
  702. package/src/openapi/platform/services/issue-priorities-service.ts +575 -0
  703. package/src/openapi/platform/services/issue-properties-service.ts +606 -0
  704. package/src/openapi/platform/services/issue-remote-links-service.ts +597 -0
  705. package/src/openapi/platform/services/issue-resolutions-service.ts +534 -0
  706. package/src/openapi/platform/services/issue-search-service.ts +1139 -0
  707. package/src/openapi/platform/services/issue-security-level-service.ts +250 -0
  708. package/src/openapi/platform/services/issue-security-schemes-service.ts +1240 -0
  709. package/src/openapi/platform/services/issue-type-properties-service.ts +325 -0
  710. package/src/openapi/platform/services/issue-type-schemes-service.ts +940 -0
  711. package/src/openapi/platform/services/issue-type-screen-schemes-service.ts +994 -0
  712. package/src/openapi/platform/services/issue-types-service.ts +679 -0
  713. package/src/openapi/platform/services/issue-votes-service.ts +221 -0
  714. package/src/openapi/platform/services/issue-watchers-service.ts +331 -0
  715. package/src/openapi/platform/services/issue-worklog-properties-service.ts +348 -0
  716. package/src/openapi/platform/services/issue-worklogs-service.ts +1089 -0
  717. package/src/openapi/platform/services/issues-service.ts +3346 -0
  718. package/src/openapi/platform/services/jira-expressions-service.ts +407 -0
  719. package/src/openapi/platform/services/jira-settings-service.ts +415 -0
  720. package/src/openapi/platform/services/jql-functions-apps-service.ts +219 -0
  721. package/src/openapi/platform/services/jql-service.ts +896 -0
  722. package/src/openapi/platform/services/labels-service.ts +89 -0
  723. package/src/openapi/platform/services/license-metrics-service.ts +216 -0
  724. package/src/openapi/platform/services/myself-service.ts +520 -0
  725. package/src/openapi/platform/services/permission-schemes-service.ts +926 -0
  726. package/src/openapi/platform/services/permissions-service.ts +407 -0
  727. package/src/openapi/platform/services/priority-schemes-service.ts +1001 -0
  728. package/src/openapi/platform/services/project-avatars-service.ts +341 -0
  729. package/src/openapi/platform/services/project-categories-service.ts +318 -0
  730. package/src/openapi/platform/services/project-classification-levels-service.ts +232 -0
  731. package/src/openapi/platform/services/project-components-service.ts +1332 -0
  732. package/src/openapi/platform/services/project-email-service.ts +161 -0
  733. package/src/openapi/platform/services/project-features-service.ts +207 -0
  734. package/src/openapi/platform/services/project-key-and-name-validation-service.ts +200 -0
  735. package/src/openapi/platform/services/project-permission-schemes-service.ts +384 -0
  736. package/src/openapi/platform/services/project-properties-service.ts +320 -0
  737. package/src/openapi/platform/services/project-role-actors-service.ts +627 -0
  738. package/src/openapi/platform/services/project-roles-service.ts +867 -0
  739. package/src/openapi/platform/services/project-types-service.ts +297 -0
  740. package/src/openapi/platform/services/project-versions-service.ts +1287 -0
  741. package/src/openapi/platform/services/projects-service.ts +2196 -0
  742. package/src/openapi/platform/services/screen-schemes-service.ts +334 -0
  743. package/src/openapi/platform/services/screen-tab-fields-service.ts +276 -0
  744. package/src/openapi/platform/services/screen-tabs-service.ts +421 -0
  745. package/src/openapi/platform/services/screens-service.ts +528 -0
  746. package/src/openapi/platform/services/server-info-service.ts +88 -0
  747. package/src/openapi/platform/services/service-registry-service.ts +89 -0
  748. package/src/openapi/platform/services/status-service.ts +498 -0
  749. package/src/openapi/platform/services/tasks-service.ts +159 -0
  750. package/src/openapi/platform/services/time-tracking-service.ts +386 -0
  751. package/src/openapi/platform/services/ui-modifications-apps-service.ts +403 -0
  752. package/src/openapi/platform/services/user-properties-service.ts +413 -0
  753. package/src/openapi/platform/services/user-search-service.ts +1214 -0
  754. package/src/openapi/platform/services/users-service.ts +1108 -0
  755. package/src/openapi/platform/services/webhooks-service.ts +458 -0
  756. package/src/openapi/platform/services/workflow-scheme-drafts-service.ts +1313 -0
  757. package/src/openapi/platform/services/workflow-scheme-project-associations-service.ts +189 -0
  758. package/src/openapi/platform/services/workflow-schemes-service.ts +1617 -0
  759. package/src/openapi/platform/services/workflow-status-categories-service.ts +151 -0
  760. package/src/openapi/platform/services/workflow-statuses-service.ts +176 -0
  761. package/src/openapi/platform/services/workflow-transition-properties-service.ts +388 -0
  762. package/src/openapi/platform/services/workflow-transition-rules-service.ts +485 -0
  763. package/src/openapi/platform/services/workflows-service.ts +3477 -0
  764. package/src/openapi/platform/validation-schema-storage.ts +186 -0
  765. package/src/openapi/software/base-jira-software-api-client.ts +447 -0
  766. package/src/openapi/software/core/common-http-client.ts +723 -0
  767. package/src/openapi/software/core/common-http-service.ts +22 -0
  768. package/src/openapi/software/core/common-validation-schema-storage.ts +105 -0
  769. package/src/openapi/software/models/board.ts +918 -0
  770. package/src/openapi/software/services/backlog-service.ts +160 -0
  771. package/src/openapi/software/services/board-service.ts +4189 -0
  772. package/src/openapi/software/services/builds-service.ts +571 -0
  773. package/src/openapi/software/services/deployments-service.ts +403 -0
  774. package/src/openapi/software/services/dev-ops-components-service.ts +371 -0
  775. package/src/openapi/software/services/development-information-service.ts +2357 -0
  776. package/src/openapi/software/services/epic-service.ts +854 -0
  777. package/src/openapi/software/services/feature-flags-service.ts +303 -0
  778. package/src/openapi/software/services/issue-service.ts +529 -0
  779. package/src/openapi/software/services/operations-service.ts +741 -0
  780. package/src/openapi/software/services/remote-links-service.ts +653 -0
  781. package/src/openapi/software/services/security-information-service.ts +495 -0
  782. package/src/openapi/software/services/sprint-service.ts +969 -0
  783. package/src/openapi/software/validation-schema-storage.ts +186 -0
  784. package/tsconfig.build.json +7 -0
  785. package/tsconfig.json +4 -0
@@ -0,0 +1,2356 @@
1
+ import * as commonHttpClient from "../core/common-http-client";
2
+ import { CommonHttpService } from "../core/common-http-service";
3
+ import { type IssueBean, type User } from "../models/common";
4
+ import { type ArchivedIssuesFilterRequest, type ArchiveIssueAsyncRequest, type CreatedIssue, type CreatedIssues, type ExportArchivedIssuesTaskProgressResponse, type IssueArchivalSyncRequest, type IssueArchivalSyncResponse, type IssueChangelogIds, type IssueCreateMetadata, type IssueEvent, type IssueLimitReportRequest, type IssueLimitReportResponseBean, type IssuesUpdateBean, type IssueUpdateDetails, type IssueUpdateMetadata, type Notification, type PageBeanChangelog, type PageOfChangelogs, type PageOfCreateMetaIssueTypes, type PageOfCreateMetaIssueTypeWithField, type Transitions } from "../models/issues";
5
+ /**
6
+ * This resource represents Jira issues. Use it to:
7
+ *
8
+ * * create or edit issues, individually or in bulk.
9
+ * * retrieve metadata about the options for creating or editing issues.
10
+ * * delete an issue.
11
+ * * assign a user to an issue.
12
+ * * get issue changelogs.
13
+ * * send notifications about an issue.
14
+ * * get details of the transitions available for an issue.
15
+ * * transition an issue.
16
+ * * Archive issues.
17
+ * * Unarchive issues.
18
+ * * Export archived issues.
19
+ */
20
+ export declare class IssuesService extends CommonHttpService {
21
+ /**
22
+ * Enables admins to archive up to 1000 issues in a single request using issue
23
+ * ID/key, returning details of the issue(s) archived in the process and the
24
+ * errors encountered, if any.
25
+ *
26
+ * **Note that:**
27
+ *
28
+ * * you can't archive subtasks directly, only through their parent issues
29
+ * * you can only archive issues from software, service management, and business
30
+ * projects
31
+ *
32
+ * **[Permissions](#permissions) required:** Jira admin or site admin: [global
33
+ * permission](https://confluence.atlassian.com/x/x4dKLg)
34
+ *
35
+ * **License required:** Premium or Enterprise
36
+ *
37
+ * **Signed-in users only:** This API can't be accessed anonymously.
38
+ *
39
+ * @returns Returned if there is at least one valid issue to archive in the request. The
40
+ * return message will include the count of archived issues and subtasks, as well
41
+ * as error details for issues which failed to get archived.
42
+ *
43
+ * example: {
44
+ * "errors": {
45
+ * "issueIsSubtask": {
46
+ * "count": 3,
47
+ * "issueIdsOrKeys": [
48
+ * "ST-1",
49
+ * "ST-2",
50
+ * "ST-3"
51
+ * ],
52
+ * "message": "Issue is subtask."
53
+ * },
54
+ * "issuesInArchivedProjects": {
55
+ * "count": 2,
56
+ * "issueIdsOrKeys": [
57
+ * "AR-1",
58
+ * "AR-2"
59
+ * ],
60
+ * "message": "Issue exists in archived project."
61
+ * },
62
+ * "issuesInUnlicensedProjects": {
63
+ * "count": 3,
64
+ * "issueIdsOrKeys": [
65
+ * "UL-1",
66
+ * "UL-2",
67
+ * "UL-3"
68
+ * ],
69
+ * "message": "Issues with these IDs are in unlicensed projects."
70
+ * },
71
+ * "issuesNotFound": {
72
+ * "count": 3,
73
+ * "issueIdsOrKeys": [
74
+ * "PR-1",
75
+ * "PR-2",
76
+ * "PR-3"
77
+ * ],
78
+ * "message": "Issue not found."
79
+ * }
80
+ * },
81
+ * "numberOfIssuesUpdated": 10
82
+ * }
83
+ * @path {PUT} /rest/api/3/issue/archive
84
+ * @scopes-current write:jira-work
85
+ * @scopes-beta write:issue:jira
86
+ */
87
+ archiveIssues({ issueArchivalSyncRequest, }: {
88
+ /**
89
+ * Contains a list of issue keys or IDs to be archived.
90
+ *
91
+ * @example {
92
+ * "issueIdsOrKeys": [
93
+ * "PR-1",
94
+ * "1001",
95
+ * "PROJECT-2"
96
+ * ]
97
+ * }
98
+ */
99
+ issueArchivalSyncRequest: IssueArchivalSyncRequest;
100
+ }): Promise<IssueArchivalSyncResponse>;
101
+ /**
102
+ * Enables admins to archive up to 100,000 issues in a single request using JQL,
103
+ * returning the URL to check the status of the submitted request.
104
+ *
105
+ * You can use the [get
106
+ * task](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-tasks/#api-rest-api-3-task-taskid-get)
107
+ * and [cancel
108
+ * task](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-tasks/#api-rest-api-3-task-taskid-cancel-post)
109
+ * APIs to manage the request.
110
+ *
111
+ * **Note that:**
112
+ *
113
+ * * you can't archive subtasks directly, only through their parent issues
114
+ * * you can only archive issues from software, service management, and business
115
+ * projects
116
+ *
117
+ * **[Permissions](#permissions) required:** Jira admin or site admin: [global
118
+ * permission](https://confluence.atlassian.com/x/x4dKLg)
119
+ *
120
+ * **License required:** Premium or Enterprise
121
+ *
122
+ * **Signed-in users only:** This API can't be accessed anonymously.
123
+ *
124
+ * **Rate limiting:** Only a single request per jira instance can be active at any
125
+ * given time.
126
+ *
127
+ * @returns Returns the URL to check the status of the submitted request.
128
+ *
129
+ * example: "https://your-domain.atlassian.net/rest/api/3/task/1010"
130
+ * @path {POST} /rest/api/3/issue/archive
131
+ * @scopes-current write:jira-work
132
+ * @scopes-beta write:issue:jira
133
+ */
134
+ archiveIssuesAsync({ archiveIssueAsyncRequest, }: {
135
+ /**
136
+ * A JQL query specifying the issues to archive. Note that subtasks can only be
137
+ * archived through their parent issues.
138
+ *
139
+ * @example {
140
+ * "jql": "project = FOO AND updated < -2y"
141
+ * }
142
+ */
143
+ archiveIssueAsyncRequest: ArchiveIssueAsyncRequest;
144
+ }): Promise<string>;
145
+ /**
146
+ * Assigns an issue to a user. Use this operation when the calling user does not
147
+ * have the *Edit Issues* permission but has the *Assign issue* permission for the
148
+ * project that the issue is in.
149
+ *
150
+ * If `name` or `accountId` is set to:
151
+ *
152
+ * * `"-1"`, the issue is assigned to the default assignee for the project.
153
+ * * `null`, the issue is set to unassigned.
154
+ *
155
+ * This operation can be accessed anonymously.
156
+ *
157
+ * **[Permissions](#permissions) required:**
158
+ *
159
+ * * *Browse Projects* and *Assign Issues* [ project
160
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
161
+ * issue is in.
162
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
163
+ * configured, issue-level security permission to view the issue.
164
+ *
165
+ * @returns Returned if the request is successful.
166
+ * @path {PUT} /rest/api/3/issue/{issueIdOrKey}/assignee
167
+ * @scopes-current write:jira-work
168
+ * @scopes-beta write:issue:jira
169
+ */
170
+ assignIssue({ issueIdOrKey, user, }: {
171
+ /** The ID or key of the issue to be assigned. */
172
+ issueIdOrKey: string;
173
+ /**
174
+ * The request object with the user that the issue is assigned to.
175
+ *
176
+ * @example {
177
+ * "accountId": "5b10ac8d82e05b22cc7d4ef5"
178
+ * }
179
+ */
180
+ user: User;
181
+ }): Promise<void>;
182
+ /**
183
+ * Creates an issue or, where the option to create subtasks is enabled in Jira, a
184
+ * subtask. A transition may be applied, to move the issue or subtask to a
185
+ * workflow step other than the default start step, and issue properties set.
186
+ *
187
+ * The content of the issue or subtask is defined using `update` and `fields`. The
188
+ * fields that can be set in the issue or subtask are determined using the [ Get
189
+ * create issue metadata](#api-rest-api-3-issue-createmeta-get). These are the
190
+ * same fields that appear on the issue's create screen. Note that the
191
+ * `description`, `environment`, and any `textarea` type custom fields (multi-line
192
+ * text fields) take Atlassian Document Format content. Single line custom fields
193
+ * (`textfield`) accept a string and don't handle Atlassian Document Format
194
+ * content.
195
+ *
196
+ * Creating a subtask differs from creating an issue as follows:
197
+ *
198
+ * * `issueType` must be set to a subtask issue type (use [ Get create issue
199
+ * metadata](#api-rest-api-3-issue-createmeta-get) to find subtask issue types).
200
+ * * `parent` must contain the ID or key of the parent issue.
201
+ *
202
+ * In a next-gen project any issue may be made a child providing that the parent
203
+ * and child are members of the same project.
204
+ *
205
+ * **[Permissions](#permissions) required:** *Browse projects* and *Create issues*
206
+ * [project permissions](https://confluence.atlassian.com/x/yodKLg) for the
207
+ * project in which the issue or subtask is created.
208
+ *
209
+ * @returns Returned if the request is successful.
210
+ *
211
+ * example: {
212
+ * "id": "10000",
213
+ * "key": "ED-24",
214
+ * "self": "https://your-domain.atlassian.net/rest/api/3/issue/10000",
215
+ * "transition": {
216
+ * "status": 200,
217
+ * "errorCollection": {
218
+ * "errorMessages": [],
219
+ * "errors": {}
220
+ * }
221
+ * }
222
+ * }
223
+ * @path {POST} /rest/api/3/issue
224
+ * @scopes-current write:jira-work
225
+ * @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira,
226
+ * write:attachment:jira, read:issue:jira
227
+ */
228
+ createIssue({ updateHistory, issueUpdateDetails, }: {
229
+ /**
230
+ * Whether the project in which the issue is created is added to the user's
231
+ * **Recently viewed** project list, as shown under **Projects** in Jira. When
232
+ * provided, the issue type and request type are added to the user's history for a
233
+ * project. These values are then used to provide defaults on the issue create
234
+ * screen.
235
+ */
236
+ updateHistory?: boolean;
237
+ /**
238
+ * @example {
239
+ * "fields": {
240
+ * "assignee": {
241
+ * "id": "5b109f2e9729b51b54dc274d"
242
+ * },
243
+ * "components": [
244
+ * {
245
+ * "id": "10000"
246
+ * }
247
+ * ],
248
+ * "customfield_10000": "09/Jun/19",
249
+ * "customfield_20000": "06/Jul/19 3:25 PM",
250
+ * "customfield_30000": [
251
+ * "10000",
252
+ * "10002"
253
+ * ],
254
+ * "customfield_40000": {
255
+ * "content": [
256
+ * {
257
+ * "content": [
258
+ * {
259
+ * "text": "Occurs on all orders",
260
+ * "type": "text"
261
+ * }
262
+ * ],
263
+ * "type": "paragraph"
264
+ * }
265
+ * ],
266
+ * "type": "doc",
267
+ * "version": 1
268
+ * },
269
+ * "customfield_50000": {
270
+ * "content": [
271
+ * {
272
+ * "content": [
273
+ * {
274
+ * "text": "Could impact day-to-day work.",
275
+ * "type": "text"
276
+ * }
277
+ * ],
278
+ * "type": "paragraph"
279
+ * }
280
+ * ],
281
+ * "type": "doc",
282
+ * "version": 1
283
+ * },
284
+ * "customfield_60000": "jira-software-users",
285
+ * "customfield_70000": [
286
+ * "jira-administrators",
287
+ * "jira-software-users"
288
+ * ],
289
+ * "customfield_80000": {
290
+ * "value": "red"
291
+ * },
292
+ * "description": {
293
+ * "content": [
294
+ * {
295
+ * "content": [
296
+ * {
297
+ * "text": "Order entry fails when selecting
298
+ * supplier.",
299
+ * "type": "text"
300
+ * }
301
+ * ],
302
+ * "type": "paragraph"
303
+ * }
304
+ * ],
305
+ * "type": "doc",
306
+ * "version": 1
307
+ * },
308
+ * "duedate": "2019-05-11",
309
+ * "environment": {
310
+ * "content": [
311
+ * {
312
+ * "content": [
313
+ * {
314
+ * "text": "UAT",
315
+ * "type": "text"
316
+ * }
317
+ * ],
318
+ * "type": "paragraph"
319
+ * }
320
+ * ],
321
+ * "type": "doc",
322
+ * "version": 1
323
+ * },
324
+ * "fixVersions": [
325
+ * {
326
+ * "id": "10001"
327
+ * }
328
+ * ],
329
+ * "issuetype": {
330
+ * "id": "10000"
331
+ * },
332
+ * "labels": [
333
+ * "bugfix",
334
+ * "blitz_test"
335
+ * ],
336
+ * "parent": {
337
+ * "key": "PROJ-123"
338
+ * },
339
+ * "priority": {
340
+ * "id": "20000"
341
+ * },
342
+ * "project": {
343
+ * "id": "10000"
344
+ * },
345
+ * "reporter": {
346
+ * "id": "5b10a2844c20165700ede21g"
347
+ * },
348
+ * "security": {
349
+ * "id": "10000"
350
+ * },
351
+ * "summary": "Main order flow broken",
352
+ * "timetracking": {
353
+ * "originalEstimate": "10",
354
+ * "remainingEstimate": "5"
355
+ * },
356
+ * "versions": [
357
+ * {
358
+ * "id": "10000"
359
+ * }
360
+ * ]
361
+ * },
362
+ * "update": {}
363
+ * }
364
+ */
365
+ issueUpdateDetails: IssueUpdateDetails;
366
+ }): Promise<CreatedIssue>;
367
+ /**
368
+ * Creates upto **50** issues and, where the option to create subtasks is enabled
369
+ * in Jira, subtasks. Transitions may be applied, to move the issues or subtasks
370
+ * to a workflow step other than the default start step, and issue properties set.
371
+ *
372
+ * The content of each issue or subtask is defined using `update` and `fields`.
373
+ * The fields that can be set in the issue or subtask are determined using the [
374
+ * Get create issue metadata](#api-rest-api-3-issue-createmeta-get). These are the
375
+ * same fields that appear on the issues' create screens. Note that the
376
+ * `description`, `environment`, and any `textarea` type custom fields (multi-line
377
+ * text fields) take Atlassian Document Format content. Single line custom fields
378
+ * (`textfield`) accept a string and don't handle Atlassian Document Format
379
+ * content.
380
+ *
381
+ * Creating a subtask differs from creating an issue as follows:
382
+ *
383
+ * * `issueType` must be set to a subtask issue type (use [ Get create issue
384
+ * metadata](#api-rest-api-3-issue-createmeta-get) to find subtask issue types).
385
+ * * `parent` the must contain the ID or key of the parent issue.
386
+ *
387
+ * **[Permissions](#permissions) required:** *Browse projects* and *Create issues*
388
+ * [project permissions](https://confluence.atlassian.com/x/yodKLg) for the
389
+ * project in which each issue or subtask is created.
390
+ *
391
+ * @returns Returned if any of the issue or subtask creation requests were successful. A
392
+ * request may be unsuccessful when it:
393
+ *
394
+ * * is missing required fields.
395
+ * * contains invalid field values.
396
+ * * contains fields that cannot be set for the issue type.
397
+ * * is by a user who does not have the necessary permission.
398
+ * * is to create a subtype in a project different that of the parent issue.
399
+ * * is for a subtask when the option to create subtasks is disabled.
400
+ * * is invalid for any other reason.
401
+ *
402
+ * example: {
403
+ * "issues": [
404
+ * {
405
+ * "id": "10000",
406
+ * "key": "ED-24",
407
+ * "self": "https://your-domain.atlassian.net/rest/api/3/issue/10000",
408
+ * "transition": {
409
+ * "status": 200,
410
+ * "errorCollection": {
411
+ * "errorMessages": [],
412
+ * "errors": {}
413
+ * }
414
+ * }
415
+ * },
416
+ * {
417
+ * "id": "10001",
418
+ * "key": "ED-25",
419
+ * "self": "https://your-domain.atlassian.net/rest/api/3/issue/10001"
420
+ * }
421
+ * ],
422
+ * "errors": []
423
+ * }
424
+ * @path {POST} /rest/api/3/issue/bulk
425
+ * @scopes-current write:jira-work
426
+ * @scopes-beta write:issue:jira, write:comment:jira, write:comment.property:jira,
427
+ * write:attachment:jira, read:issue:jira
428
+ */
429
+ createIssues({ issuesUpdateBean, }: {
430
+ /**
431
+ * @example {
432
+ * "issueUpdates": [
433
+ * {
434
+ * "fields": {
435
+ * "assignee": {
436
+ * "id": "5b109f2e9729b51b54dc274d"
437
+ * },
438
+ * "components": [
439
+ * {
440
+ * "id": "10000"
441
+ * }
442
+ * ],
443
+ * "customfield_10000": "09/Jun/19",
444
+ * "customfield_20000": "06/Jul/19 3:25 PM",
445
+ * "customfield_30000": [
446
+ * "10000",
447
+ * "10002"
448
+ * ],
449
+ * "customfield_40000": {
450
+ * "content": [
451
+ * {
452
+ * "content": [
453
+ * {
454
+ * "text": "Occurs on all orders",
455
+ * "type": "text"
456
+ * }
457
+ * ],
458
+ * "type": "paragraph"
459
+ * }
460
+ * ],
461
+ * "type": "doc",
462
+ * "version": 1
463
+ * },
464
+ * "customfield_50000": {
465
+ * "content": [
466
+ * {
467
+ * "content": [
468
+ * {
469
+ * "text": "Could impact day-to-day work.",
470
+ * "type": "text"
471
+ * }
472
+ * ],
473
+ * "type": "paragraph"
474
+ * }
475
+ * ],
476
+ * "type": "doc",
477
+ * "version": 1
478
+ * },
479
+ * "customfield_60000": "jira-software-users",
480
+ * "customfield_70000": [
481
+ * "jira-administrators",
482
+ * "jira-software-users"
483
+ * ],
484
+ * "customfield_80000": {
485
+ * "value": "red"
486
+ * },
487
+ * "description": {
488
+ * "content": [
489
+ * {
490
+ * "content": [
491
+ * {
492
+ * "text": "Order entry fails when selecting
493
+ * supplier.",
494
+ * "type": "text"
495
+ * }
496
+ * ],
497
+ * "type": "paragraph"
498
+ * }
499
+ * ],
500
+ * "type": "doc",
501
+ * "version": 1
502
+ * },
503
+ * "duedate": "2011-03-11",
504
+ * "environment": {
505
+ * "content": [
506
+ * {
507
+ * "content": [
508
+ * {
509
+ * "text": "UAT",
510
+ * "type": "text"
511
+ * }
512
+ * ],
513
+ * "type": "paragraph"
514
+ * }
515
+ * ],
516
+ * "type": "doc",
517
+ * "version": 1
518
+ * },
519
+ * "fixVersions": [
520
+ * {
521
+ * "id": "10001"
522
+ * }
523
+ * ],
524
+ * "issuetype": {
525
+ * "id": "10000"
526
+ * },
527
+ * "labels": [
528
+ * "bugfix",
529
+ * "blitz_test"
530
+ * ],
531
+ * "priority": {
532
+ * "id": "20000"
533
+ * },
534
+ * "project": {
535
+ * "id": "10000"
536
+ * },
537
+ * "reporter": {
538
+ * "id": "5b10a2844c20165700ede21g"
539
+ * },
540
+ * "security": {
541
+ * "id": "10000"
542
+ * },
543
+ * "summary": "Main order flow broken",
544
+ * "timetracking": {
545
+ * "originalEstimate": "10",
546
+ * "remainingEstimate": "5"
547
+ * },
548
+ * "versions": [
549
+ * {
550
+ * "id": "10000"
551
+ * }
552
+ * ]
553
+ * },
554
+ * "update": {
555
+ * "worklog": [
556
+ * {
557
+ * "add": {
558
+ * "started": "2019-07-05T11:05:00.000+0000",
559
+ * "timeSpent": "60m"
560
+ * }
561
+ * }
562
+ * ]
563
+ * }
564
+ * },
565
+ * {
566
+ * "fields": {
567
+ * "assignee": {
568
+ * "id": "5b109f2e9729b51b54dc274d"
569
+ * },
570
+ * "components": [
571
+ * {
572
+ * "id": "10000"
573
+ * }
574
+ * ],
575
+ * "customfield_10000": "09/Jun/19",
576
+ * "customfield_20000": "06/Jul/19 3:25 PM",
577
+ * "customfield_30000": [
578
+ * "10000",
579
+ * "10002"
580
+ * ],
581
+ * "customfield_40000": {
582
+ * "content": [
583
+ * {
584
+ * "content": [
585
+ * {
586
+ * "text": "Occurs on all orders",
587
+ * "type": "text"
588
+ * }
589
+ * ],
590
+ * "type": "paragraph"
591
+ * }
592
+ * ],
593
+ * "type": "doc",
594
+ * "version": 1
595
+ * },
596
+ * "customfield_50000": {
597
+ * "content": [
598
+ * {
599
+ * "content": [
600
+ * {
601
+ * "text": "Could impact day-to-day work.",
602
+ * "type": "text"
603
+ * }
604
+ * ],
605
+ * "type": "paragraph"
606
+ * }
607
+ * ],
608
+ * "type": "doc",
609
+ * "version": 1
610
+ * },
611
+ * "customfield_60000": "jira-software-users",
612
+ * "customfield_70000": [
613
+ * "jira-administrators",
614
+ * "jira-software-users"
615
+ * ],
616
+ * "customfield_80000": {
617
+ * "value": "red"
618
+ * },
619
+ * "description": {
620
+ * "content": [
621
+ * {
622
+ * "content": [
623
+ * {
624
+ * "text": "Order remains pending after
625
+ * approved.",
626
+ * "type": "text"
627
+ * }
628
+ * ],
629
+ * "type": "paragraph"
630
+ * }
631
+ * ],
632
+ * "type": "doc",
633
+ * "version": 1
634
+ * },
635
+ * "duedate": "2019-04-16",
636
+ * "environment": {
637
+ * "content": [
638
+ * {
639
+ * "content": [
640
+ * {
641
+ * "text": "UAT",
642
+ * "type": "text"
643
+ * }
644
+ * ],
645
+ * "type": "paragraph"
646
+ * }
647
+ * ],
648
+ * "type": "doc",
649
+ * "version": 1
650
+ * },
651
+ * "fixVersions": [
652
+ * {
653
+ * "id": "10001"
654
+ * }
655
+ * ],
656
+ * "issuetype": {
657
+ * "id": "10000"
658
+ * },
659
+ * "labels": [
660
+ * "new_release"
661
+ * ],
662
+ * "priority": {
663
+ * "id": "20000"
664
+ * },
665
+ * "project": {
666
+ * "id": "1000"
667
+ * },
668
+ * "reporter": {
669
+ * "id": "5b10a2844c20165700ede21g"
670
+ * },
671
+ * "security": {
672
+ * "id": "10000"
673
+ * },
674
+ * "summary": "Order stuck in pending",
675
+ * "timetracking": {
676
+ * "originalEstimate": "15",
677
+ * "remainingEstimate": "5"
678
+ * },
679
+ * "versions": [
680
+ * {
681
+ * "id": "10000"
682
+ * }
683
+ * ]
684
+ * },
685
+ * "update": {}
686
+ * }
687
+ * ]
688
+ * }
689
+ */
690
+ issuesUpdateBean: IssuesUpdateBean;
691
+ }): Promise<CreatedIssues>;
692
+ /**
693
+ * Deletes an issue.
694
+ *
695
+ * An issue cannot be deleted if it has one or more subtasks. To delete an issue
696
+ * with subtasks, set `deleteSubtasks`. This causes the issue's subtasks to be
697
+ * deleted with the issue.
698
+ *
699
+ * This operation can be accessed anonymously.
700
+ *
701
+ * **[Permissions](#permissions) required:**
702
+ *
703
+ * * *Browse projects* and *Delete issues* [project
704
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project
705
+ * containing the issue.
706
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
707
+ * configured, issue-level security permission to view the issue.
708
+ *
709
+ * @path {DELETE} /rest/api/3/issue/{issueIdOrKey}
710
+ * @scopes-current write:jira-work
711
+ * @scopes-beta delete:issue:jira
712
+ */
713
+ deleteIssue({ issueIdOrKey, deleteSubtasks, }: {
714
+ /** The ID or key of the issue. */
715
+ issueIdOrKey: string;
716
+ /** Whether the issue's subtasks are deleted when the issue is deleted. */
717
+ deleteSubtasks?: "true" | "false";
718
+ }): Promise<void>;
719
+ /**
720
+ * Performs an issue transition and, if the transition has a screen, updates the
721
+ * fields from the transition screen.
722
+ *
723
+ * sortByCategory To update the fields on the transition screen, specify the
724
+ * fields in the `fields` or `update` parameters in the request body. Get details
725
+ * about the fields using [ Get
726
+ * transitions](#api-rest-api-3-issue-issueIdOrKey-transitions-get) with the
727
+ * `transitions.fields` expand.
728
+ *
729
+ * This operation can be accessed anonymously.
730
+ *
731
+ * **[Permissions](#permissions) required:**
732
+ *
733
+ * * *Browse projects* and *Transition issues* [project
734
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
735
+ * issue is in.
736
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
737
+ * configured, issue-level security permission to view the issue.
738
+ *
739
+ * @returns Returned if the request is successful.
740
+ * @path {POST} /rest/api/3/issue/{issueIdOrKey}/transitions
741
+ * @scopes-current write:jira-work
742
+ * @scopes-beta write:issue:jira, write:issue.property:jira
743
+ */
744
+ doTransition({ issueIdOrKey, issueUpdateDetails, }: {
745
+ /** The ID or key of the issue. */
746
+ issueIdOrKey: string;
747
+ /**
748
+ * @example {
749
+ * "fields": {
750
+ * "assignee": {
751
+ * "name": "bob"
752
+ * },
753
+ * "resolution": {
754
+ * "name": "Fixed"
755
+ * }
756
+ * },
757
+ * "historyMetadata": {
758
+ * "activityDescription": "Complete order processing",
759
+ * "actor": {
760
+ * "avatarUrl": "http://mysystem/avatar/tony.jpg",
761
+ * "displayName": "Tony",
762
+ * "id": "tony",
763
+ * "type": "mysystem-user",
764
+ * "url": "http://mysystem/users/tony"
765
+ * },
766
+ * "cause": {
767
+ * "id": "myevent",
768
+ * "type": "mysystem-event"
769
+ * },
770
+ * "description": "From the order testing process",
771
+ * "extraData": {
772
+ * "Iteration": "10a",
773
+ * "Step": "4"
774
+ * },
775
+ * "generator": {
776
+ * "id": "mysystem-1",
777
+ * "type": "mysystem-application"
778
+ * },
779
+ * "type": "myplugin:type"
780
+ * },
781
+ * "transition": {
782
+ * "id": "5"
783
+ * },
784
+ * "update": {
785
+ * "comment": [
786
+ * {
787
+ * "add": {
788
+ * "body": {
789
+ * "content": [
790
+ * {
791
+ * "content": [
792
+ * {
793
+ * "text": "Bug has been fixed",
794
+ * "type": "text"
795
+ * }
796
+ * ],
797
+ * "type": "paragraph"
798
+ * }
799
+ * ],
800
+ * "type": "doc",
801
+ * "version": 1
802
+ * }
803
+ * }
804
+ * }
805
+ * ]
806
+ * }
807
+ * }
808
+ */
809
+ issueUpdateDetails: IssueUpdateDetails;
810
+ }): Promise<void>;
811
+ /**
812
+ * Edits an issue. Issue properties may be updated as part of the edit. Please
813
+ * note that issue transition will be ignored as it is not supported yet.
814
+ *
815
+ * The edits to the issue's fields are defined using `update` and `fields`. The
816
+ * fields that can be edited are determined using [ Get edit issue
817
+ * metadata](#api-rest-api-3-issue-issueIdOrKey-editmeta-get).
818
+ *
819
+ * The parent field may be set by key or ID. For standard issue types, the parent
820
+ * may be removed by setting `update.parent.set.none` to *true*. Note that the
821
+ * `description`, `environment`, and any `textarea` type custom fields (multi-line
822
+ * text fields) take Atlassian Document Format content. Single line custom fields
823
+ * (`textfield`) accept a string and don't handle Atlassian Document Format
824
+ * content.
825
+ *
826
+ * Connect apps having an app user with *Administer Jira* [global
827
+ * permission](https://confluence.atlassian.com/x/x4dKLg), and Forge apps acting
828
+ * on behalf of users with *Administer Jira* [global
829
+ * permission](https://confluence.atlassian.com/x/x4dKLg), can override the screen
830
+ * security configuration using `overrideScreenSecurity` and
831
+ * `overrideEditableFlag`.
832
+ *
833
+ * This operation can be accessed anonymously.
834
+ *
835
+ * **[Permissions](#permissions) required:**
836
+ *
837
+ * * *Browse projects* and *Edit issues* [project
838
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
839
+ * issue is in.
840
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
841
+ * configured, issue-level security permission to view the issue.
842
+ *
843
+ * @returns * status: 200, mediaType: application/json
844
+ *
845
+ * Returned if the request is successful and the `returnIssue` parameter is
846
+ * `true`
847
+ *
848
+ * * status: 204, mediaType: application/json
849
+ *
850
+ * Returned if the request is successful.
851
+ * @path {PUT} /rest/api/3/issue/{issueIdOrKey}
852
+ * @scopes-current write:jira-work
853
+ * @scopes-beta write:issue:jira
854
+ */
855
+ editIssue({ issueIdOrKey, notifyUsers, overrideScreenSecurity, overrideEditableFlag, returnIssue, expand, issueUpdateDetails, }: {
856
+ /** The ID or key of the issue. */
857
+ issueIdOrKey: string;
858
+ /**
859
+ * Whether a notification email about the issue update is sent to all watchers. To
860
+ * disable the notification, administer Jira or administer project permissions are
861
+ * required. If the user doesn't have the necessary permission the request is
862
+ * ignored.
863
+ */
864
+ notifyUsers?: boolean;
865
+ /**
866
+ * Whether screen security is overridden to enable hidden fields to be edited.
867
+ * Available to Connect app users with *Administer Jira* [global
868
+ * permission](https://confluence.atlassian.com/x/x4dKLg) and Forge apps acting on
869
+ * behalf of users with *Administer Jira* [global
870
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
871
+ */
872
+ overrideScreenSecurity?: boolean;
873
+ /**
874
+ * Whether screen security is overridden to enable uneditable fields to be edited.
875
+ * Available to Connect app users with *Administer Jira* [global
876
+ * permission](https://confluence.atlassian.com/x/x4dKLg) and Forge apps acting on
877
+ * behalf of users with *Administer Jira* [global
878
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
879
+ */
880
+ overrideEditableFlag?: boolean;
881
+ /**
882
+ * Whether the response should contain the issue with fields edited in this
883
+ * request. The returned issue will have the same format as in the [Get issue
884
+ * API](#api-rest-api-3-issue-issueidorkey-get).
885
+ */
886
+ returnIssue?: boolean;
887
+ /**
888
+ * The Get issue API expand parameter to use in the response if the `returnIssue`
889
+ * parameter is `true`.
890
+ */
891
+ expand?: string;
892
+ /**
893
+ * @example {
894
+ * "fields": {
895
+ * "customfield_10000": {
896
+ * "content": [
897
+ * {
898
+ * "content": [
899
+ * {
900
+ * "text": "Investigation underway",
901
+ * "type": "text"
902
+ * }
903
+ * ],
904
+ * "type": "paragraph"
905
+ * }
906
+ * ],
907
+ * "type": "doc",
908
+ * "version": 1
909
+ * },
910
+ * "customfield_10010": 1,
911
+ * "summary": "Completed orders still displaying in pending"
912
+ * },
913
+ * "historyMetadata": {
914
+ * "activityDescription": "Complete order processing",
915
+ * "actor": {
916
+ * "avatarUrl": "http://mysystem/avatar/tony.jpg",
917
+ * "displayName": "Tony",
918
+ * "id": "tony",
919
+ * "type": "mysystem-user",
920
+ * "url": "http://mysystem/users/tony"
921
+ * },
922
+ * "cause": {
923
+ * "id": "myevent",
924
+ * "type": "mysystem-event"
925
+ * },
926
+ * "description": "From the order testing process",
927
+ * "extraData": {
928
+ * "Iteration": "10a",
929
+ * "Step": "4"
930
+ * },
931
+ * "generator": {
932
+ * "id": "mysystem-1",
933
+ * "type": "mysystem-application"
934
+ * },
935
+ * "type": "myplugin:type"
936
+ * },
937
+ * "properties": [
938
+ * {
939
+ * "key": "key1",
940
+ * "value": "Order number 10784"
941
+ * },
942
+ * {
943
+ * "key": "key2",
944
+ * "value": "Order number 10923"
945
+ * }
946
+ * ],
947
+ * "update": {
948
+ * "components": [
949
+ * {
950
+ * "set": ""
951
+ * }
952
+ * ],
953
+ * "labels": [
954
+ * {
955
+ * "add": "triaged"
956
+ * },
957
+ * {
958
+ * "remove": "blocker"
959
+ * }
960
+ * ],
961
+ * "summary": [
962
+ * {
963
+ * "set": "Bug in business logic"
964
+ * }
965
+ * ],
966
+ * "timetracking": [
967
+ * {
968
+ * "edit": {
969
+ * "originalEstimate": "1w 1d",
970
+ * "remainingEstimate": "4d"
971
+ * }
972
+ * }
973
+ * ]
974
+ * }
975
+ * }
976
+ */
977
+ issueUpdateDetails: IssueUpdateDetails;
978
+ }): Promise<commonHttpClient.WithResponse<{
979
+ status: 200;
980
+ mediaType: "application/json";
981
+ body: unknown;
982
+ } | {
983
+ status: 204;
984
+ mediaType: "application/json";
985
+ body: void;
986
+ }>>;
987
+ /**
988
+ * Enables admins to retrieve details of all archived issues. Upon a successful
989
+ * request, the admin who submitted it will receive an email with a link to
990
+ * download a CSV file with the issue details.
991
+ *
992
+ * Note that this API only exports the values of system fields and
993
+ * archival-specific fields (`ArchivedBy` and `ArchivedDate`). Custom fields
994
+ * aren't supported.
995
+ *
996
+ * **[Permissions](#permissions) required:** Jira admin or site admin: [global
997
+ * permission](https://confluence.atlassian.com/x/x4dKLg)
998
+ *
999
+ * **License required:** Premium or Enterprise
1000
+ *
1001
+ * **Signed-in users only:** This API can't be accessed anonymously.
1002
+ *
1003
+ * **Rate limiting:** Only a single request can be active at any given time.
1004
+ *
1005
+ * @returns Returns the details of your export task. You can use the [get
1006
+ * task](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-tasks/#api-rest-api-3-task-taskid-get)
1007
+ * API to view the progress of your request.
1008
+ *
1009
+ * example: {
1010
+ * "payload": "{projects=[FOO, BAR], reporters=[uuid-rep-001, uuid-rep-002],
1011
+ * issueTypes=[10001, 10002], archivedDate={dateAfterInstant=2023-01-01,
1012
+ * dateBeforeInstant=2023-01-12}, archivedBy=[uuid-rep-001, uuid-rep-002]}",
1013
+ * "progress": 0,
1014
+ * "status": "ENQUEUED",
1015
+ * "submittedTime": 1623230887000,
1016
+ * "taskId": "10990"
1017
+ * }
1018
+ * @path {PUT} /rest/api/3/issues/archive/export
1019
+ * @scopes-current read:jira-work
1020
+ * @scopes-beta read:issue:jira
1021
+ */
1022
+ exportArchivedIssues({ archivedIssuesFilterRequest, }: {
1023
+ /**
1024
+ * You can filter the issues in your request by the `projects`, `archivedBy`,
1025
+ * `archivedDate`, `issueTypes`, and `reporters` fields. All filters are optional.
1026
+ * If you don't provide any filters, you'll get a list of up to one million
1027
+ * archived issues.
1028
+ *
1029
+ * @example {
1030
+ * "archivedBy": [
1031
+ * "uuid-rep-001",
1032
+ * "uuid-rep-002"
1033
+ * ],
1034
+ * "archivedDate": {
1035
+ * "dateAfter": "2023-01-01",
1036
+ * "dateBefore": "2023-01-12"
1037
+ * },
1038
+ * "archivedDateRange": {
1039
+ * "dateAfter": "2023-01-01",
1040
+ * "dateBefore": "2023-01-12"
1041
+ * },
1042
+ * "issueTypes": [
1043
+ * "10001",
1044
+ * "10002"
1045
+ * ],
1046
+ * "projects": [
1047
+ * "FOO",
1048
+ * "BAR"
1049
+ * ],
1050
+ * "reporters": [
1051
+ * "uuid-rep-001",
1052
+ * "uuid-rep-002"
1053
+ * ]
1054
+ * }
1055
+ */
1056
+ archivedIssuesFilterRequest: ArchivedIssuesFilterRequest;
1057
+ }): Promise<ExportArchivedIssuesTaskProgressResponse>;
1058
+ /**
1059
+ * Returns a [paginated](#pagination) list of all changelogs for an issue sorted
1060
+ * by date, starting from the oldest.
1061
+ *
1062
+ * This operation can be accessed anonymously.
1063
+ *
1064
+ * **[Permissions](#permissions) required:**
1065
+ *
1066
+ * * *Browse projects* [project
1067
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
1068
+ * issue is in.
1069
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
1070
+ * configured, issue-level security permission to view the issue.
1071
+ *
1072
+ * @returns Returned if the request is successful.
1073
+ *
1074
+ * example: {
1075
+ * "isLast": false,
1076
+ * "maxResults": 2,
1077
+ * "nextPage":
1078
+ * "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog?&startAt=4&maxResults=2",
1079
+ * "self":
1080
+ * "https://your-domain.atlassian.net/rest/api/3/issue/TT-1/changelog?startAt=2&maxResults=2",
1081
+ * "startAt": 2,
1082
+ * "total": 5,
1083
+ * "values": [
1084
+ * {
1085
+ * "author": {
1086
+ * "accountId": "5b10a2844c20165700ede21g",
1087
+ * "active": true,
1088
+ * "avatarUrls": {
1089
+ * "16x16":
1090
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1091
+ * "24x24":
1092
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1093
+ * "32x32":
1094
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1095
+ * "48x48":
1096
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1097
+ * },
1098
+ * "displayName": "Mia Krystof",
1099
+ * "emailAddress": "mia@example.com",
1100
+ * "self":
1101
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
1102
+ * "timeZone": "Australia/Sydney"
1103
+ * },
1104
+ * "created": "1970-01-18T06:27:50.429+0000",
1105
+ * "id": "10001",
1106
+ * "items": [
1107
+ * {
1108
+ * "field": "fields",
1109
+ * "fieldtype": "jira",
1110
+ * "fieldId": "fieldId",
1111
+ * "from": null,
1112
+ * "fromString": "",
1113
+ * "to": null,
1114
+ * "toString": "label-1"
1115
+ * }
1116
+ * ]
1117
+ * },
1118
+ * {
1119
+ * "author": {
1120
+ * "accountId": "5b10a2844c20165700ede21g",
1121
+ * "active": true,
1122
+ * "avatarUrls": {
1123
+ * "16x16":
1124
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1125
+ * "24x24":
1126
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1127
+ * "32x32":
1128
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1129
+ * "48x48":
1130
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1131
+ * },
1132
+ * "displayName": "Mia Krystof",
1133
+ * "emailAddress": "mia@example.com",
1134
+ * "self":
1135
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
1136
+ * "timeZone": "Australia/Sydney"
1137
+ * },
1138
+ * "created": "1970-01-18T06:27:51.429+0000",
1139
+ * "id": "10002",
1140
+ * "items": [
1141
+ * {
1142
+ * "field": "fields",
1143
+ * "fieldtype": "jira",
1144
+ * "fieldId": "fieldId",
1145
+ * "from": null,
1146
+ * "fromString": "label-1",
1147
+ * "to": null,
1148
+ * "toString": "label-1 label-2"
1149
+ * }
1150
+ * ]
1151
+ * }
1152
+ * ]
1153
+ * }
1154
+ * @path {GET} /rest/api/3/issue/{issueIdOrKey}/changelog
1155
+ * @scopes-current read:jira-work
1156
+ * @scopes-beta read:issue-meta:jira, read:avatar:jira, read:issue.changelog:jira
1157
+ */
1158
+ getChangeLogs({ issueIdOrKey, startAt, maxResults, }: {
1159
+ /** The ID or key of the issue. */
1160
+ issueIdOrKey: string;
1161
+ /** The index of the first item to return in a page of results (page offset). */
1162
+ startAt?: number;
1163
+ /** The maximum number of items to return per page. */
1164
+ maxResults?: number;
1165
+ }): Promise<PageBeanChangelog>;
1166
+ /**
1167
+ * Returns changelogs for an issue specified by a list of changelog IDs.
1168
+ *
1169
+ * This operation can be accessed anonymously.
1170
+ *
1171
+ * **[Permissions](#permissions) required:**
1172
+ *
1173
+ * * *Browse projects* [project
1174
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
1175
+ * issue is in.
1176
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
1177
+ * configured, issue-level security permission to view the issue.
1178
+ *
1179
+ * @returns Returned if the request is successful.
1180
+ *
1181
+ * example: {
1182
+ * "histories": [
1183
+ * {
1184
+ * "author": {
1185
+ * "accountId": "5b10a2844c20165700ede21g",
1186
+ * "active": true,
1187
+ * "avatarUrls": {
1188
+ * "16x16":
1189
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1190
+ * "24x24":
1191
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1192
+ * "32x32":
1193
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1194
+ * "48x48":
1195
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1196
+ * },
1197
+ * "displayName": "Mia Krystof",
1198
+ * "emailAddress": "mia@example.com",
1199
+ * "self":
1200
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
1201
+ * "timeZone": "Australia/Sydney"
1202
+ * },
1203
+ * "created": "1970-01-18T06:27:50.429+0000",
1204
+ * "id": "10001",
1205
+ * "items": [
1206
+ * {
1207
+ * "field": "fields",
1208
+ * "fieldtype": "jira",
1209
+ * "fieldId": "fieldId",
1210
+ * "from": null,
1211
+ * "fromString": "",
1212
+ * "to": null,
1213
+ * "toString": "label-1"
1214
+ * }
1215
+ * ]
1216
+ * },
1217
+ * {
1218
+ * "author": {
1219
+ * "accountId": "5b10a2844c20165700ede21g",
1220
+ * "active": true,
1221
+ * "avatarUrls": {
1222
+ * "16x16":
1223
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1224
+ * "24x24":
1225
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1226
+ * "32x32":
1227
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1228
+ * "48x48":
1229
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1230
+ * },
1231
+ * "displayName": "Mia Krystof",
1232
+ * "emailAddress": "mia@example.com",
1233
+ * "self":
1234
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
1235
+ * "timeZone": "Australia/Sydney"
1236
+ * },
1237
+ * "created": "1970-01-18T06:27:51.429+0000",
1238
+ * "id": "10002",
1239
+ * "items": [
1240
+ * {
1241
+ * "field": "fields",
1242
+ * "fieldtype": "jira",
1243
+ * "fieldId": "fieldId",
1244
+ * "from": null,
1245
+ * "fromString": "label-1",
1246
+ * "to": null,
1247
+ * "toString": "label-1 label-2"
1248
+ * }
1249
+ * ]
1250
+ * }
1251
+ * ],
1252
+ * "maxResults": 2,
1253
+ * "startAt": 0,
1254
+ * "total": 2
1255
+ * }
1256
+ * @path {POST} /rest/api/3/issue/{issueIdOrKey}/changelog/list
1257
+ * @scopes-current read:jira-work
1258
+ * @scopes-beta read:issue-meta:jira, read:avatar:jira, read:issue.changelog:jira
1259
+ */
1260
+ getChangeLogsByIds({ issueIdOrKey, issueChangelogIds, }: {
1261
+ /** The ID or key of the issue. */
1262
+ issueIdOrKey: string;
1263
+ /**
1264
+ * @example {
1265
+ * "changelogIds": [
1266
+ * 10001,
1267
+ * 10002
1268
+ * ]
1269
+ * }
1270
+ */
1271
+ issueChangelogIds: IssueChangelogIds;
1272
+ }): Promise<PageOfChangelogs>;
1273
+ /**
1274
+ * Returns details of projects, issue types within projects, and, when requested,
1275
+ * the create screen fields for each issue type for the user. Use the information
1276
+ * to populate the requests in [ Create issue](#api-rest-api-3-issue-post) and
1277
+ * [Create issues](#api-rest-api-3-issue-bulk-post).
1278
+ *
1279
+ * Deprecated, see [Create Issue Meta Endpoint Deprecation
1280
+ * Notice](https://developer.atlassian.com/cloud/jira/platform/changelog/#CHANGE-1304).
1281
+ *
1282
+ * The request can be restricted to specific projects or issue types using the
1283
+ * query parameters. The response will contain information for the valid projects,
1284
+ * issue types, or project and issue type combinations requested. Note that
1285
+ * invalid project, issue type, or project and issue type combinations do not
1286
+ * generate errors.
1287
+ *
1288
+ * This operation can be accessed anonymously.
1289
+ *
1290
+ * **[Permissions](#permissions) required:** *Create issues* [project
1291
+ * permission](https://confluence.atlassian.com/x/yodKLg) in the requested
1292
+ * projects.
1293
+ *
1294
+ * @deprecated
1295
+ * @returns Returned if the request is successful.
1296
+ *
1297
+ * example: {
1298
+ * "projects": [
1299
+ * {
1300
+ * "avatarUrls": {
1301
+ * "16x16":
1302
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000&avatarId=10011",
1303
+ * "24x24":
1304
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000&avatarId=10011",
1305
+ * "32x32":
1306
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000&avatarId=10011",
1307
+ * "48x48":
1308
+ * "https://your-domain.atlassian.net/secure/projectavatar?pid=10000&avatarId=10011"
1309
+ * },
1310
+ * "id": "10000",
1311
+ * "issuetypes": [
1312
+ * {
1313
+ * "description": "An error in the code",
1314
+ * "fields": {
1315
+ * "issuetype": {
1316
+ * "allowedValues": [
1317
+ * "set"
1318
+ * ],
1319
+ * "autoCompleteUrl": "issuetype",
1320
+ * "hasDefaultValue": false,
1321
+ * "key": "issuetype",
1322
+ * "name": "Issue Type",
1323
+ * "required": true
1324
+ * }
1325
+ * },
1326
+ * "iconUrl":
1327
+ * "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
1328
+ * "id": "1",
1329
+ * "name": "Bug",
1330
+ * "self": "https://your-domain.atlassian.net/rest/api/3/issueType/1",
1331
+ * "subtask": false
1332
+ * }
1333
+ * ],
1334
+ * "key": "ED",
1335
+ * "name": "Edison Project",
1336
+ * "self": "https://your-domain.atlassian.net/rest/api/3/project/ED"
1337
+ * }
1338
+ * ]
1339
+ * }
1340
+ * @path {GET} /rest/api/3/issue/createmeta
1341
+ * @scopes-current read:jira-work
1342
+ * @scopes-beta read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
1343
+ */
1344
+ getCreateIssueMeta({ projectIds, projectKeys, issuetypeIds, issuetypeNames, expand, }: {
1345
+ /**
1346
+ * List of project IDs. This parameter accepts a comma-separated list. Multiple
1347
+ * project IDs can also be provided using an ampersand-separated list. For
1348
+ * example, `projectIds=10000,10001&projectIds=10020,10021`. This parameter may be
1349
+ * provided with `projectKeys`.
1350
+ */
1351
+ projectIds?: string[];
1352
+ /**
1353
+ * List of project keys. This parameter accepts a comma-separated list. Multiple
1354
+ * project keys can also be provided using an ampersand-separated list. For
1355
+ * example, `projectKeys=proj1,proj2&projectKeys=proj3`. This parameter may be
1356
+ * provided with `projectIds`.
1357
+ */
1358
+ projectKeys?: string[];
1359
+ /**
1360
+ * List of issue type IDs. This parameter accepts a comma-separated list. Multiple
1361
+ * issue type IDs can also be provided using an ampersand-separated list. For
1362
+ * example, `issuetypeIds=10000,10001&issuetypeIds=10020,10021`. This parameter
1363
+ * may be provided with `issuetypeNames`.
1364
+ */
1365
+ issuetypeIds?: string[];
1366
+ /**
1367
+ * List of issue type names. This parameter accepts a comma-separated list.
1368
+ * Multiple issue type names can also be provided using an ampersand-separated
1369
+ * list. For example, `issuetypeNames=name1,name2&issuetypeNames=name3`. This
1370
+ * parameter may be provided with `issuetypeIds`.
1371
+ */
1372
+ issuetypeNames?: string[];
1373
+ /**
1374
+ * Use [expand](#expansion) to include additional information about issue metadata
1375
+ * in the response. This parameter accepts `projects.issuetypes.fields`, which
1376
+ * returns information about the fields in the issue creation screen for each
1377
+ * issue type. Fields hidden from the screen are not returned. Use the information
1378
+ * to populate the `fields` and `update` fields in [Create
1379
+ * issue](#api-rest-api-3-issue-post) and [Create
1380
+ * issues](#api-rest-api-3-issue-bulk-post).
1381
+ */
1382
+ expand?: string;
1383
+ }): Promise<IssueCreateMetadata>;
1384
+ /**
1385
+ * Returns a page of field metadata for a specified project and issuetype id. Use
1386
+ * the information to populate the requests in [ Create
1387
+ * issue](#api-rest-api-3-issue-post) and [Create
1388
+ * issues](#api-rest-api-3-issue-bulk-post).
1389
+ *
1390
+ * This operation can be accessed anonymously.
1391
+ *
1392
+ * **[Permissions](#permissions) required:** *Create issues* [project
1393
+ * permission](https://confluence.atlassian.com/x/yodKLg) in the requested
1394
+ * projects.
1395
+ *
1396
+ * @returns Returned if the request is successful.
1397
+ *
1398
+ * example: {
1399
+ * "fields": [
1400
+ * {
1401
+ * "fieldId": "assignee",
1402
+ * "hasDefaultValue": false,
1403
+ * "key": "assignee",
1404
+ * "name": "Assignee",
1405
+ * "operations": [
1406
+ * "set"
1407
+ * ],
1408
+ * "required": true
1409
+ * }
1410
+ * ],
1411
+ * "maxResults": 1,
1412
+ * "startAt": 0,
1413
+ * "total": 1
1414
+ * }
1415
+ * @path {GET} /rest/api/3/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId}
1416
+ * @scopes-current read:jira-work
1417
+ * @scopes-beta read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
1418
+ */
1419
+ getCreateIssueMetaIssueTypeId({ projectIdOrKey, issueTypeId, startAt, maxResults, }: {
1420
+ /** The ID or key of the project. */
1421
+ projectIdOrKey: string;
1422
+ /** The issuetype ID. */
1423
+ issueTypeId: string;
1424
+ /** The index of the first item to return in a page of results (page offset). */
1425
+ startAt?: number;
1426
+ /** The maximum number of items to return per page. */
1427
+ maxResults?: number;
1428
+ }): Promise<PageOfCreateMetaIssueTypeWithField>;
1429
+ /**
1430
+ * Returns a page of issue type metadata for a specified project. Use the
1431
+ * information to populate the requests in [ Create
1432
+ * issue](#api-rest-api-3-issue-post) and [Create
1433
+ * issues](#api-rest-api-3-issue-bulk-post).
1434
+ *
1435
+ * This operation can be accessed anonymously.
1436
+ *
1437
+ * **[Permissions](#permissions) required:** *Create issues* [project
1438
+ * permission](https://confluence.atlassian.com/x/yodKLg) in the requested
1439
+ * projects.
1440
+ *
1441
+ * @returns Returned if the request is successful.
1442
+ *
1443
+ * example: {
1444
+ * "issueTypes": [
1445
+ * {
1446
+ * "description": "An error in the code",
1447
+ * "iconUrl":
1448
+ * "https://your-domain.atlassian.net/images/icons/issuetypes/bug.png",
1449
+ * "id": "1",
1450
+ * "name": "Bug",
1451
+ * "self": "https://your-domain.atlassian.net/rest/api/3/issueType/1",
1452
+ * "subtask": false
1453
+ * }
1454
+ * ],
1455
+ * "maxResults": 1,
1456
+ * "startAt": 0,
1457
+ * "total": 1
1458
+ * }
1459
+ * @path {GET} /rest/api/3/issue/createmeta/{projectIdOrKey}/issuetypes
1460
+ * @scopes-current read:jira-work
1461
+ * @scopes-beta read:issue-meta:jira, read:avatar:jira, read:field-configuration:jira
1462
+ */
1463
+ getCreateIssueMetaIssueTypes({ projectIdOrKey, startAt, maxResults, }: {
1464
+ /** The ID or key of the project. */
1465
+ projectIdOrKey: string;
1466
+ /** The index of the first item to return in a page of results (page offset). */
1467
+ startAt?: number;
1468
+ /** The maximum number of items to return per page. */
1469
+ maxResults?: number;
1470
+ }): Promise<PageOfCreateMetaIssueTypes>;
1471
+ /**
1472
+ * Returns the edit screen fields for an issue that are visible to and editable by
1473
+ * the user. Use the information to populate the requests in [Edit
1474
+ * issue](#api-rest-api-3-issue-issueIdOrKey-put).
1475
+ *
1476
+ * This endpoint will check for these conditions:
1477
+ *
1478
+ * 1. Field is available on a field screen - through screen, screen scheme, issue
1479
+ * type screen scheme, and issue type scheme configuration.
1480
+ * `overrideScreenSecurity=true` skips this condition.
1481
+ * 2. Field is visible in the [field
1482
+ * configuration](https://support.atlassian.com/jira-cloud-administration/docs/change-a-field-configuration/).
1483
+ * `overrideScreenSecurity=true` skips this condition.
1484
+ * 3. Field is shown on the issue: each field has different conditions here. For
1485
+ * example: Attachment field only shows if attachments are enabled. Assignee only
1486
+ * shows if user has permissions to assign the issue.
1487
+ * 4. If a field is custom then it must have valid custom field context,
1488
+ * applicable for its project and issue type. All system fields are assumed to
1489
+ * have context in all projects and all issue types.
1490
+ * 5. Issue has a project, issue type, and status defined.
1491
+ * 6. Issue is assigned to a valid workflow, and the current status has assigned
1492
+ * a workflow step. `overrideEditableFlag=true` skips this condition.
1493
+ * 7. The current workflow step is editable. This is true by default, but [can be
1494
+ * disabled by
1495
+ * setting](https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/)
1496
+ * the `jira.issue.editable` property to `false`. `overrideEditableFlag=true`
1497
+ * skips this condition.
1498
+ * 8. User has [Edit issues
1499
+ * permission](https://support.atlassian.com/jira-cloud-administration/docs/permissions-for-company-managed-projects/).
1500
+ * 9. Workflow permissions allow editing a field. This is true by default but
1501
+ * [can be
1502
+ * modified](https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/)
1503
+ * using `jira.permission.*` workflow properties.
1504
+ *
1505
+ * Fields hidden using [Issue layout settings
1506
+ * page](https://support.atlassian.com/jira-software-cloud/docs/configure-field-layout-in-the-issue-view/)
1507
+ * remain editable.
1508
+ *
1509
+ * Connect apps having an app user with *Administer Jira* [global
1510
+ * permission](https://confluence.atlassian.com/x/x4dKLg), and Forge apps acting
1511
+ * on behalf of users with *Administer Jira* [global
1512
+ * permission](https://confluence.atlassian.com/x/x4dKLg), can return additional
1513
+ * details using:
1514
+ *
1515
+ * * `overrideScreenSecurity` When this flag is `true`, then this endpoint skips
1516
+ * checking if fields are available through screens, and field configuration
1517
+ * (conditions 1. and 2. from the list above).
1518
+ * * `overrideEditableFlag` When this flag is `true`, then this endpoint skips
1519
+ * checking if workflow is present and if the current step is editable (conditions
1520
+ * 6. and 7. from the list above).
1521
+ *
1522
+ * This operation can be accessed anonymously.
1523
+ *
1524
+ * **[Permissions](#permissions) required:**
1525
+ *
1526
+ * * *Browse projects* [project
1527
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
1528
+ * issue is in.
1529
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
1530
+ * configured, issue-level security permission to view the issue.
1531
+ *
1532
+ * Note: For any fields to be editable the user must have the *Edit issues*
1533
+ * [project permission](https://confluence.atlassian.com/x/yodKLg) for the issue.
1534
+ *
1535
+ * @returns Returned if the request is successful.
1536
+ *
1537
+ * example: {
1538
+ * "fields": {
1539
+ * "summary": {
1540
+ * "allowedValues": [
1541
+ * "red",
1542
+ * "blue"
1543
+ * ],
1544
+ * "defaultValue": "red",
1545
+ * "hasDefaultValue": false,
1546
+ * "key": "field_key",
1547
+ * "name": "My Multi Select",
1548
+ * "operations": [
1549
+ * "set",
1550
+ * "add"
1551
+ * ],
1552
+ * "required": false,
1553
+ * "schema": {
1554
+ * "custom":
1555
+ * "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
1556
+ * "customId": 10001,
1557
+ * "items": "option",
1558
+ * "type": "array"
1559
+ * }
1560
+ * }
1561
+ * }
1562
+ * }
1563
+ * @path {GET} /rest/api/3/issue/{issueIdOrKey}/editmeta
1564
+ * @scopes-current read:jira-work
1565
+ * @scopes-beta read:issue-meta:jira, read:field-configuration:jira
1566
+ */
1567
+ getEditIssueMeta({ issueIdOrKey, overrideScreenSecurity, overrideEditableFlag, }: {
1568
+ /** The ID or key of the issue. */
1569
+ issueIdOrKey: string;
1570
+ /**
1571
+ * Whether hidden fields are returned. Available to Connect app users with
1572
+ * *Administer Jira* [global
1573
+ * permission](https://confluence.atlassian.com/x/x4dKLg) and Forge apps acting on
1574
+ * behalf of users with *Administer Jira* [global
1575
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
1576
+ */
1577
+ overrideScreenSecurity?: boolean;
1578
+ /**
1579
+ * Whether non-editable fields are returned. Available to Connect app users with
1580
+ * *Administer Jira* [global
1581
+ * permission](https://confluence.atlassian.com/x/x4dKLg) and Forge apps acting on
1582
+ * behalf of users with *Administer Jira* [global
1583
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
1584
+ */
1585
+ overrideEditableFlag?: boolean;
1586
+ }): Promise<IssueUpdateMetadata>;
1587
+ /**
1588
+ * Returns all issue events.
1589
+ *
1590
+ * **[Permissions](#permissions) required:** *Administer Jira* [global
1591
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
1592
+ *
1593
+ * @returns Returned if the request is successful.
1594
+ *
1595
+ * example: [
1596
+ * {
1597
+ * "id": 1,
1598
+ * "name": "Issue Created"
1599
+ * },
1600
+ * {
1601
+ * "id": 2,
1602
+ * "name": "Issue Updated"
1603
+ * }
1604
+ * ]
1605
+ * @path {GET} /rest/api/3/events
1606
+ * @scopes-current manage:jira-configuration
1607
+ * @scopes-beta read:issue-event:jira
1608
+ */
1609
+ getEvents(): Promise<IssueEvent[]>;
1610
+ /**
1611
+ * Returns the details for an issue.
1612
+ *
1613
+ * The issue is identified by its ID or key, however, if the identifier doesn't
1614
+ * match an issue, a case-insensitive search and check for moved issues is
1615
+ * performed. If a matching issue is found its details are returned, a 302 or
1616
+ * other redirect is **not** returned. The issue key returned in the response is
1617
+ * the key of the issue found.
1618
+ *
1619
+ * This operation can be accessed anonymously.
1620
+ *
1621
+ * **[Permissions](#permissions) required:**
1622
+ *
1623
+ * * *Browse projects* [project
1624
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
1625
+ * issue is in.
1626
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
1627
+ * configured, issue-level security permission to view the issue.
1628
+ *
1629
+ * @returns Returned if the request is successful.
1630
+ *
1631
+ * example: {
1632
+ * "fields": {
1633
+ * "watcher": {
1634
+ * "isWatching": false,
1635
+ * "self":
1636
+ * "https://your-domain.atlassian.net/rest/api/3/issue/EX-1/watchers",
1637
+ * "watchCount": 1,
1638
+ * "watchers": [
1639
+ * {
1640
+ * "accountId": "5b10a2844c20165700ede21g",
1641
+ * "active": false,
1642
+ * "displayName": "Mia Krystof",
1643
+ * "self":
1644
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1645
+ * }
1646
+ * ]
1647
+ * },
1648
+ * "attachment": [
1649
+ * {
1650
+ * "author": {
1651
+ * "accountId": "5b10a2844c20165700ede21g",
1652
+ * "accountType": "atlassian",
1653
+ * "active": false,
1654
+ * "avatarUrls": {
1655
+ * "16x16":
1656
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
1657
+ * "24x24":
1658
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
1659
+ * "32x32":
1660
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
1661
+ * "48x48":
1662
+ * "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
1663
+ * },
1664
+ * "displayName": "Mia Krystof",
1665
+ * "key": "",
1666
+ * "name": "",
1667
+ * "self":
1668
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1669
+ * },
1670
+ * "content":
1671
+ * "https://your-domain.atlassian.net/jira/rest/api/3/attachment/content/10000",
1672
+ * "created": "2022-10-06T07:32:47.000+0000",
1673
+ * "filename": "picture.jpg",
1674
+ * "id": 10000,
1675
+ * "mimeType": "image/jpeg",
1676
+ * "self":
1677
+ * "https://your-domain.atlassian.net/rest/api/3/attachments/10000",
1678
+ * "size": 23123,
1679
+ * "thumbnail":
1680
+ * "https://your-domain.atlassian.net/jira/rest/api/3/attachment/thumbnail/10000"
1681
+ * }
1682
+ * ],
1683
+ * "sub-tasks": [
1684
+ * {
1685
+ * "id": "10000",
1686
+ * "outwardIssue": {
1687
+ * "fields": {
1688
+ * "status": {
1689
+ * "iconUrl":
1690
+ * "https://your-domain.atlassian.net/images/icons/statuses/open.png",
1691
+ * "name": "Open"
1692
+ * }
1693
+ * },
1694
+ * "id": "10003",
1695
+ * "key": "ED-2",
1696
+ * "self": "https://your-domain.atlassian.net/rest/api/3/issue/ED-2"
1697
+ * },
1698
+ * "type": {
1699
+ * "id": "10000",
1700
+ * "inward": "Parent",
1701
+ * "name": "",
1702
+ * "outward": "Sub-task"
1703
+ * }
1704
+ * }
1705
+ * ],
1706
+ * "description": {
1707
+ * "type": "doc",
1708
+ * "version": 1,
1709
+ * "content": [
1710
+ * {
1711
+ * "type": "paragraph",
1712
+ * "content": [
1713
+ * {
1714
+ * "type": "text",
1715
+ * "text": "Main order flow broken"
1716
+ * }
1717
+ * ]
1718
+ * }
1719
+ * ]
1720
+ * },
1721
+ * "project": {
1722
+ * "avatarUrls": {
1723
+ * "16x16":
1724
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
1725
+ * "24x24":
1726
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
1727
+ * "32x32":
1728
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
1729
+ * "48x48":
1730
+ * "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
1731
+ * },
1732
+ * "id": "10000",
1733
+ * "insight": {
1734
+ * "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
1735
+ * "totalIssueCount": 100
1736
+ * },
1737
+ * "key": "EX",
1738
+ * "name": "Example",
1739
+ * "projectCategory": {
1740
+ * "description": "First Project Category",
1741
+ * "id": "10000",
1742
+ * "name": "FIRST",
1743
+ * "self":
1744
+ * "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
1745
+ * },
1746
+ * "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
1747
+ * "simplified": false,
1748
+ * "style": "classic"
1749
+ * },
1750
+ * "comment": [
1751
+ * {
1752
+ * "author": {
1753
+ * "accountId": "5b10a2844c20165700ede21g",
1754
+ * "active": false,
1755
+ * "displayName": "Mia Krystof",
1756
+ * "self":
1757
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1758
+ * },
1759
+ * "body": {
1760
+ * "type": "doc",
1761
+ * "version": 1,
1762
+ * "content": [
1763
+ * {
1764
+ * "type": "paragraph",
1765
+ * "content": [
1766
+ * {
1767
+ * "type": "text",
1768
+ * "text": "Lorem ipsum dolor sit amet, consectetur adipiscing
1769
+ * elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis
1770
+ * fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper."
1771
+ * }
1772
+ * ]
1773
+ * }
1774
+ * ]
1775
+ * },
1776
+ * "created": "2021-01-17T12:34:00.000+0000",
1777
+ * "id": "10000",
1778
+ * "self":
1779
+ * "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
1780
+ * "updateAuthor": {
1781
+ * "accountId": "5b10a2844c20165700ede21g",
1782
+ * "active": false,
1783
+ * "displayName": "Mia Krystof",
1784
+ * "self":
1785
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1786
+ * },
1787
+ * "updated": "2021-01-18T23:45:00.000+0000",
1788
+ * "visibility": {
1789
+ * "identifier": "Administrators",
1790
+ * "type": "role",
1791
+ * "value": "Administrators"
1792
+ * }
1793
+ * }
1794
+ * ],
1795
+ * "issuelinks": [
1796
+ * {
1797
+ * "id": "10001",
1798
+ * "outwardIssue": {
1799
+ * "fields": {
1800
+ * "status": {
1801
+ * "iconUrl":
1802
+ * "https://your-domain.atlassian.net/images/icons/statuses/open.png",
1803
+ * "name": "Open"
1804
+ * }
1805
+ * },
1806
+ * "id": "10004L",
1807
+ * "key": "PR-2",
1808
+ * "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-2"
1809
+ * },
1810
+ * "type": {
1811
+ * "id": "10000",
1812
+ * "inward": "depends on",
1813
+ * "name": "Dependent",
1814
+ * "outward": "is depended by"
1815
+ * }
1816
+ * },
1817
+ * {
1818
+ * "id": "10002",
1819
+ * "inwardIssue": {
1820
+ * "fields": {
1821
+ * "status": {
1822
+ * "iconUrl":
1823
+ * "https://your-domain.atlassian.net/images/icons/statuses/open.png",
1824
+ * "name": "Open"
1825
+ * }
1826
+ * },
1827
+ * "id": "10004",
1828
+ * "key": "PR-3",
1829
+ * "self": "https://your-domain.atlassian.net/rest/api/3/issue/PR-3"
1830
+ * },
1831
+ * "type": {
1832
+ * "id": "10000",
1833
+ * "inward": "depends on",
1834
+ * "name": "Dependent",
1835
+ * "outward": "is depended by"
1836
+ * }
1837
+ * }
1838
+ * ],
1839
+ * "worklog": [
1840
+ * {
1841
+ * "author": {
1842
+ * "accountId": "5b10a2844c20165700ede21g",
1843
+ * "active": false,
1844
+ * "displayName": "Mia Krystof",
1845
+ * "self":
1846
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1847
+ * },
1848
+ * "comment": {
1849
+ * "type": "doc",
1850
+ * "version": 1,
1851
+ * "content": [
1852
+ * {
1853
+ * "type": "paragraph",
1854
+ * "content": [
1855
+ * {
1856
+ * "type": "text",
1857
+ * "text": "I did some work here."
1858
+ * }
1859
+ * ]
1860
+ * }
1861
+ * ]
1862
+ * },
1863
+ * "id": "100028",
1864
+ * "issueId": "10002",
1865
+ * "self":
1866
+ * "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
1867
+ * "started": "2021-01-17T12:34:00.000+0000",
1868
+ * "timeSpent": "3h 20m",
1869
+ * "timeSpentSeconds": 12000,
1870
+ * "updateAuthor": {
1871
+ * "accountId": "5b10a2844c20165700ede21g",
1872
+ * "active": false,
1873
+ * "displayName": "Mia Krystof",
1874
+ * "self":
1875
+ * "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
1876
+ * },
1877
+ * "updated": "2021-01-18T23:45:00.000+0000",
1878
+ * "visibility": {
1879
+ * "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
1880
+ * "type": "group",
1881
+ * "value": "jira-developers"
1882
+ * }
1883
+ * }
1884
+ * ],
1885
+ * "updated": 1,
1886
+ * "timetracking": {
1887
+ * "originalEstimate": "10m",
1888
+ * "originalEstimateSeconds": 600,
1889
+ * "remainingEstimate": "3m",
1890
+ * "remainingEstimateSeconds": 200,
1891
+ * "timeSpent": "6m",
1892
+ * "timeSpentSeconds": 400
1893
+ * }
1894
+ * },
1895
+ * "id": "10002",
1896
+ * "key": "ED-1",
1897
+ * "self": "https://your-domain.atlassian.net/rest/api/3/issue/10002"
1898
+ * }
1899
+ * @path {GET} /rest/api/3/issue/{issueIdOrKey}
1900
+ * @scopes-current read:jira-work
1901
+ * @scopes-beta read:issue-meta:jira, read:issue-security-level:jira, read:issue.vote:jira,
1902
+ * read:issue.changelog:jira, read:avatar:jira, read:issue:jira, read:status:jira,
1903
+ * read:user:jira, read:field-configuration:jira
1904
+ */
1905
+ getIssue({ issueIdOrKey, fields, fieldsByKeys, expand, properties, updateHistory, }: {
1906
+ /** The ID or key of the issue. */
1907
+ issueIdOrKey: string;
1908
+ /**
1909
+ * A list of fields to return for the issue. This parameter accepts a
1910
+ * comma-separated list. Use it to retrieve a subset of fields. Allowed values:
1911
+ *
1912
+ * * `*all` Returns all fields.
1913
+ * * `*navigable` Returns navigable fields.
1914
+ * * Any issue field, prefixed with a minus to exclude.
1915
+ *
1916
+ * Examples:
1917
+ *
1918
+ * * `summary,comment` Returns only the summary and comments fields.
1919
+ * * `-description` Returns all (default) fields except description.
1920
+ * * `*navigable,-comment` Returns all navigable fields except comment.
1921
+ *
1922
+ * This parameter may be specified multiple times. For example,
1923
+ * `fields=field1,field2& fields=field3`.
1924
+ *
1925
+ * Note: All fields are returned by default. This differs from [Search for issues
1926
+ * using JQL (GET)](#api-rest-api-3-search-get) and [Search for issues using JQL
1927
+ * (POST)](#api-rest-api-3-search-post) where the default is all navigable fields.
1928
+ */
1929
+ fields?: string[];
1930
+ /**
1931
+ * Whether fields in `fields` are referenced by keys rather than IDs. This
1932
+ * parameter is useful where fields have been added by a connect app and a field's
1933
+ * key may differ from its ID.
1934
+ */
1935
+ fieldsByKeys?: boolean;
1936
+ /**
1937
+ * Use [expand](#expansion) to include additional information about the issues in
1938
+ * the response. This parameter accepts a comma-separated list. Expand options
1939
+ * include:
1940
+ *
1941
+ * * `renderedFields` Returns field values rendered in HTML format.
1942
+ * * `names` Returns the display name of each field.
1943
+ * * `schema` Returns the schema describing a field type.
1944
+ * * `transitions` Returns all possible transitions for the issue.
1945
+ * * `editmeta` Returns information about how each field can be edited.
1946
+ * * `changelog` Returns a list of recent updates to an issue, sorted by date,
1947
+ * starting from the most recent.
1948
+ * * `versionedRepresentations` Returns a JSON array for each version of a
1949
+ * field's value, with the highest number representing the most recent version.
1950
+ * Note: When included in the request, the `fields` parameter is ignored.
1951
+ */
1952
+ expand?: string;
1953
+ /**
1954
+ * A list of issue properties to return for the issue. This parameter accepts a
1955
+ * comma-separated list. Allowed values:
1956
+ *
1957
+ * * `*all` Returns all issue properties.
1958
+ * * Any issue property key, prefixed with a minus to exclude.
1959
+ *
1960
+ * Examples:
1961
+ *
1962
+ * * `*all` Returns all properties.
1963
+ * * `*all,-prop1` Returns all properties except `prop1`.
1964
+ * * `prop1,prop2` Returns `prop1` and `prop2` properties.
1965
+ *
1966
+ * This parameter may be specified multiple times. For example,
1967
+ * `properties=prop1,prop2& properties=prop3`.
1968
+ */
1969
+ properties?: string[];
1970
+ /**
1971
+ * Whether the project in which the issue is created is added to the user's
1972
+ * **Recently viewed** project list, as shown under **Projects** in Jira. This
1973
+ * also populates the [JQL issues search](#api-rest-api-3-search-get) `lastViewed`
1974
+ * field.
1975
+ */
1976
+ updateHistory?: boolean;
1977
+ }): Promise<IssueBean>;
1978
+ /**
1979
+ * Returns all issues breaching and approaching per-issue limits.
1980
+ *
1981
+ * **[Permissions](#permissions) required:**
1982
+ *
1983
+ * * *Browse projects* [project
1984
+ * permission](https://confluence.atlassian.com/x/yodKLg) is required for the
1985
+ * project the issues are in. Results may be incomplete otherwise
1986
+ * * *Administer Jira* [global
1987
+ * permission](https://confluence.atlassian.com/x/x4dKLg).
1988
+ *
1989
+ * @returns Returned if the request is successful.
1990
+ *
1991
+ * example: {
1992
+ * "issuesApproachingLimit": {
1993
+ * "attachment": {
1994
+ * "15070": 1822,
1995
+ * "15111": 1999
1996
+ * },
1997
+ * "comment": {
1998
+ * "10000": 4997,
1999
+ * "15073": 4999,
2000
+ * "15110": 5000
2001
+ * },
2002
+ * "remoteIssueLinks": {
2003
+ * "15107": 2000
2004
+ * },
2005
+ * "worklog": {
2006
+ * "15101": 4342
2007
+ * }
2008
+ * },
2009
+ * "issuesBreachingLimit": {
2010
+ * "attachment": {
2011
+ * "15057": 2005,
2012
+ * "15116": 2065,
2013
+ * "15117": 3005
2014
+ * },
2015
+ * "comment": {
2016
+ * "15055": 5202
2017
+ * },
2018
+ * "issuelinks": {
2019
+ * "15058": 2120
2020
+ * },
2021
+ * "remoteIssueLinks": {
2022
+ * "15059": 2094
2023
+ * },
2024
+ * "worklog": {
2025
+ * "15056": 5085,
2026
+ * "15169": 120864
2027
+ * }
2028
+ * },
2029
+ * "limits": {
2030
+ * "attachment": 2000,
2031
+ * "comment": 5000,
2032
+ * "issuelinks": 2000,
2033
+ * "remoteIssueLinks": 2000,
2034
+ * "worklog": 5000
2035
+ * }
2036
+ * }
2037
+ * @path {GET} /rest/api/3/issue/limit/report
2038
+ * @scopes-current read:jira-work
2039
+ * @scopes-beta read:project:jira, read:issue:jira
2040
+ */
2041
+ getIssueLimitReport({ issueLimitReportRequest, }: {
2042
+ issueLimitReportRequest: IssueLimitReportRequest;
2043
+ }): Promise<IssueLimitReportResponseBean>;
2044
+ /**
2045
+ * Returns either all transitions or a transition that can be performed by the
2046
+ * user on an issue, based on the issue's status.
2047
+ *
2048
+ * Note, if a request is made for a transition that does not exist or cannot be
2049
+ * performed on the issue, given its status, the response will return any empty
2050
+ * transitions list.
2051
+ *
2052
+ * This operation can be accessed anonymously.
2053
+ *
2054
+ * **[Permissions](#permissions) required: A list or transition is returned only
2055
+ * when the user has:**
2056
+ *
2057
+ * * *Browse projects* [project
2058
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
2059
+ * issue is in.
2060
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
2061
+ * configured, issue-level security permission to view the issue.
2062
+ *
2063
+ * However, if the user does not have the *Transition issues* [ project
2064
+ * permission](https://confluence.atlassian.com/x/yodKLg) the response will not
2065
+ * list any transitions.
2066
+ *
2067
+ * @returns Returned if the request is successful.
2068
+ *
2069
+ * example: {
2070
+ * "transitions": [
2071
+ * {
2072
+ * "fields": {
2073
+ * "summary": {
2074
+ * "allowedValues": [
2075
+ * "red",
2076
+ * "blue"
2077
+ * ],
2078
+ * "defaultValue": "red",
2079
+ * "hasDefaultValue": false,
2080
+ * "key": "field_key",
2081
+ * "name": "My Multi Select",
2082
+ * "operations": [
2083
+ * "set",
2084
+ * "add"
2085
+ * ],
2086
+ * "required": false,
2087
+ * "schema": {
2088
+ * "custom":
2089
+ * "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
2090
+ * "customId": 10001,
2091
+ * "items": "option",
2092
+ * "type": "array"
2093
+ * }
2094
+ * }
2095
+ * },
2096
+ * "hasScreen": false,
2097
+ * "id": "2",
2098
+ * "isAvailable": true,
2099
+ * "isConditional": false,
2100
+ * "isGlobal": false,
2101
+ * "isInitial": false,
2102
+ * "name": "Close Issue",
2103
+ * "to": {
2104
+ * "description": "The issue is currently being worked on.",
2105
+ * "iconUrl":
2106
+ * "https://your-domain.atlassian.net/images/icons/progress.gif",
2107
+ * "id": "10000",
2108
+ * "name": "In Progress",
2109
+ * "self": "https://your-domain.atlassian.net/rest/api/3/status/10000",
2110
+ * "statusCategory": {
2111
+ * "colorName": "yellow",
2112
+ * "id": 1,
2113
+ * "key": "in-flight",
2114
+ * "name": "In Progress",
2115
+ * "self":
2116
+ * "https://your-domain.atlassian.net/rest/api/3/statuscategory/1"
2117
+ * }
2118
+ * }
2119
+ * },
2120
+ * {
2121
+ * "fields": {
2122
+ * "summary": {
2123
+ * "allowedValues": [
2124
+ * "red",
2125
+ * "blue"
2126
+ * ],
2127
+ * "defaultValue": "red",
2128
+ * "hasDefaultValue": false,
2129
+ * "key": "field_key",
2130
+ * "name": "My Multi Select",
2131
+ * "operations": [
2132
+ * "set",
2133
+ * "add"
2134
+ * ],
2135
+ * "required": false,
2136
+ * "schema": {
2137
+ * "custom":
2138
+ * "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
2139
+ * "customId": 10001,
2140
+ * "items": "option",
2141
+ * "type": "array"
2142
+ * }
2143
+ * },
2144
+ * "colour": {
2145
+ * "allowedValues": [
2146
+ * "red",
2147
+ * "blue"
2148
+ * ],
2149
+ * "defaultValue": "red",
2150
+ * "hasDefaultValue": false,
2151
+ * "key": "field_key",
2152
+ * "name": "My Multi Select",
2153
+ * "operations": [
2154
+ * "set",
2155
+ * "add"
2156
+ * ],
2157
+ * "required": false,
2158
+ * "schema": {
2159
+ * "custom":
2160
+ * "com.atlassian.jira.plugin.system.customfieldtypes:multiselect",
2161
+ * "customId": 10001,
2162
+ * "items": "option",
2163
+ * "type": "array"
2164
+ * }
2165
+ * }
2166
+ * },
2167
+ * "hasScreen": true,
2168
+ * "id": "711",
2169
+ * "name": "QA Review",
2170
+ * "to": {
2171
+ * "description": "The issue is closed.",
2172
+ * "iconUrl": "https://your-domain.atlassian.net/images/icons/closed.gif",
2173
+ * "id": "5",
2174
+ * "name": "Closed",
2175
+ * "self": "https://your-domain.atlassian.net/rest/api/3/status/5",
2176
+ * "statusCategory": {
2177
+ * "colorName": "green",
2178
+ * "id": 9,
2179
+ * "key": "completed",
2180
+ * "self":
2181
+ * "https://your-domain.atlassian.net/rest/api/3/statuscategory/9"
2182
+ * }
2183
+ * }
2184
+ * }
2185
+ * ]
2186
+ * }
2187
+ * @path {GET} /rest/api/3/issue/{issueIdOrKey}/transitions
2188
+ * @scopes-current read:jira-work
2189
+ * @scopes-beta read:issue.transition:jira, read:status:jira, read:field-configuration:jira
2190
+ */
2191
+ getTransitions({ issueIdOrKey, expand, transitionId, skipRemoteOnlyCondition, includeUnavailableTransitions, sortByOpsBarAndStatus, }: {
2192
+ /** The ID or key of the issue. */
2193
+ issueIdOrKey: string;
2194
+ /**
2195
+ * Use [expand](#expansion) to include additional information about transitions in
2196
+ * the response. This parameter accepts `transitions.fields`, which returns
2197
+ * information about the fields in the transition screen for each transition.
2198
+ * Fields hidden from the screen are not returned. Use this information to
2199
+ * populate the `fields` and `update` fields in [Transition
2200
+ * issue](#api-rest-api-3-issue-issueIdOrKey-transitions-post).
2201
+ */
2202
+ expand?: string;
2203
+ /** The ID of the transition. */
2204
+ transitionId?: string;
2205
+ /**
2206
+ * Whether transitions with the condition *Hide From User Condition* are included
2207
+ * in the response.
2208
+ */
2209
+ skipRemoteOnlyCondition?: boolean;
2210
+ /**
2211
+ * Whether details of transitions that fail a condition are included in the
2212
+ * response
2213
+ */
2214
+ includeUnavailableTransitions?: boolean;
2215
+ /**
2216
+ * Whether the transitions are sorted by ops-bar sequence value first then
2217
+ * category order (Todo, In Progress, Done) or only by ops-bar sequence value.
2218
+ */
2219
+ sortByOpsBarAndStatus?: boolean;
2220
+ }): Promise<Transitions>;
2221
+ /**
2222
+ * Creates an email notification for an issue and adds it to the mail queue.
2223
+ *
2224
+ * **[Permissions](#permissions) required:**
2225
+ *
2226
+ * * *Browse Projects* [project
2227
+ * permission](https://confluence.atlassian.com/x/yodKLg) for the project that the
2228
+ * issue is in.
2229
+ * * If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is
2230
+ * configured, issue-level security permission to view the issue.
2231
+ *
2232
+ * @returns Returned if the email is queued for sending.
2233
+ * @path {POST} /rest/api/3/issue/{issueIdOrKey}/notify
2234
+ * @scopes-current write:jira-work
2235
+ * @scopes-beta send:notification:jira
2236
+ */
2237
+ notify({ issueIdOrKey, notification, }: {
2238
+ /** ID or key of the issue that the notification is sent for. */
2239
+ issueIdOrKey: string;
2240
+ /**
2241
+ * The request object for the notification and recipients.
2242
+ *
2243
+ * @example {
2244
+ * "htmlBody": "The <strong>latest</strong> test results for this ticket are
2245
+ * now available.",
2246
+ * "restrict": {
2247
+ * "groupIds": [],
2248
+ * "groups": [
2249
+ * {
2250
+ * "name": "notification-group"
2251
+ * }
2252
+ * ],
2253
+ * "permissions": [
2254
+ * {
2255
+ * "key": "BROWSE"
2256
+ * }
2257
+ * ]
2258
+ * },
2259
+ * "subject": "Latest test results",
2260
+ * "textBody": "The latest test results for this ticket are now available.",
2261
+ * "to": {
2262
+ * "assignee": false,
2263
+ * "groupIds": [],
2264
+ * "groups": [
2265
+ * {
2266
+ * "name": "notification-group"
2267
+ * }
2268
+ * ],
2269
+ * "reporter": false,
2270
+ * "users": [
2271
+ * {
2272
+ * "accountId": "5b10a2844c20165700ede21g",
2273
+ * "active": false
2274
+ * }
2275
+ * ],
2276
+ * "voters": true,
2277
+ * "watchers": true
2278
+ * }
2279
+ * }
2280
+ */
2281
+ notification: Notification;
2282
+ }): Promise<void>;
2283
+ /**
2284
+ * Enables admins to unarchive up to 1000 issues in a single request using issue
2285
+ * ID/key, returning details of the issue(s) unarchived in the process and the
2286
+ * errors encountered, if any.
2287
+ *
2288
+ * **Note that:**
2289
+ *
2290
+ * * you can't unarchive subtasks directly, only through their parent issues
2291
+ * * you can only unarchive issues from software, service management, and
2292
+ * business projects
2293
+ *
2294
+ * **[Permissions](#permissions) required:** Jira admin or site admin: [global
2295
+ * permission](https://confluence.atlassian.com/x/x4dKLg)
2296
+ *
2297
+ * **License required:** Premium or Enterprise
2298
+ *
2299
+ * **Signed-in users only:** This API can't be accessed anonymously.
2300
+ *
2301
+ * @returns Returned if there is at least one valid issue to unarchive in the request. It
2302
+ * will return the count of unarchived issues, which also includes the count of
2303
+ * the subtasks unarchived, and it will show the detailed errors for those issues
2304
+ * which are not unarchived.
2305
+ *
2306
+ * example: {
2307
+ * "errors": {
2308
+ * "issueIsSubtask": {
2309
+ * "count": 3,
2310
+ * "issueIdsOrKeys": [
2311
+ * "ST-1",
2312
+ * "ST-2",
2313
+ * "ST-3"
2314
+ * ],
2315
+ * "message": "Issue is subtask."
2316
+ * },
2317
+ * "issuesInArchivedProjects": {
2318
+ * "count": 2,
2319
+ * "issueIdsOrKeys": [
2320
+ * "AR-1",
2321
+ * "AR-2"
2322
+ * ],
2323
+ * "message": "Issue exists in archived project."
2324
+ * },
2325
+ * "issuesNotFound": {
2326
+ * "count": 3,
2327
+ * "issueIdsOrKeys": [
2328
+ * "PR-1",
2329
+ * "PR-2",
2330
+ * "PR-3"
2331
+ * ],
2332
+ * "message": "Issue not found."
2333
+ * }
2334
+ * },
2335
+ * "numberOfIssuesUpdated": 10
2336
+ * }
2337
+ * @path {PUT} /rest/api/3/issue/unarchive
2338
+ * @scopes-current write:jira-work
2339
+ * @scopes-beta write:issue:jira
2340
+ */
2341
+ unarchiveIssues({ issueArchivalSyncRequest, }: {
2342
+ /**
2343
+ * Contains a list of issue keys or IDs to be unarchived.
2344
+ *
2345
+ * @example {
2346
+ * "issueIdsOrKeys": [
2347
+ * "PR-1",
2348
+ * "1001",
2349
+ * "PROJECT-2"
2350
+ * ]
2351
+ * }
2352
+ */
2353
+ issueArchivalSyncRequest: IssueArchivalSyncRequest;
2354
+ }): Promise<IssueArchivalSyncResponse>;
2355
+ static initialize(): void;
2356
+ }