@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.
- package/.eslintrc.js +3 -0
- package/CHANGELOG.md +11 -0
- package/LICENSE.md +19 -0
- package/README.md +12 -0
- package/config/api-typescript-generator.config.ts +91 -0
- package/config/compare-schemas.ts +307 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.js +25 -0
- package/lib/index.js.map +1 -0
- package/lib/openapi/platform/base-jira-platform-api-client.d.ts +868 -0
- package/lib/openapi/platform/base-jira-platform-api-client.js +808 -0
- package/lib/openapi/platform/base-jira-platform-api-client.js.map +1 -0
- package/lib/openapi/platform/core/common-http-client.d.ts +196 -0
- package/lib/openapi/platform/core/common-http-client.js +390 -0
- package/lib/openapi/platform/core/common-http-client.js.map +1 -0
- package/lib/openapi/platform/core/common-http-service.d.ts +7 -0
- package/lib/openapi/platform/core/common-http-service.js +20 -0
- package/lib/openapi/platform/core/common-http-service.js.map +1 -0
- package/lib/openapi/platform/core/common-validation-schema-storage.d.ts +35 -0
- package/lib/openapi/platform/core/common-validation-schema-storage.js +65 -0
- package/lib/openapi/platform/core/common-validation-schema-storage.js.map +1 -0
- package/lib/openapi/platform/models/announcement-banner.d.ts +27 -0
- package/lib/openapi/platform/models/announcement-banner.js +30 -0
- package/lib/openapi/platform/models/announcement-banner.js.map +1 -0
- package/lib/openapi/platform/models/app-data-policies.d.ts +31 -0
- package/lib/openapi/platform/models/app-data-policies.js +40 -0
- package/lib/openapi/platform/models/app-data-policies.js.map +1 -0
- package/lib/openapi/platform/models/app-migration.d.ts +86 -0
- package/lib/openapi/platform/models/app-migration.js +67 -0
- package/lib/openapi/platform/models/app-migration.js.map +1 -0
- package/lib/openapi/platform/models/app-properties.d.ts +15 -0
- package/lib/openapi/platform/models/app-properties.js +18 -0
- package/lib/openapi/platform/models/app-properties.js.map +1 -0
- package/lib/openapi/platform/models/audit-records.d.ts +70 -0
- package/lib/openapi/platform/models/audit-records.js +62 -0
- package/lib/openapi/platform/models/audit-records.js.map +1 -0
- package/lib/openapi/platform/models/avatars.d.ts +18 -0
- package/lib/openapi/platform/models/avatars.js +27 -0
- package/lib/openapi/platform/models/avatars.js.map +1 -0
- package/lib/openapi/platform/models/classification-levels.d.ts +25 -0
- package/lib/openapi/platform/models/classification-levels.js +31 -0
- package/lib/openapi/platform/models/classification-levels.js.map +1 -0
- package/lib/openapi/platform/models/common.d.ts +1490 -0
- package/lib/openapi/platform/models/common.js +937 -0
- package/lib/openapi/platform/models/common.js.map +1 -0
- package/lib/openapi/platform/models/dashboards.d.ts +414 -0
- package/lib/openapi/platform/models/dashboards.js +325 -0
- package/lib/openapi/platform/models/dashboards.js.map +1 -0
- package/lib/openapi/platform/models/dynamic-modules.d.ts +92 -0
- package/lib/openapi/platform/models/dynamic-modules.js +24 -0
- package/lib/openapi/platform/models/dynamic-modules.js.map +1 -0
- package/lib/openapi/platform/models/filter-sharing.d.ts +59 -0
- package/lib/openapi/platform/models/filter-sharing.js +36 -0
- package/lib/openapi/platform/models/filter-sharing.js.map +1 -0
- package/lib/openapi/platform/models/filters.d.ts +183 -0
- package/lib/openapi/platform/models/filters.js +115 -0
- package/lib/openapi/platform/models/filters.js.map +1 -0
- package/lib/openapi/platform/models/group-and-user-picker.d.ts +49 -0
- package/lib/openapi/platform/models/group-and-user-picker.js +31 -0
- package/lib/openapi/platform/models/group-and-user-picker.js.map +1 -0
- package/lib/openapi/platform/models/groups.d.ts +127 -0
- package/lib/openapi/platform/models/groups.js +98 -0
- package/lib/openapi/platform/models/groups.js.map +1 -0
- package/lib/openapi/platform/models/issue-attachments.d.ts +124 -0
- package/lib/openapi/platform/models/issue-attachments.js +129 -0
- package/lib/openapi/platform/models/issue-attachments.js.map +1 -0
- package/lib/openapi/platform/models/issue-comment-properties.d.ts +10 -0
- package/lib/openapi/platform/models/issue-comment-properties.js +18 -0
- package/lib/openapi/platform/models/issue-comment-properties.js.map +1 -0
- package/lib/openapi/platform/models/issue-comments.d.ts +36 -0
- package/lib/openapi/platform/models/issue-comments.js +49 -0
- package/lib/openapi/platform/models/issue-comments.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-configuration-apps.d.ts +36 -0
- package/lib/openapi/platform/models/issue-custom-field-configuration-apps.js +53 -0
- package/lib/openapi/platform/models/issue-custom-field-configuration-apps.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-contexts.d.ts +417 -0
- package/lib/openapi/platform/models/issue-custom-field-contexts.js +458 -0
- package/lib/openapi/platform/models/issue-custom-field-contexts.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-options-apps.d.ts +119 -0
- package/lib/openapi/platform/models/issue-custom-field-options-apps.js +133 -0
- package/lib/openapi/platform/models/issue-custom-field-options-apps.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-options.d.ts +136 -0
- package/lib/openapi/platform/models/issue-custom-field-options.js +115 -0
- package/lib/openapi/platform/models/issue-custom-field-options.js.map +1 -0
- package/lib/openapi/platform/models/issue-custom-field-values-apps.d.ts +66 -0
- package/lib/openapi/platform/models/issue-custom-field-values-apps.js +42 -0
- package/lib/openapi/platform/models/issue-custom-field-values-apps.js.map +1 -0
- package/lib/openapi/platform/models/issue-field-configurations.d.ts +194 -0
- package/lib/openapi/platform/models/issue-field-configurations.js +182 -0
- package/lib/openapi/platform/models/issue-field-configurations.js.map +1 -0
- package/lib/openapi/platform/models/issue-fields.d.ts +227 -0
- package/lib/openapi/platform/models/issue-fields.js +119 -0
- package/lib/openapi/platform/models/issue-fields.js.map +1 -0
- package/lib/openapi/platform/models/issue-link-types.d.ts +9 -0
- package/lib/openapi/platform/models/issue-link-types.js +21 -0
- package/lib/openapi/platform/models/issue-link-types.js.map +1 -0
- package/lib/openapi/platform/models/issue-links.d.ts +90 -0
- package/lib/openapi/platform/models/issue-links.js +74 -0
- package/lib/openapi/platform/models/issue-links.js.map +1 -0
- package/lib/openapi/platform/models/issue-notification-schemes.d.ts +158 -0
- package/lib/openapi/platform/models/issue-notification-schemes.js +147 -0
- package/lib/openapi/platform/models/issue-notification-schemes.js.map +1 -0
- package/lib/openapi/platform/models/issue-priorities.d.ts +74 -0
- package/lib/openapi/platform/models/issue-priorities.js +89 -0
- package/lib/openapi/platform/models/issue-priorities.js.map +1 -0
- package/lib/openapi/platform/models/issue-properties.d.ts +80 -0
- package/lib/openapi/platform/models/issue-properties.js +158 -0
- package/lib/openapi/platform/models/issue-properties.js.map +1 -0
- package/lib/openapi/platform/models/issue-remote-links.d.ts +120 -0
- package/lib/openapi/platform/models/issue-remote-links.js +70 -0
- package/lib/openapi/platform/models/issue-remote-links.js.map +1 -0
- package/lib/openapi/platform/models/issue-resolutions.d.ts +81 -0
- package/lib/openapi/platform/models/issue-resolutions.js +79 -0
- package/lib/openapi/platform/models/issue-resolutions.js.map +1 -0
- package/lib/openapi/platform/models/issue-search.d.ts +196 -0
- package/lib/openapi/platform/models/issue-search.js +136 -0
- package/lib/openapi/platform/models/issue-search.js.map +1 -0
- package/lib/openapi/platform/models/issue-security-level.d.ts +36 -0
- package/lib/openapi/platform/models/issue-security-level.js +36 -0
- package/lib/openapi/platform/models/issue-security-level.js.map +1 -0
- package/lib/openapi/platform/models/issue-security-schemes.d.ts +214 -0
- package/lib/openapi/platform/models/issue-security-schemes.js +211 -0
- package/lib/openapi/platform/models/issue-security-schemes.js.map +1 -0
- package/lib/openapi/platform/models/issue-type-schemes.d.ts +146 -0
- package/lib/openapi/platform/models/issue-type-schemes.js +115 -0
- package/lib/openapi/platform/models/issue-type-schemes.js.map +1 -0
- package/lib/openapi/platform/models/issue-type-screen-schemes.d.ts +139 -0
- package/lib/openapi/platform/models/issue-type-screen-schemes.js +109 -0
- package/lib/openapi/platform/models/issue-type-screen-schemes.js.map +1 -0
- package/lib/openapi/platform/models/issue-types.d.ts +36 -0
- package/lib/openapi/platform/models/issue-types.js +28 -0
- package/lib/openapi/platform/models/issue-types.js.map +1 -0
- package/lib/openapi/platform/models/issue-votes.d.ts +18 -0
- package/lib/openapi/platform/models/issue-votes.js +22 -0
- package/lib/openapi/platform/models/issue-votes.js.map +1 -0
- package/lib/openapi/platform/models/issue-watchers.d.ts +27 -0
- package/lib/openapi/platform/models/issue-watchers.js +36 -0
- package/lib/openapi/platform/models/issue-watchers.js.map +1 -0
- package/lib/openapi/platform/models/issue-worklogs.d.ts +93 -0
- package/lib/openapi/platform/models/issue-worklogs.js +80 -0
- package/lib/openapi/platform/models/issue-worklogs.js.map +1 -0
- package/lib/openapi/platform/models/issues.d.ts +583 -0
- package/lib/openapi/platform/models/issues.js +545 -0
- package/lib/openapi/platform/models/issues.js.map +1 -0
- package/lib/openapi/platform/models/jira-expressions.d.ts +329 -0
- package/lib/openapi/platform/models/jira-expressions.js +180 -0
- package/lib/openapi/platform/models/jira-expressions.js.map +1 -0
- package/lib/openapi/platform/models/jira-settings.d.ts +62 -0
- package/lib/openapi/platform/models/jira-settings.js +49 -0
- package/lib/openapi/platform/models/jira-settings.js.map +1 -0
- package/lib/openapi/platform/models/jql-functions-apps.d.ts +61 -0
- package/lib/openapi/platform/models/jql-functions-apps.js +57 -0
- package/lib/openapi/platform/models/jql-functions-apps.js.map +1 -0
- package/lib/openapi/platform/models/jql.d.ts +348 -0
- package/lib/openapi/platform/models/jql.js +309 -0
- package/lib/openapi/platform/models/jql.js.map +1 -0
- package/lib/openapi/platform/models/labels.d.ts +20 -0
- package/lib/openapi/platform/models/labels.js +23 -0
- package/lib/openapi/platform/models/labels.js.map +1 -0
- package/lib/openapi/platform/models/license-metrics.d.ts +27 -0
- package/lib/openapi/platform/models/license-metrics.js +32 -0
- package/lib/openapi/platform/models/license-metrics.js.map +1 -0
- package/lib/openapi/platform/models/myself.d.ts +13 -0
- package/lib/openapi/platform/models/myself.js +17 -0
- package/lib/openapi/platform/models/myself.js.map +1 -0
- package/lib/openapi/platform/models/permission-schemes.d.ts +42 -0
- package/lib/openapi/platform/models/permission-schemes.js +39 -0
- package/lib/openapi/platform/models/permission-schemes.js.map +1 -0
- package/lib/openapi/platform/models/permissions.d.ts +97 -0
- package/lib/openapi/platform/models/permissions.js +176 -0
- package/lib/openapi/platform/models/permissions.js.map +1 -0
- package/lib/openapi/platform/models/priority-schemes.d.ts +233 -0
- package/lib/openapi/platform/models/priority-schemes.js +227 -0
- package/lib/openapi/platform/models/priority-schemes.js.map +1 -0
- package/lib/openapi/platform/models/project-avatars.d.ts +11 -0
- package/lib/openapi/platform/models/project-avatars.js +20 -0
- package/lib/openapi/platform/models/project-avatars.js.map +1 -0
- package/lib/openapi/platform/models/project-classification-levels.d.ts +8 -0
- package/lib/openapi/platform/models/project-classification-levels.js +17 -0
- package/lib/openapi/platform/models/project-classification-levels.js.map +1 -0
- package/lib/openapi/platform/models/project-components.d.ts +122 -0
- package/lib/openapi/platform/models/project-components.js +91 -0
- package/lib/openapi/platform/models/project-components.js.map +1 -0
- package/lib/openapi/platform/models/project-email.d.ts +10 -0
- package/lib/openapi/platform/models/project-email.js +18 -0
- package/lib/openapi/platform/models/project-email.js.map +1 -0
- package/lib/openapi/platform/models/project-features.d.ts +35 -0
- package/lib/openapi/platform/models/project-features.js +38 -0
- package/lib/openapi/platform/models/project-features.js.map +1 -0
- package/lib/openapi/platform/models/project-permission-schemes.d.ts +17 -0
- package/lib/openapi/platform/models/project-permission-schemes.js +25 -0
- package/lib/openapi/platform/models/project-permission-schemes.js.map +1 -0
- package/lib/openapi/platform/models/project-role-actors.d.ts +65 -0
- package/lib/openapi/platform/models/project-role-actors.js +37 -0
- package/lib/openapi/platform/models/project-role-actors.js.map +1 -0
- package/lib/openapi/platform/models/project-roles.d.ts +41 -0
- package/lib/openapi/platform/models/project-roles.js +34 -0
- package/lib/openapi/platform/models/project-roles.js.map +1 -0
- package/lib/openapi/platform/models/project-types.d.ts +16 -0
- package/lib/openapi/platform/models/project-types.js +21 -0
- package/lib/openapi/platform/models/project-types.js.map +1 -0
- package/lib/openapi/platform/models/project-versions.d.ts +110 -0
- package/lib/openapi/platform/models/project-versions.js +87 -0
- package/lib/openapi/platform/models/project-versions.js.map +1 -0
- package/lib/openapi/platform/models/projects.d.ts +216 -0
- package/lib/openapi/platform/models/projects.js +149 -0
- package/lib/openapi/platform/models/projects.js.map +1 -0
- package/lib/openapi/platform/models/screen-schemes.d.ts +94 -0
- package/lib/openapi/platform/models/screen-schemes.js +79 -0
- package/lib/openapi/platform/models/screen-schemes.js.map +1 -0
- package/lib/openapi/platform/models/screen-tab-fields.d.ts +19 -0
- package/lib/openapi/platform/models/screen-tab-fields.js +24 -0
- package/lib/openapi/platform/models/screen-tab-fields.js.map +1 -0
- package/lib/openapi/platform/models/screens.d.ts +82 -0
- package/lib/openapi/platform/models/screens.js +72 -0
- package/lib/openapi/platform/models/screens.js.map +1 -0
- package/lib/openapi/platform/models/server-info.d.ts +51 -0
- package/lib/openapi/platform/models/server-info.js +47 -0
- package/lib/openapi/platform/models/server-info.js.map +1 -0
- package/lib/openapi/platform/models/service-registry.d.ts +32 -0
- package/lib/openapi/platform/models/service-registry.js +34 -0
- package/lib/openapi/platform/models/service-registry.js.map +1 -0
- package/lib/openapi/platform/models/status.d.ts +95 -0
- package/lib/openapi/platform/models/status.js +107 -0
- package/lib/openapi/platform/models/status.js.map +1 -0
- package/lib/openapi/platform/models/time-tracking.d.ts +20 -0
- package/lib/openapi/platform/models/time-tracking.js +19 -0
- package/lib/openapi/platform/models/time-tracking.js.map +1 -0
- package/lib/openapi/platform/models/ui-modifications-apps.d.ts +127 -0
- package/lib/openapi/platform/models/ui-modifications-apps.js +85 -0
- package/lib/openapi/platform/models/ui-modifications-apps.js.map +1 -0
- package/lib/openapi/platform/models/user-search.d.ts +37 -0
- package/lib/openapi/platform/models/user-search.js +30 -0
- package/lib/openapi/platform/models/user-search.js.map +1 -0
- package/lib/openapi/platform/models/users.d.ts +60 -0
- package/lib/openapi/platform/models/users.js +53 -0
- package/lib/openapi/platform/models/users.js.map +1 -0
- package/lib/openapi/platform/models/webhooks.d.ts +147 -0
- package/lib/openapi/platform/models/webhooks.js +112 -0
- package/lib/openapi/platform/models/webhooks.js.map +1 -0
- package/lib/openapi/platform/models/workflow-scheme-drafts.d.ts +17 -0
- package/lib/openapi/platform/models/workflow-scheme-drafts.js +37 -0
- package/lib/openapi/platform/models/workflow-scheme-drafts.js.map +1 -0
- package/lib/openapi/platform/models/workflow-scheme-project-associations.d.ts +29 -0
- package/lib/openapi/platform/models/workflow-scheme-project-associations.js +33 -0
- package/lib/openapi/platform/models/workflow-scheme-project-associations.js.map +1 -0
- package/lib/openapi/platform/models/workflow-schemes.d.ts +217 -0
- package/lib/openapi/platform/models/workflow-schemes.js +261 -0
- package/lib/openapi/platform/models/workflow-schemes.js.map +1 -0
- package/lib/openapi/platform/models/workflow-transition-properties.d.ts +15 -0
- package/lib/openapi/platform/models/workflow-transition-properties.js +19 -0
- package/lib/openapi/platform/models/workflow-transition-properties.js.map +1 -0
- package/lib/openapi/platform/models/workflow-transition-rules.d.ts +106 -0
- package/lib/openapi/platform/models/workflow-transition-rules.js +117 -0
- package/lib/openapi/platform/models/workflow-transition-rules.js.map +1 -0
- package/lib/openapi/platform/models/workflows.d.ts +848 -0
- package/lib/openapi/platform/models/workflows.js +824 -0
- package/lib/openapi/platform/models/workflows.js.map +1 -0
- package/lib/openapi/platform/services/announcement-banner-service.d.ts +49 -0
- package/lib/openapi/platform/services/announcement-banner-service.js +99 -0
- package/lib/openapi/platform/services/announcement-banner-service.js.map +1 -0
- package/lib/openapi/platform/services/app-data-policies-service.d.ts +44 -0
- package/lib/openapi/platform/services/app-data-policies-service.js +101 -0
- package/lib/openapi/platform/services/app-data-policies-service.js.map +1 -0
- package/lib/openapi/platform/services/app-migration-service.d.ts +152 -0
- package/lib/openapi/platform/services/app-migration-service.js +178 -0
- package/lib/openapi/platform/services/app-migration-service.js.map +1 -0
- package/lib/openapi/platform/services/app-properties-service.d.ts +184 -0
- package/lib/openapi/platform/services/app-properties-service.js +325 -0
- package/lib/openapi/platform/services/app-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/application-roles-service.d.ts +158 -0
- package/lib/openapi/platform/services/application-roles-service.js +209 -0
- package/lib/openapi/platform/services/application-roles-service.js.map +1 -0
- package/lib/openapi/platform/services/audit-records-service.d.ts +101 -0
- package/lib/openapi/platform/services/audit-records-service.js +125 -0
- package/lib/openapi/platform/services/audit-records-service.js.map +1 -0
- package/lib/openapi/platform/services/avatars-service.d.ts +363 -0
- package/lib/openapi/platform/services/avatars-service.js +523 -0
- package/lib/openapi/platform/services/avatars-service.js.map +1 -0
- package/lib/openapi/platform/services/classification-levels-service.d.ts +72 -0
- package/lib/openapi/platform/services/classification-levels-service.js +104 -0
- package/lib/openapi/platform/services/classification-levels-service.js.map +1 -0
- package/lib/openapi/platform/services/dashboards-service.d.ts +918 -0
- package/lib/openapi/platform/services/dashboards-service.js +1109 -0
- package/lib/openapi/platform/services/dashboards-service.js.map +1 -0
- package/lib/openapi/platform/services/dynamic-modules-service.d.ts +50 -0
- package/lib/openapi/platform/services/dynamic-modules-service.js +96 -0
- package/lib/openapi/platform/services/dynamic-modules-service.js.map +1 -0
- package/lib/openapi/platform/services/filter-sharing-service.d.ts +446 -0
- package/lib/openapi/platform/services/filter-sharing-service.js +565 -0
- package/lib/openapi/platform/services/filter-sharing-service.js.map +1 -0
- package/lib/openapi/platform/services/filters-service.d.ts +1320 -0
- package/lib/openapi/platform/services/filters-service.js +1351 -0
- package/lib/openapi/platform/services/filters-service.js.map +1 -0
- package/lib/openapi/platform/services/group-and-user-picker-service.d.ts +132 -0
- package/lib/openapi/platform/services/group-and-user-picker-service.js +140 -0
- package/lib/openapi/platform/services/group-and-user-picker-service.js.map +1 -0
- package/lib/openapi/platform/services/groups-service.d.ts +411 -0
- package/lib/openapi/platform/services/groups-service.js +448 -0
- package/lib/openapi/platform/services/groups-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-attachments-service.d.ts +549 -0
- package/lib/openapi/platform/services/issue-attachments-service.js +724 -0
- package/lib/openapi/platform/services/issue-attachments-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-comment-properties-service.d.ts +149 -0
- package/lib/openapi/platform/services/issue-comment-properties-service.js +239 -0
- package/lib/openapi/platform/services/issue-comment-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-comments-service.d.ts +528 -0
- package/lib/openapi/platform/services/issue-comments-service.js +563 -0
- package/lib/openapi/platform/services/issue-comments-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.d.ts +155 -0
- package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.js +163 -0
- package/lib/openapi/platform/services/issue-custom-field-configuration-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-contexts-service.d.ts +659 -0
- package/lib/openapi/platform/services/issue-custom-field-contexts-service.js +854 -0
- package/lib/openapi/platform/services/issue-custom-field-contexts-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-options-apps-service.d.ts +615 -0
- package/lib/openapi/platform/services/issue-custom-field-options-apps-service.js +605 -0
- package/lib/openapi/platform/services/issue-custom-field-options-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-options-service.d.ts +339 -0
- package/lib/openapi/platform/services/issue-custom-field-options-service.js +420 -0
- package/lib/openapi/platform/services/issue-custom-field-options-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-custom-field-values-apps-service.d.ts +90 -0
- package/lib/openapi/platform/services/issue-custom-field-values-apps-service.js +117 -0
- package/lib/openapi/platform/services/issue-custom-field-values-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-field-configurations-service.d.ts +561 -0
- package/lib/openapi/platform/services/issue-field-configurations-service.js +801 -0
- package/lib/openapi/platform/services/issue-field-configurations-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-fields-service.d.ts +420 -0
- package/lib/openapi/platform/services/issue-fields-service.js +555 -0
- package/lib/openapi/platform/services/issue-fields-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-link-types-service.d.ts +165 -0
- package/lib/openapi/platform/services/issue-link-types-service.js +263 -0
- package/lib/openapi/platform/services/issue-link-types-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-links-service.d.ts +237 -0
- package/lib/openapi/platform/services/issue-links-service.js +264 -0
- package/lib/openapi/platform/services/issue-links-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-navigator-settings-service.d.ts +55 -0
- package/lib/openapi/platform/services/issue-navigator-settings-service.js +97 -0
- package/lib/openapi/platform/services/issue-navigator-settings-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-notification-schemes-service.d.ts +809 -0
- package/lib/openapi/platform/services/issue-notification-schemes-service.js +917 -0
- package/lib/openapi/platform/services/issue-notification-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-priorities-service.d.ts +238 -0
- package/lib/openapi/platform/services/issue-priorities-service.js +372 -0
- package/lib/openapi/platform/services/issue-priorities-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-properties-service.d.ts +368 -0
- package/lib/openapi/platform/services/issue-properties-service.js +439 -0
- package/lib/openapi/platform/services/issue-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-remote-links-service.d.ts +351 -0
- package/lib/openapi/platform/services/issue-remote-links-service.js +429 -0
- package/lib/openapi/platform/services/issue-remote-links-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-resolutions-service.d.ts +202 -0
- package/lib/openapi/platform/services/issue-resolutions-service.js +346 -0
- package/lib/openapi/platform/services/issue-resolutions-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-search-service.d.ts +887 -0
- package/lib/openapi/platform/services/issue-search-service.js +878 -0
- package/lib/openapi/platform/services/issue-search-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-security-level-service.d.ts +136 -0
- package/lib/openapi/platform/services/issue-security-level-service.js +174 -0
- package/lib/openapi/platform/services/issue-security-level-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-security-schemes-service.d.ts +530 -0
- package/lib/openapi/platform/services/issue-security-schemes-service.js +721 -0
- package/lib/openapi/platform/services/issue-security-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-type-properties-service.d.ts +150 -0
- package/lib/openapi/platform/services/issue-type-properties-service.js +227 -0
- package/lib/openapi/platform/services/issue-type-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-type-schemes-service.d.ts +460 -0
- package/lib/openapi/platform/services/issue-type-schemes-service.js +615 -0
- package/lib/openapi/platform/services/issue-type-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-type-screen-schemes-service.d.ts +442 -0
- package/lib/openapi/platform/services/issue-type-screen-schemes-service.js +606 -0
- package/lib/openapi/platform/services/issue-type-screen-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-types-service.d.ts +343 -0
- package/lib/openapi/platform/services/issue-types-service.js +495 -0
- package/lib/openapi/platform/services/issue-types-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-votes-service.d.ts +117 -0
- package/lib/openapi/platform/services/issue-votes-service.js +179 -0
- package/lib/openapi/platform/services/issue-votes-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-watchers-service.d.ts +168 -0
- package/lib/openapi/platform/services/issue-watchers-service.js +236 -0
- package/lib/openapi/platform/services/issue-watchers-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-worklog-properties-service.d.ts +165 -0
- package/lib/openapi/platform/services/issue-worklog-properties-service.js +251 -0
- package/lib/openapi/platform/services/issue-worklog-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/issue-worklogs-service.d.ts +694 -0
- package/lib/openapi/platform/services/issue-worklogs-service.js +701 -0
- package/lib/openapi/platform/services/issue-worklogs-service.js.map +1 -0
- package/lib/openapi/platform/services/issues-service.d.ts +2356 -0
- package/lib/openapi/platform/services/issues-service.js +2022 -0
- package/lib/openapi/platform/services/issues-service.js.map +1 -0
- package/lib/openapi/platform/services/jira-expressions-service.d.ts +298 -0
- package/lib/openapi/platform/services/jira-expressions-service.js +272 -0
- package/lib/openapi/platform/services/jira-expressions-service.js.map +1 -0
- package/lib/openapi/platform/services/jira-settings-service.d.ts +236 -0
- package/lib/openapi/platform/services/jira-settings-service.js +325 -0
- package/lib/openapi/platform/services/jira-settings-service.js.map +1 -0
- package/lib/openapi/platform/services/jql-functions-apps-service.d.ts +113 -0
- package/lib/openapi/platform/services/jql-functions-apps-service.js +142 -0
- package/lib/openapi/platform/services/jql-functions-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/jql-service.d.ts +623 -0
- package/lib/openapi/platform/services/jql-service.js +697 -0
- package/lib/openapi/platform/services/jql-service.js.map +1 -0
- package/lib/openapi/platform/services/labels-service.d.ts +34 -0
- package/lib/openapi/platform/services/labels-service.js +67 -0
- package/lib/openapi/platform/services/labels-service.js.map +1 -0
- package/lib/openapi/platform/services/license-metrics-service.d.ts +82 -0
- package/lib/openapi/platform/services/license-metrics-service.js +160 -0
- package/lib/openapi/platform/services/license-metrics-service.js.map +1 -0
- package/lib/openapi/platform/services/myself-service.d.ts +254 -0
- package/lib/openapi/platform/services/myself-service.js +382 -0
- package/lib/openapi/platform/services/myself-service.js.map +1 -0
- package/lib/openapi/platform/services/permission-schemes-service.d.ts +554 -0
- package/lib/openapi/platform/services/permission-schemes-service.js +613 -0
- package/lib/openapi/platform/services/permission-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/permissions-service.d.ts +214 -0
- package/lib/openapi/platform/services/permissions-service.js +281 -0
- package/lib/openapi/platform/services/permissions-service.js.map +1 -0
- package/lib/openapi/platform/services/priority-schemes-service.d.ts +578 -0
- package/lib/openapi/platform/services/priority-schemes-service.js +655 -0
- package/lib/openapi/platform/services/priority-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/project-avatars-service.d.ts +170 -0
- package/lib/openapi/platform/services/project-avatars-service.js +254 -0
- package/lib/openapi/platform/services/project-avatars-service.js.map +1 -0
- package/lib/openapi/platform/services/project-categories-service.d.ts +128 -0
- package/lib/openapi/platform/services/project-categories-service.js +226 -0
- package/lib/openapi/platform/services/project-categories-service.js.map +1 -0
- package/lib/openapi/platform/services/project-classification-levels-service.d.ts +90 -0
- package/lib/openapi/platform/services/project-classification-levels-service.js +161 -0
- package/lib/openapi/platform/services/project-classification-levels-service.js.map +1 -0
- package/lib/openapi/platform/services/project-components-service.d.ts +955 -0
- package/lib/openapi/platform/services/project-components-service.js +1075 -0
- package/lib/openapi/platform/services/project-components-service.js.map +1 -0
- package/lib/openapi/platform/services/project-email-service.d.ts +60 -0
- package/lib/openapi/platform/services/project-email-service.js +113 -0
- package/lib/openapi/platform/services/project-email-service.js.map +1 -0
- package/lib/openapi/platform/services/project-features-service.d.ts +103 -0
- package/lib/openapi/platform/services/project-features-service.js +155 -0
- package/lib/openapi/platform/services/project-features-service.js.map +1 -0
- package/lib/openapi/platform/services/project-key-and-name-validation-service.d.ts +59 -0
- package/lib/openapi/platform/services/project-key-and-name-validation-service.js +135 -0
- package/lib/openapi/platform/services/project-key-and-name-validation-service.js.map +1 -0
- package/lib/openapi/platform/services/project-permission-schemes-service.d.ts +179 -0
- package/lib/openapi/platform/services/project-permission-schemes-service.js +255 -0
- package/lib/openapi/platform/services/project-permission-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/project-properties-service.d.ts +147 -0
- package/lib/openapi/platform/services/project-properties-service.js +224 -0
- package/lib/openapi/platform/services/project-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/project-role-actors-service.d.ts +351 -0
- package/lib/openapi/platform/services/project-role-actors-service.js +413 -0
- package/lib/openapi/platform/services/project-role-actors-service.js.map +1 -0
- package/lib/openapi/platform/services/project-roles-service.d.ts +484 -0
- package/lib/openapi/platform/services/project-roles-service.js +647 -0
- package/lib/openapi/platform/services/project-roles-service.js.map +1 -0
- package/lib/openapi/platform/services/project-types-service.d.ts +121 -0
- package/lib/openapi/platform/services/project-types-service.js +220 -0
- package/lib/openapi/platform/services/project-types-service.js.map +1 -0
- package/lib/openapi/platform/services/project-versions-service.d.ts +632 -0
- package/lib/openapi/platform/services/project-versions-service.js +852 -0
- package/lib/openapi/platform/services/project-versions-service.js.map +1 -0
- package/lib/openapi/platform/services/projects-service.d.ts +1622 -0
- package/lib/openapi/platform/services/projects-service.js +1686 -0
- package/lib/openapi/platform/services/projects-service.js.map +1 -0
- package/lib/openapi/platform/services/screen-schemes-service.d.ts +166 -0
- package/lib/openapi/platform/services/screen-schemes-service.js +216 -0
- package/lib/openapi/platform/services/screen-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/screen-tab-fields-service.d.ts +103 -0
- package/lib/openapi/platform/services/screen-tab-fields-service.js +181 -0
- package/lib/openapi/platform/services/screen-tab-fields-service.js.map +1 -0
- package/lib/openapi/platform/services/screen-tabs-service.d.ts +164 -0
- package/lib/openapi/platform/services/screen-tabs-service.js +278 -0
- package/lib/openapi/platform/services/screen-tabs-service.js.map +1 -0
- package/lib/openapi/platform/services/screens-service.d.ts +226 -0
- package/lib/openapi/platform/services/screens-service.js +346 -0
- package/lib/openapi/platform/services/screens-service.js.map +1 -0
- package/lib/openapi/platform/services/server-info-service.d.ts +40 -0
- package/lib/openapi/platform/services/server-info-service.js +74 -0
- package/lib/openapi/platform/services/server-info-service.js.map +1 -0
- package/lib/openapi/platform/services/service-registry-service.d.ts +32 -0
- package/lib/openapi/platform/services/service-registry-service.js +60 -0
- package/lib/openapi/platform/services/service-registry-service.js.map +1 -0
- package/lib/openapi/platform/services/status-service.d.ts +268 -0
- package/lib/openapi/platform/services/status-service.js +321 -0
- package/lib/openapi/platform/services/status-service.js.map +1 -0
- package/lib/openapi/platform/services/tasks-service.d.ts +71 -0
- package/lib/openapi/platform/services/tasks-service.js +126 -0
- package/lib/openapi/platform/services/tasks-service.js.map +1 -0
- package/lib/openapi/platform/services/time-tracking-service.d.ts +140 -0
- package/lib/openapi/platform/services/time-tracking-service.js +260 -0
- package/lib/openapi/platform/services/time-tracking-service.js.map +1 -0
- package/lib/openapi/platform/services/ui-modifications-apps-service.d.ts +212 -0
- package/lib/openapi/platform/services/ui-modifications-apps-service.js +262 -0
- package/lib/openapi/platform/services/ui-modifications-apps-service.js.map +1 -0
- package/lib/openapi/platform/services/user-properties-service.d.ts +218 -0
- package/lib/openapi/platform/services/user-properties-service.js +254 -0
- package/lib/openapi/platform/services/user-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/user-search-service.d.ts +782 -0
- package/lib/openapi/platform/services/user-search-service.js +784 -0
- package/lib/openapi/platform/services/user-search-service.js.map +1 -0
- package/lib/openapi/platform/services/users-service.d.ts +579 -0
- package/lib/openapi/platform/services/users-service.js +729 -0
- package/lib/openapi/platform/services/users-service.js.map +1 -0
- package/lib/openapi/platform/services/webhooks-service.d.ts +258 -0
- package/lib/openapi/platform/services/webhooks-service.js +307 -0
- package/lib/openapi/platform/services/webhooks-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-scheme-drafts-service.d.ts +744 -0
- package/lib/openapi/platform/services/workflow-scheme-drafts-service.js +956 -0
- package/lib/openapi/platform/services/workflow-scheme-drafts-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-scheme-project-associations-service.d.ts +85 -0
- package/lib/openapi/platform/services/workflow-scheme-project-associations-service.js +134 -0
- package/lib/openapi/platform/services/workflow-scheme-project-associations-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-schemes-service.d.ts +843 -0
- package/lib/openapi/platform/services/workflow-schemes-service.js +1030 -0
- package/lib/openapi/platform/services/workflow-schemes-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-status-categories-service.d.ts +60 -0
- package/lib/openapi/platform/services/workflow-status-categories-service.js +115 -0
- package/lib/openapi/platform/services/workflow-status-categories-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-statuses-service.d.ts +87 -0
- package/lib/openapi/platform/services/workflow-statuses-service.js +142 -0
- package/lib/openapi/platform/services/workflow-statuses-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-transition-properties-service.d.ts +189 -0
- package/lib/openapi/platform/services/workflow-transition-properties-service.js +224 -0
- package/lib/openapi/platform/services/workflow-transition-properties-service.js.map +1 -0
- package/lib/openapi/platform/services/workflow-transition-rules-service.d.ts +319 -0
- package/lib/openapi/platform/services/workflow-transition-rules-service.js +326 -0
- package/lib/openapi/platform/services/workflow-transition-rules-service.js.map +1 -0
- package/lib/openapi/platform/services/workflows-service.d.ts +3032 -0
- package/lib/openapi/platform/services/workflows-service.js +2529 -0
- package/lib/openapi/platform/services/workflows-service.js.map +1 -0
- package/lib/openapi/platform/validation-schema-storage.d.ts +3 -0
- package/lib/openapi/platform/validation-schema-storage.js +144 -0
- package/lib/openapi/platform/validation-schema-storage.js.map +1 -0
- package/lib/openapi/software/base-jira-software-api-client.d.ts +426 -0
- package/lib/openapi/software/base-jira-software-api-client.js +444 -0
- package/lib/openapi/software/base-jira-software-api-client.js.map +1 -0
- package/lib/openapi/software/core/common-http-client.d.ts +196 -0
- package/lib/openapi/software/core/common-http-client.js +390 -0
- package/lib/openapi/software/core/common-http-client.js.map +1 -0
- package/lib/openapi/software/core/common-http-service.d.ts +7 -0
- package/lib/openapi/software/core/common-http-service.js +20 -0
- package/lib/openapi/software/core/common-http-service.js.map +1 -0
- package/lib/openapi/software/core/common-validation-schema-storage.d.ts +35 -0
- package/lib/openapi/software/core/common-validation-schema-storage.js +65 -0
- package/lib/openapi/software/core/common-validation-schema-storage.js.map +1 -0
- package/lib/openapi/software/models/board.d.ts +505 -0
- package/lib/openapi/software/models/board.js +389 -0
- package/lib/openapi/software/models/board.js.map +1 -0
- package/lib/openapi/software/services/backlog-service.d.ts +81 -0
- package/lib/openapi/software/services/backlog-service.js +113 -0
- package/lib/openapi/software/services/backlog-service.js.map +1 -0
- package/lib/openapi/software/services/board-service.d.ts +2254 -0
- package/lib/openapi/software/services/board-service.js +2653 -0
- package/lib/openapi/software/services/board-service.js.map +1 -0
- package/lib/openapi/software/services/builds-service.d.ts +368 -0
- package/lib/openapi/software/services/builds-service.js +230 -0
- package/lib/openapi/software/services/builds-service.js.map +1 -0
- package/lib/openapi/software/services/deployments-service.d.ts +217 -0
- package/lib/openapi/software/services/deployments-service.js +232 -0
- package/lib/openapi/software/services/deployments-service.js.map +1 -0
- package/lib/openapi/software/services/dev-ops-components-service.d.ts +246 -0
- package/lib/openapi/software/services/dev-ops-components-service.js +280 -0
- package/lib/openapi/software/services/dev-ops-components-service.js.map +1 -0
- package/lib/openapi/software/services/development-information-service.d.ts +1641 -0
- package/lib/openapi/software/services/development-information-service.js +474 -0
- package/lib/openapi/software/services/development-information-service.js.map +1 -0
- package/lib/openapi/software/services/epic-service.d.ts +596 -0
- package/lib/openapi/software/services/epic-service.js +633 -0
- package/lib/openapi/software/services/epic-service.js.map +1 -0
- package/lib/openapi/software/services/feature-flags-service.d.ts +170 -0
- package/lib/openapi/software/services/feature-flags-service.js +182 -0
- package/lib/openapi/software/services/feature-flags-service.js.map +1 -0
- package/lib/openapi/software/services/issue-service.d.ts +329 -0
- package/lib/openapi/software/services/issue-service.js +410 -0
- package/lib/openapi/software/services/issue-service.js.map +1 -0
- package/lib/openapi/software/services/operations-service.d.ts +456 -0
- package/lib/openapi/software/services/operations-service.js +444 -0
- package/lib/openapi/software/services/operations-service.js.map +1 -0
- package/lib/openapi/software/services/remote-links-service.d.ts +445 -0
- package/lib/openapi/software/services/remote-links-service.js +327 -0
- package/lib/openapi/software/services/remote-links-service.js.map +1 -0
- package/lib/openapi/software/services/security-information-service.d.ts +257 -0
- package/lib/openapi/software/services/security-information-service.js +310 -0
- package/lib/openapi/software/services/security-information-service.js.map +1 -0
- package/lib/openapi/software/services/sprint-service.d.ts +531 -0
- package/lib/openapi/software/services/sprint-service.js +665 -0
- package/lib/openapi/software/services/sprint-service.js.map +1 -0
- package/lib/openapi/software/validation-schema-storage.d.ts +3 -0
- package/lib/openapi/software/validation-schema-storage.js +144 -0
- package/lib/openapi/software/validation-schema-storage.js.map +1 -0
- package/package.json +37 -0
- package/src/index.ts +47 -0
- package/src/openapi/platform/base-jira-platform-api-client.ts +2298 -0
- package/src/openapi/platform/core/common-http-client.ts +723 -0
- package/src/openapi/platform/core/common-http-service.ts +22 -0
- package/src/openapi/platform/core/common-validation-schema-storage.ts +105 -0
- package/src/openapi/platform/models/announcement-banner.ts +59 -0
- package/src/openapi/platform/models/app-data-policies.ts +79 -0
- package/src/openapi/platform/models/app-migration.ts +172 -0
- package/src/openapi/platform/models/app-properties.ts +32 -0
- package/src/openapi/platform/models/audit-records.ts +140 -0
- package/src/openapi/platform/models/avatars.ts +48 -0
- package/src/openapi/platform/models/classification-levels.ts +58 -0
- package/src/openapi/platform/models/common.ts +2669 -0
- package/src/openapi/platform/models/dashboards.ts +849 -0
- package/src/openapi/platform/models/dynamic-modules.ts +121 -0
- package/src/openapi/platform/models/filter-sharing.ts +103 -0
- package/src/openapi/platform/models/filters.ts +319 -0
- package/src/openapi/platform/models/group-and-user-picker.ts +85 -0
- package/src/openapi/platform/models/groups.ts +247 -0
- package/src/openapi/platform/models/issue-attachments.ts +290 -0
- package/src/openapi/platform/models/issue-comment-properties.ts +27 -0
- package/src/openapi/platform/models/issue-comments.ts +91 -0
- package/src/openapi/platform/models/issue-custom-field-configuration-apps.ts +96 -0
- package/src/openapi/platform/models/issue-custom-field-contexts.ts +1072 -0
- package/src/openapi/platform/models/issue-custom-field-options-apps.ts +273 -0
- package/src/openapi/platform/models/issue-custom-field-options.ts +283 -0
- package/src/openapi/platform/models/issue-custom-field-values-apps.ts +118 -0
- package/src/openapi/platform/models/issue-field-configurations.ts +435 -0
- package/src/openapi/platform/models/issue-fields.ts +392 -0
- package/src/openapi/platform/models/issue-link-types.ts +28 -0
- package/src/openapi/platform/models/issue-links.ts +185 -0
- package/src/openapi/platform/models/issue-notification-schemes.ts +370 -0
- package/src/openapi/platform/models/issue-priorities.ts +196 -0
- package/src/openapi/platform/models/issue-properties.ts +259 -0
- package/src/openapi/platform/models/issue-remote-links.ts +207 -0
- package/src/openapi/platform/models/issue-resolutions.ts +180 -0
- package/src/openapi/platform/models/issue-search.ts +367 -0
- package/src/openapi/platform/models/issue-security-level.ts +76 -0
- package/src/openapi/platform/models/issue-security-schemes.ts +496 -0
- package/src/openapi/platform/models/issue-type-schemes.ts +290 -0
- package/src/openapi/platform/models/issue-type-screen-schemes.ts +286 -0
- package/src/openapi/platform/models/issue-types.ts +66 -0
- package/src/openapi/platform/models/issue-votes.ts +38 -0
- package/src/openapi/platform/models/issue-watchers.ts +67 -0
- package/src/openapi/platform/models/issue-worklogs.ts +190 -0
- package/src/openapi/platform/models/issues.ts +1268 -0
- package/src/openapi/platform/models/jira-expressions.ts +578 -0
- package/src/openapi/platform/models/jira-settings.ts +118 -0
- package/src/openapi/platform/models/jql-functions-apps.ts +128 -0
- package/src/openapi/platform/models/jql.ts +783 -0
- package/src/openapi/platform/models/labels.ts +42 -0
- package/src/openapi/platform/models/license-metrics.ts +68 -0
- package/src/openapi/platform/models/myself.ts +29 -0
- package/src/openapi/platform/models/permission-schemes.ts +89 -0
- package/src/openapi/platform/models/permissions.ts +308 -0
- package/src/openapi/platform/models/priority-schemes.ts +527 -0
- package/src/openapi/platform/models/project-avatars.ts +29 -0
- package/src/openapi/platform/models/project-classification-levels.ts +24 -0
- package/src/openapi/platform/models/project-components.ts +231 -0
- package/src/openapi/platform/models/project-email.ts +27 -0
- package/src/openapi/platform/models/project-features.ts +78 -0
- package/src/openapi/platform/models/project-permission-schemes.ts +43 -0
- package/src/openapi/platform/models/project-role-actors.ts +107 -0
- package/src/openapi/platform/models/project-roles.ts +76 -0
- package/src/openapi/platform/models/project-types.ts +36 -0
- package/src/openapi/platform/models/project-versions.ts +216 -0
- package/src/openapi/platform/models/projects.ts +429 -0
- package/src/openapi/platform/models/screen-schemes.ts +192 -0
- package/src/openapi/platform/models/screen-tab-fields.ts +45 -0
- package/src/openapi/platform/models/screens.ts +171 -0
- package/src/openapi/platform/models/server-info.ts +100 -0
- package/src/openapi/platform/models/service-registry.ts +68 -0
- package/src/openapi/platform/models/status.ts +229 -0
- package/src/openapi/platform/models/time-tracking.ts +38 -0
- package/src/openapi/platform/models/ui-modifications-apps.ts +229 -0
- package/src/openapi/platform/models/user-search.ts +69 -0
- package/src/openapi/platform/models/users.ts +121 -0
- package/src/openapi/platform/models/webhooks.ts +307 -0
- package/src/openapi/platform/models/workflow-scheme-drafts.ts +58 -0
- package/src/openapi/platform/models/workflow-scheme-project-associations.ts +68 -0
- package/src/openapi/platform/models/workflow-schemes.ts +545 -0
- package/src/openapi/platform/models/workflow-transition-properties.ts +33 -0
- package/src/openapi/platform/models/workflow-transition-rules.ts +261 -0
- package/src/openapi/platform/models/workflows.ts +1943 -0
- package/src/openapi/platform/services/announcement-banner-service.ts +142 -0
- package/src/openapi/platform/services/app-data-policies-service.ts +136 -0
- package/src/openapi/platform/services/app-migration-service.ts +289 -0
- package/src/openapi/platform/services/app-properties-service.ts +441 -0
- package/src/openapi/platform/services/application-roles-service.ts +247 -0
- package/src/openapi/platform/services/audit-records-service.ts +164 -0
- package/src/openapi/platform/services/avatars-service.ts +769 -0
- package/src/openapi/platform/services/classification-levels-service.ts +131 -0
- package/src/openapi/platform/services/dashboards-service.ts +1721 -0
- package/src/openapi/platform/services/dynamic-modules-service.ts +127 -0
- package/src/openapi/platform/services/filter-sharing-service.ts +687 -0
- package/src/openapi/platform/services/filters-service.ts +1901 -0
- package/src/openapi/platform/services/group-and-user-picker-service.ts +224 -0
- package/src/openapi/platform/services/groups-service.ts +751 -0
- package/src/openapi/platform/services/issue-attachments-service.ts +900 -0
- package/src/openapi/platform/services/issue-comment-properties-service.ts +324 -0
- package/src/openapi/platform/services/issue-comments-service.ts +812 -0
- package/src/openapi/platform/services/issue-custom-field-configuration-apps-service.ts +277 -0
- package/src/openapi/platform/services/issue-custom-field-contexts-service.ts +1339 -0
- package/src/openapi/platform/services/issue-custom-field-options-apps-service.ts +994 -0
- package/src/openapi/platform/services/issue-custom-field-options-service.ts +651 -0
- package/src/openapi/platform/services/issue-custom-field-values-apps-service.ts +201 -0
- package/src/openapi/platform/services/issue-field-configurations-service.ts +1294 -0
- package/src/openapi/platform/services/issue-fields-service.ts +837 -0
- package/src/openapi/platform/services/issue-link-types-service.ts +360 -0
- package/src/openapi/platform/services/issue-links-service.ts +345 -0
- package/src/openapi/platform/services/issue-navigator-settings-service.ts +119 -0
- package/src/openapi/platform/services/issue-notification-schemes-service.ts +1209 -0
- package/src/openapi/platform/services/issue-priorities-service.ts +575 -0
- package/src/openapi/platform/services/issue-properties-service.ts +606 -0
- package/src/openapi/platform/services/issue-remote-links-service.ts +597 -0
- package/src/openapi/platform/services/issue-resolutions-service.ts +534 -0
- package/src/openapi/platform/services/issue-search-service.ts +1139 -0
- package/src/openapi/platform/services/issue-security-level-service.ts +250 -0
- package/src/openapi/platform/services/issue-security-schemes-service.ts +1240 -0
- package/src/openapi/platform/services/issue-type-properties-service.ts +325 -0
- package/src/openapi/platform/services/issue-type-schemes-service.ts +940 -0
- package/src/openapi/platform/services/issue-type-screen-schemes-service.ts +994 -0
- package/src/openapi/platform/services/issue-types-service.ts +679 -0
- package/src/openapi/platform/services/issue-votes-service.ts +221 -0
- package/src/openapi/platform/services/issue-watchers-service.ts +331 -0
- package/src/openapi/platform/services/issue-worklog-properties-service.ts +348 -0
- package/src/openapi/platform/services/issue-worklogs-service.ts +1089 -0
- package/src/openapi/platform/services/issues-service.ts +3346 -0
- package/src/openapi/platform/services/jira-expressions-service.ts +407 -0
- package/src/openapi/platform/services/jira-settings-service.ts +415 -0
- package/src/openapi/platform/services/jql-functions-apps-service.ts +219 -0
- package/src/openapi/platform/services/jql-service.ts +896 -0
- package/src/openapi/platform/services/labels-service.ts +89 -0
- package/src/openapi/platform/services/license-metrics-service.ts +216 -0
- package/src/openapi/platform/services/myself-service.ts +520 -0
- package/src/openapi/platform/services/permission-schemes-service.ts +926 -0
- package/src/openapi/platform/services/permissions-service.ts +407 -0
- package/src/openapi/platform/services/priority-schemes-service.ts +1001 -0
- package/src/openapi/platform/services/project-avatars-service.ts +341 -0
- package/src/openapi/platform/services/project-categories-service.ts +318 -0
- package/src/openapi/platform/services/project-classification-levels-service.ts +232 -0
- package/src/openapi/platform/services/project-components-service.ts +1332 -0
- package/src/openapi/platform/services/project-email-service.ts +161 -0
- package/src/openapi/platform/services/project-features-service.ts +207 -0
- package/src/openapi/platform/services/project-key-and-name-validation-service.ts +200 -0
- package/src/openapi/platform/services/project-permission-schemes-service.ts +384 -0
- package/src/openapi/platform/services/project-properties-service.ts +320 -0
- package/src/openapi/platform/services/project-role-actors-service.ts +627 -0
- package/src/openapi/platform/services/project-roles-service.ts +867 -0
- package/src/openapi/platform/services/project-types-service.ts +297 -0
- package/src/openapi/platform/services/project-versions-service.ts +1287 -0
- package/src/openapi/platform/services/projects-service.ts +2196 -0
- package/src/openapi/platform/services/screen-schemes-service.ts +334 -0
- package/src/openapi/platform/services/screen-tab-fields-service.ts +276 -0
- package/src/openapi/platform/services/screen-tabs-service.ts +421 -0
- package/src/openapi/platform/services/screens-service.ts +528 -0
- package/src/openapi/platform/services/server-info-service.ts +88 -0
- package/src/openapi/platform/services/service-registry-service.ts +89 -0
- package/src/openapi/platform/services/status-service.ts +498 -0
- package/src/openapi/platform/services/tasks-service.ts +159 -0
- package/src/openapi/platform/services/time-tracking-service.ts +386 -0
- package/src/openapi/platform/services/ui-modifications-apps-service.ts +403 -0
- package/src/openapi/platform/services/user-properties-service.ts +413 -0
- package/src/openapi/platform/services/user-search-service.ts +1214 -0
- package/src/openapi/platform/services/users-service.ts +1108 -0
- package/src/openapi/platform/services/webhooks-service.ts +458 -0
- package/src/openapi/platform/services/workflow-scheme-drafts-service.ts +1313 -0
- package/src/openapi/platform/services/workflow-scheme-project-associations-service.ts +189 -0
- package/src/openapi/platform/services/workflow-schemes-service.ts +1617 -0
- package/src/openapi/platform/services/workflow-status-categories-service.ts +151 -0
- package/src/openapi/platform/services/workflow-statuses-service.ts +176 -0
- package/src/openapi/platform/services/workflow-transition-properties-service.ts +388 -0
- package/src/openapi/platform/services/workflow-transition-rules-service.ts +485 -0
- package/src/openapi/platform/services/workflows-service.ts +3477 -0
- package/src/openapi/platform/validation-schema-storage.ts +186 -0
- package/src/openapi/software/base-jira-software-api-client.ts +447 -0
- package/src/openapi/software/core/common-http-client.ts +723 -0
- package/src/openapi/software/core/common-http-service.ts +22 -0
- package/src/openapi/software/core/common-validation-schema-storage.ts +105 -0
- package/src/openapi/software/models/board.ts +918 -0
- package/src/openapi/software/services/backlog-service.ts +160 -0
- package/src/openapi/software/services/board-service.ts +4189 -0
- package/src/openapi/software/services/builds-service.ts +571 -0
- package/src/openapi/software/services/deployments-service.ts +403 -0
- package/src/openapi/software/services/dev-ops-components-service.ts +371 -0
- package/src/openapi/software/services/development-information-service.ts +2357 -0
- package/src/openapi/software/services/epic-service.ts +854 -0
- package/src/openapi/software/services/feature-flags-service.ts +303 -0
- package/src/openapi/software/services/issue-service.ts +529 -0
- package/src/openapi/software/services/operations-service.ts +741 -0
- package/src/openapi/software/services/remote-links-service.ts +653 -0
- package/src/openapi/software/services/security-information-service.ts +495 -0
- package/src/openapi/software/services/sprint-service.ts +969 -0
- package/src/openapi/software/validation-schema-storage.ts +186 -0
- package/tsconfig.build.json +7 -0
- package/tsconfig.json +4 -0
|
@@ -0,0 +1,843 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/common-http-service";
|
|
2
|
+
import { type DefaultWorkflow, type IssueTypesWorkflowMapping, type IssueTypeWorkflowMapping, type WorkflowScheme } from "../models/common";
|
|
3
|
+
import { type PageBeanWorkflowScheme, type WorkflowSchemeReadRequest, type WorkflowSchemeReadResponse, type WorkflowSchemeUpdateRequest, type WorkflowSchemeUpdateRequiredMappingsRequest, type WorkflowSchemeUpdateRequiredMappingsResponse } from "../models/workflow-schemes";
|
|
4
|
+
/**
|
|
5
|
+
* This resource represents workflow schemes. Use it to manage workflow schemes
|
|
6
|
+
* and the workflow scheme's workflows and issue types.
|
|
7
|
+
*
|
|
8
|
+
* A workflow scheme maps issue types to workflows. A workflow scheme can be
|
|
9
|
+
* associated with one or more projects, which enables the projects to use the
|
|
10
|
+
* workflow-issue type mappings.
|
|
11
|
+
*
|
|
12
|
+
* Active workflow schemes (workflow schemes that are used by projects) cannot be
|
|
13
|
+
* edited. When an active workflow scheme is edited, a draft copy of the scheme is
|
|
14
|
+
* created. The draft workflow scheme is then be edited and published (replacing
|
|
15
|
+
* the active scheme).
|
|
16
|
+
*
|
|
17
|
+
* See [Configuring workflow schemes](https://confluence.atlassian.com/x/tohKLg)
|
|
18
|
+
* for more information.
|
|
19
|
+
*/
|
|
20
|
+
export declare class WorkflowSchemesService extends CommonHttpService {
|
|
21
|
+
/**
|
|
22
|
+
* Creates a workflow scheme.
|
|
23
|
+
*
|
|
24
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
25
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
26
|
+
*
|
|
27
|
+
* @returns Returned if the request is successful.
|
|
28
|
+
*
|
|
29
|
+
* example: {
|
|
30
|
+
* "defaultWorkflow": "jira",
|
|
31
|
+
* "description": "The description of the example workflow scheme.",
|
|
32
|
+
* "draft": false,
|
|
33
|
+
* "id": 101010,
|
|
34
|
+
* "issueTypeMappings": {
|
|
35
|
+
* "10000": "scrum workflow",
|
|
36
|
+
* "10001": "builds workflow"
|
|
37
|
+
* },
|
|
38
|
+
* "name": "Example workflow scheme",
|
|
39
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
|
|
40
|
+
* }
|
|
41
|
+
* @path {POST} /rest/api/3/workflowscheme
|
|
42
|
+
* @scopes-current manage:jira-configuration
|
|
43
|
+
* @scopes-beta write:workflow-scheme:jira, read:application-role:jira, read:avatar:jira,
|
|
44
|
+
* read:group:jira, read:issue-type:jira, read:project-category:jira,
|
|
45
|
+
* read:project:jira, read:user:jira, read:workflow-scheme:jira
|
|
46
|
+
*/
|
|
47
|
+
createWorkflowScheme({ workflowScheme, }: {
|
|
48
|
+
/**
|
|
49
|
+
* @example {
|
|
50
|
+
* "defaultWorkflow": "jira",
|
|
51
|
+
* "description": "The description of the example workflow scheme.",
|
|
52
|
+
* "issueTypeMappings": {
|
|
53
|
+
* "10000": "scrum workflow",
|
|
54
|
+
* "10001": "builds workflow"
|
|
55
|
+
* },
|
|
56
|
+
* "name": "Example workflow scheme"
|
|
57
|
+
* }
|
|
58
|
+
*/
|
|
59
|
+
workflowScheme: WorkflowScheme;
|
|
60
|
+
}): Promise<WorkflowScheme>;
|
|
61
|
+
/**
|
|
62
|
+
* Resets the default workflow for a workflow scheme. That is, the default
|
|
63
|
+
* workflow is set to Jira's system workflow (the *jira* workflow).
|
|
64
|
+
*
|
|
65
|
+
* Note that active workflow schemes cannot be edited. If the workflow scheme is
|
|
66
|
+
* active, set `updateDraftIfNeeded` to `true` and a draft workflow scheme is
|
|
67
|
+
* created or updated with the default workflow reset. The draft workflow scheme
|
|
68
|
+
* can be published in Jira.
|
|
69
|
+
*
|
|
70
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
71
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
72
|
+
*
|
|
73
|
+
* @returns Returned if the request is successful.
|
|
74
|
+
*
|
|
75
|
+
* example: {
|
|
76
|
+
* "defaultWorkflow": "jira",
|
|
77
|
+
* "description": "The description of the example workflow scheme.",
|
|
78
|
+
* "draft": false,
|
|
79
|
+
* "id": 101010,
|
|
80
|
+
* "issueTypeMappings": {
|
|
81
|
+
* "10000": "scrum workflow",
|
|
82
|
+
* "10001": "builds workflow"
|
|
83
|
+
* },
|
|
84
|
+
* "name": "Example workflow scheme",
|
|
85
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
|
|
86
|
+
* }
|
|
87
|
+
* @path {DELETE} /rest/api/3/workflowscheme/{id}/default
|
|
88
|
+
* @scopes-current manage:jira-configuration
|
|
89
|
+
* @scopes-beta read:workflow-scheme:jira, write:workflow-scheme:jira,
|
|
90
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
91
|
+
* read:issue-type:jira, read:project-category:jira, read:project:jira,
|
|
92
|
+
* read:user:jira
|
|
93
|
+
*/
|
|
94
|
+
deleteDefaultWorkflow({ id, updateDraftIfNeeded, }: {
|
|
95
|
+
/** The ID of the workflow scheme. */
|
|
96
|
+
id: number;
|
|
97
|
+
/**
|
|
98
|
+
* Set to true to create or update the draft of a workflow scheme and delete the
|
|
99
|
+
* mapping from the draft, when the workflow scheme cannot be edited. Defaults to
|
|
100
|
+
* `false`.
|
|
101
|
+
*/
|
|
102
|
+
updateDraftIfNeeded?: boolean;
|
|
103
|
+
}): Promise<WorkflowScheme>;
|
|
104
|
+
/**
|
|
105
|
+
* Deletes the workflow-issue type mapping for a workflow in a workflow scheme.
|
|
106
|
+
*
|
|
107
|
+
* Note that active workflow schemes cannot be edited. If the workflow scheme is
|
|
108
|
+
* active, set `updateDraftIfNeeded` to `true` and a draft workflow scheme is
|
|
109
|
+
* created or updated with the workflow-issue type mapping deleted. The draft
|
|
110
|
+
* workflow scheme can be published in Jira.
|
|
111
|
+
*
|
|
112
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
113
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
114
|
+
*
|
|
115
|
+
* @path {DELETE} /rest/api/3/workflowscheme/{id}/workflow
|
|
116
|
+
* @scopes-current manage:jira-configuration
|
|
117
|
+
* @scopes-beta delete:workflow-scheme:jira
|
|
118
|
+
*/
|
|
119
|
+
deleteWorkflowMapping({ id, workflowName, updateDraftIfNeeded, }: {
|
|
120
|
+
/** The ID of the workflow scheme. */
|
|
121
|
+
id: number;
|
|
122
|
+
/** The name of the workflow. */
|
|
123
|
+
workflowName: string;
|
|
124
|
+
/**
|
|
125
|
+
* Set to true to create or update the draft of a workflow scheme and delete the
|
|
126
|
+
* mapping from the draft, when the workflow scheme cannot be edited. Defaults to
|
|
127
|
+
* `false`.
|
|
128
|
+
*/
|
|
129
|
+
updateDraftIfNeeded?: boolean;
|
|
130
|
+
}): Promise<void>;
|
|
131
|
+
/**
|
|
132
|
+
* Deletes a workflow scheme. Note that a workflow scheme cannot be deleted if it
|
|
133
|
+
* is active (that is, being used by at least one project).
|
|
134
|
+
*
|
|
135
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
136
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
137
|
+
*
|
|
138
|
+
* @returns Returned if the request is successful.
|
|
139
|
+
* @path {DELETE} /rest/api/3/workflowscheme/{id}
|
|
140
|
+
* @scopes-current manage:jira-configuration
|
|
141
|
+
* @scopes-beta delete:workflow-scheme:jira
|
|
142
|
+
*/
|
|
143
|
+
deleteWorkflowScheme({ id, }: {
|
|
144
|
+
/**
|
|
145
|
+
* The ID of the workflow scheme. Find this ID by editing the desired workflow
|
|
146
|
+
* scheme in Jira. The ID is shown in the URL as `schemeId`. For example,
|
|
147
|
+
* *schemeId=10301*.
|
|
148
|
+
*/
|
|
149
|
+
id: number;
|
|
150
|
+
}): Promise<void>;
|
|
151
|
+
/**
|
|
152
|
+
* Deletes the issue type-workflow mapping for an issue type in a workflow scheme.
|
|
153
|
+
*
|
|
154
|
+
* Note that active workflow schemes cannot be edited. If the workflow scheme is
|
|
155
|
+
* active, set `updateDraftIfNeeded` to `true` and a draft workflow scheme is
|
|
156
|
+
* created or updated with the issue type-workflow mapping deleted. The draft
|
|
157
|
+
* workflow scheme can be published in Jira.
|
|
158
|
+
*
|
|
159
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
160
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
161
|
+
*
|
|
162
|
+
* @returns Returned if the request is successful.
|
|
163
|
+
*
|
|
164
|
+
* example: {
|
|
165
|
+
* "defaultWorkflow": "jira",
|
|
166
|
+
* "description": "The description of the example workflow scheme.",
|
|
167
|
+
* "draft": false,
|
|
168
|
+
* "id": 101010,
|
|
169
|
+
* "issueTypeMappings": {
|
|
170
|
+
* "10000": "scrum workflow",
|
|
171
|
+
* "10001": "builds workflow"
|
|
172
|
+
* },
|
|
173
|
+
* "name": "Example workflow scheme",
|
|
174
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
|
|
175
|
+
* }
|
|
176
|
+
* @path {DELETE} /rest/api/3/workflowscheme/{id}/issuetype/{issueType}
|
|
177
|
+
* @scopes-current manage:jira-configuration
|
|
178
|
+
* @scopes-beta delete:workflow-scheme:jira, read:application-role:jira, read:avatar:jira,
|
|
179
|
+
* read:group:jira, read:issue-type:jira, read:project-category:jira,
|
|
180
|
+
* read:project:jira, read:user:jira, read:workflow-scheme:jira, read:workflow:jira
|
|
181
|
+
*/
|
|
182
|
+
deleteWorkflowSchemeIssueType({ id, issueType, updateDraftIfNeeded, }: {
|
|
183
|
+
/** The ID of the workflow scheme. */
|
|
184
|
+
id: number;
|
|
185
|
+
/** The ID of the issue type. */
|
|
186
|
+
issueType: string;
|
|
187
|
+
/**
|
|
188
|
+
* Set to true to create or update the draft of a workflow scheme and update the
|
|
189
|
+
* mapping in the draft, when the workflow scheme cannot be edited. Defaults to
|
|
190
|
+
* `false`.
|
|
191
|
+
*/
|
|
192
|
+
updateDraftIfNeeded?: boolean;
|
|
193
|
+
}): Promise<WorkflowScheme>;
|
|
194
|
+
/**
|
|
195
|
+
* Returns a [paginated](#pagination) list of all workflow schemes, not including
|
|
196
|
+
* draft workflow schemes.
|
|
197
|
+
*
|
|
198
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
199
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
200
|
+
*
|
|
201
|
+
* @returns Returned if the request is successful.
|
|
202
|
+
*
|
|
203
|
+
* example: {
|
|
204
|
+
* "isLast": true,
|
|
205
|
+
* "maxResults": 50,
|
|
206
|
+
* "startAt": 0,
|
|
207
|
+
* "total": 2,
|
|
208
|
+
* "values": [
|
|
209
|
+
* {
|
|
210
|
+
* "defaultWorkflow": "jira",
|
|
211
|
+
* "description": "The description of the example workflow scheme.",
|
|
212
|
+
* "id": 101010,
|
|
213
|
+
* "issueTypeMappings": {
|
|
214
|
+
* "10000": "scrum workflow",
|
|
215
|
+
* "10001": "builds workflow"
|
|
216
|
+
* },
|
|
217
|
+
* "name": "Example workflow scheme",
|
|
218
|
+
* "self":
|
|
219
|
+
* "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
|
|
220
|
+
* },
|
|
221
|
+
* {
|
|
222
|
+
* "defaultWorkflow": "jira",
|
|
223
|
+
* "description": "The description of the another example workflow scheme.",
|
|
224
|
+
* "id": 101011,
|
|
225
|
+
* "issueTypeMappings": {
|
|
226
|
+
* "10000": "scrum workflow",
|
|
227
|
+
* "10001": "builds workflow"
|
|
228
|
+
* },
|
|
229
|
+
* "name": "Another example workflow scheme",
|
|
230
|
+
* "self":
|
|
231
|
+
* "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101011"
|
|
232
|
+
* }
|
|
233
|
+
* ]
|
|
234
|
+
* }
|
|
235
|
+
* @path {GET} /rest/api/3/workflowscheme
|
|
236
|
+
* @scopes-current manage:jira-configuration
|
|
237
|
+
* @scopes-beta read:workflow-scheme:jira, read:application-role:jira, read:avatar:jira,
|
|
238
|
+
* read:group:jira, read:issue-type:jira, read:project-category:jira,
|
|
239
|
+
* read:project:jira, read:user:jira
|
|
240
|
+
*/
|
|
241
|
+
getAllWorkflowSchemes({ startAt, maxResults, }: {
|
|
242
|
+
/** The index of the first item to return in a page of results (page offset). */
|
|
243
|
+
startAt?: number;
|
|
244
|
+
/** The maximum number of items to return per page. */
|
|
245
|
+
maxResults?: number;
|
|
246
|
+
}): Promise<PageBeanWorkflowScheme>;
|
|
247
|
+
/**
|
|
248
|
+
* Returns the default workflow for a workflow scheme. The default workflow is the
|
|
249
|
+
* workflow that is assigned any issue types that have not been mapped to any
|
|
250
|
+
* other workflow. The default workflow has *All Unassigned Issue Types* listed in
|
|
251
|
+
* its issue types for the workflow scheme in Jira.
|
|
252
|
+
*
|
|
253
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
254
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
255
|
+
*
|
|
256
|
+
* @returns Returned if the request is successful.
|
|
257
|
+
*
|
|
258
|
+
* example: {
|
|
259
|
+
* "workflow": "jira"
|
|
260
|
+
* }
|
|
261
|
+
* @path {GET} /rest/api/3/workflowscheme/{id}/default
|
|
262
|
+
* @scopes-current manage:jira-configuration
|
|
263
|
+
* @scopes-beta read:workflow-scheme:jira, read:workflow:jira
|
|
264
|
+
*/
|
|
265
|
+
getDefaultWorkflow({ id, returnDraftIfExists, }: {
|
|
266
|
+
/** The ID of the workflow scheme. */
|
|
267
|
+
id: number;
|
|
268
|
+
/**
|
|
269
|
+
* Set to `true` to return the default workflow for the workflow scheme's draft
|
|
270
|
+
* rather than scheme itself. If the workflow scheme does not have a draft, then
|
|
271
|
+
* the default workflow for the workflow scheme is returned.
|
|
272
|
+
*/
|
|
273
|
+
returnDraftIfExists?: boolean;
|
|
274
|
+
}): Promise<DefaultWorkflow>;
|
|
275
|
+
/**
|
|
276
|
+
* Returns the workflow-issue type mappings for a workflow scheme.
|
|
277
|
+
*
|
|
278
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
279
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
280
|
+
*
|
|
281
|
+
* @returns Returned if the request is successful.
|
|
282
|
+
*
|
|
283
|
+
* example: {
|
|
284
|
+
* "defaultMapping": false,
|
|
285
|
+
* "issueTypes": [
|
|
286
|
+
* "10000",
|
|
287
|
+
* "10001"
|
|
288
|
+
* ],
|
|
289
|
+
* "workflow": "jira"
|
|
290
|
+
* }
|
|
291
|
+
* @path {GET} /rest/api/3/workflowscheme/{id}/workflow
|
|
292
|
+
* @scopes-current manage:jira-configuration
|
|
293
|
+
* @scopes-beta read:workflow-scheme:jira, read:workflow:jira, read:issue-type:jira
|
|
294
|
+
*/
|
|
295
|
+
getWorkflow({ id, workflowName, returnDraftIfExists, }: {
|
|
296
|
+
/** The ID of the workflow scheme. */
|
|
297
|
+
id: number;
|
|
298
|
+
/**
|
|
299
|
+
* The name of a workflow in the scheme. Limits the results to the workflow-issue
|
|
300
|
+
* type mapping for the specified workflow.
|
|
301
|
+
*/
|
|
302
|
+
workflowName?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Returns the mapping from the workflow scheme's draft rather than the workflow
|
|
305
|
+
* scheme, if set to true. If no draft exists, the mapping from the workflow
|
|
306
|
+
* scheme is returned.
|
|
307
|
+
*/
|
|
308
|
+
returnDraftIfExists?: boolean;
|
|
309
|
+
}): Promise<IssueTypesWorkflowMapping>;
|
|
310
|
+
/**
|
|
311
|
+
* Returns a workflow scheme.
|
|
312
|
+
*
|
|
313
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
314
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
315
|
+
*
|
|
316
|
+
* @returns Returned if the request is successful.
|
|
317
|
+
*
|
|
318
|
+
* example: {
|
|
319
|
+
* "defaultWorkflow": "jira",
|
|
320
|
+
* "description": "The description of the example workflow scheme.",
|
|
321
|
+
* "draft": false,
|
|
322
|
+
* "id": 101010,
|
|
323
|
+
* "issueTypeMappings": {
|
|
324
|
+
* "10000": "scrum workflow",
|
|
325
|
+
* "10001": "builds workflow"
|
|
326
|
+
* },
|
|
327
|
+
* "name": "Example workflow scheme",
|
|
328
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
|
|
329
|
+
* }
|
|
330
|
+
* @path {GET} /rest/api/3/workflowscheme/{id}
|
|
331
|
+
* @scopes-current manage:jira-configuration
|
|
332
|
+
* @scopes-beta read:workflow-scheme:jira, read:application-role:jira, read:avatar:jira,
|
|
333
|
+
* read:group:jira, read:issue-type:jira, read:project-category:jira,
|
|
334
|
+
* read:project:jira, read:user:jira
|
|
335
|
+
*/
|
|
336
|
+
getWorkflowScheme({ id, returnDraftIfExists, }: {
|
|
337
|
+
/**
|
|
338
|
+
* The ID of the workflow scheme. Find this ID by editing the desired workflow
|
|
339
|
+
* scheme in Jira. The ID is shown in the URL as `schemeId`. For example,
|
|
340
|
+
* *schemeId=10301*.
|
|
341
|
+
*/
|
|
342
|
+
id: number;
|
|
343
|
+
/**
|
|
344
|
+
* Returns the workflow scheme's draft rather than scheme itself, if set to true.
|
|
345
|
+
* If the workflow scheme does not have a draft, then the workflow scheme is
|
|
346
|
+
* returned.
|
|
347
|
+
*/
|
|
348
|
+
returnDraftIfExists?: boolean;
|
|
349
|
+
}): Promise<WorkflowScheme>;
|
|
350
|
+
/**
|
|
351
|
+
* Returns the issue type-workflow mapping for an issue type in a workflow scheme.
|
|
352
|
+
*
|
|
353
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
354
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
355
|
+
*
|
|
356
|
+
* @returns Returned if the request is successful.
|
|
357
|
+
*
|
|
358
|
+
* example: {
|
|
359
|
+
* "issueType": "10000",
|
|
360
|
+
* "workflow": "jira"
|
|
361
|
+
* }
|
|
362
|
+
* @path {GET} /rest/api/3/workflowscheme/{id}/issuetype/{issueType}
|
|
363
|
+
* @scopes-current manage:jira-configuration
|
|
364
|
+
* @scopes-beta read:workflow-scheme:jira, read:workflow:jira, read:issue-type:jira
|
|
365
|
+
*/
|
|
366
|
+
getWorkflowSchemeIssueType({ id, issueType, returnDraftIfExists, }: {
|
|
367
|
+
/** The ID of the workflow scheme. */
|
|
368
|
+
id: number;
|
|
369
|
+
/** The ID of the issue type. */
|
|
370
|
+
issueType: string;
|
|
371
|
+
/**
|
|
372
|
+
* Returns the mapping from the workflow scheme's draft rather than the workflow
|
|
373
|
+
* scheme, if set to true. If no draft exists, the mapping from the workflow
|
|
374
|
+
* scheme is returned.
|
|
375
|
+
*/
|
|
376
|
+
returnDraftIfExists?: boolean;
|
|
377
|
+
}): Promise<IssueTypeWorkflowMapping>;
|
|
378
|
+
/**
|
|
379
|
+
* Returns a list of workflow schemes by providing workflow scheme IDs or project
|
|
380
|
+
* IDs.
|
|
381
|
+
*
|
|
382
|
+
* **[Permissions](#permissions) required:**
|
|
383
|
+
*
|
|
384
|
+
* * *Administer Jira* global permission to access all, including
|
|
385
|
+
* project-scoped, workflow schemes
|
|
386
|
+
* * *Administer projects* project permissions to access project-scoped workflow
|
|
387
|
+
* schemes
|
|
388
|
+
*
|
|
389
|
+
* @returns Returned if the request is successful.
|
|
390
|
+
*
|
|
391
|
+
* example: [
|
|
392
|
+
* {
|
|
393
|
+
* "defaultWorkflow": {
|
|
394
|
+
* "description": "This is the default workflow for Software Development
|
|
395
|
+
* projects.",
|
|
396
|
+
* "id": "3e59db0f-ed6c-47ce-8d50-80c0c4572677",
|
|
397
|
+
* "name": "Default Software Development Workflow",
|
|
398
|
+
* "usage": [
|
|
399
|
+
* {
|
|
400
|
+
* "issueTypeIds": [],
|
|
401
|
+
* "projectId": "10047"
|
|
402
|
+
* }
|
|
403
|
+
* ],
|
|
404
|
+
* "version": {
|
|
405
|
+
* "id": "657812fc-bc72-400f-aae0-df8d88db3d9g",
|
|
406
|
+
* "versionNumber": 1
|
|
407
|
+
* }
|
|
408
|
+
* },
|
|
409
|
+
* "description": "This is the workflow scheme for the Software Development
|
|
410
|
+
* project type.",
|
|
411
|
+
* "id": "3g78dg2a-ns2n-56ab-9812-42h5j1464567",
|
|
412
|
+
* "name": "Software Developer Workflow Scheme",
|
|
413
|
+
* "projectIdsUsingScheme": [
|
|
414
|
+
* "10047"
|
|
415
|
+
* ],
|
|
416
|
+
* "scope": {
|
|
417
|
+
* "project": {
|
|
418
|
+
* "id": "10047"
|
|
419
|
+
* },
|
|
420
|
+
* "type": "GLOBAL"
|
|
421
|
+
* },
|
|
422
|
+
* "taskId": "3f83dg2a-ns2n-56ab-9812-42h5j1461629",
|
|
423
|
+
* "version": {
|
|
424
|
+
* "id": "527213fc-bc72-400f-aae0-df8d88db2c8a",
|
|
425
|
+
* "versionNumber": 1
|
|
426
|
+
* },
|
|
427
|
+
* "workflowsForIssueTypes": [
|
|
428
|
+
* {
|
|
429
|
+
* "issueTypeIds": [
|
|
430
|
+
* "10013"
|
|
431
|
+
* ],
|
|
432
|
+
* "workflow": {
|
|
433
|
+
* "description": "This is the workflow for the Software Development bug
|
|
434
|
+
* issue type.",
|
|
435
|
+
* "id": "5e79ae0f-ed6c-47ce-8d50-80c0c4572745",
|
|
436
|
+
* "name": "Software Development Bug Workflow",
|
|
437
|
+
* "usage": [
|
|
438
|
+
* {
|
|
439
|
+
* "issueTypeIds": [
|
|
440
|
+
* "10013"
|
|
441
|
+
* ],
|
|
442
|
+
* "projectId": "10047"
|
|
443
|
+
* }
|
|
444
|
+
* ],
|
|
445
|
+
* "version": {
|
|
446
|
+
* "id": "897812dc-bc72-400f-aae0-df8d88fe3d8f",
|
|
447
|
+
* "versionNumber": 1
|
|
448
|
+
* }
|
|
449
|
+
* }
|
|
450
|
+
* }
|
|
451
|
+
* ]
|
|
452
|
+
* }
|
|
453
|
+
* ]
|
|
454
|
+
* @path {POST} /rest/api/3/workflowscheme/read
|
|
455
|
+
* @scopes-current manage:jira-configuration
|
|
456
|
+
* @scopes-beta read:workflow-scheme:jira
|
|
457
|
+
*/
|
|
458
|
+
readWorkflowSchemes({ expand, workflowSchemeReadRequest, }: {
|
|
459
|
+
/**
|
|
460
|
+
* Use [expand](#expansion) to include additional information in the response.
|
|
461
|
+
* This parameter accepts a comma-separated list. Expand options include:
|
|
462
|
+
*
|
|
463
|
+
* * `workflows.usages` Returns the project and issue types that each workflow
|
|
464
|
+
* in the workflow scheme is associated with.
|
|
465
|
+
*/
|
|
466
|
+
expand?: string;
|
|
467
|
+
/**
|
|
468
|
+
* @example {
|
|
469
|
+
* "projectIds": [
|
|
470
|
+
* "10047",
|
|
471
|
+
* "10048"
|
|
472
|
+
* ],
|
|
473
|
+
* "workflowSchemeIds": [
|
|
474
|
+
* "3e59db0f-ed6c-47ce-8d50-80c0c4572677"
|
|
475
|
+
* ]
|
|
476
|
+
* }
|
|
477
|
+
*/
|
|
478
|
+
workflowSchemeReadRequest: WorkflowSchemeReadRequest;
|
|
479
|
+
}): Promise<WorkflowSchemeReadResponse[]>;
|
|
480
|
+
/**
|
|
481
|
+
* Sets the workflow for an issue type in a workflow scheme.
|
|
482
|
+
*
|
|
483
|
+
* Note that active workflow schemes cannot be edited. If the workflow scheme is
|
|
484
|
+
* active, set `updateDraftIfNeeded` to `true` in the request body and a draft
|
|
485
|
+
* workflow scheme is created or updated with the new issue type-workflow mapping.
|
|
486
|
+
* The draft workflow scheme can be published in Jira.
|
|
487
|
+
*
|
|
488
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
489
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
490
|
+
*
|
|
491
|
+
* @returns Returned if the request is successful.
|
|
492
|
+
*
|
|
493
|
+
* example: {
|
|
494
|
+
* "defaultWorkflow": "jira",
|
|
495
|
+
* "description": "The description of the example workflow scheme.",
|
|
496
|
+
* "draft": false,
|
|
497
|
+
* "id": 101010,
|
|
498
|
+
* "issueTypeMappings": {
|
|
499
|
+
* "10000": "scrum workflow",
|
|
500
|
+
* "10001": "builds workflow"
|
|
501
|
+
* },
|
|
502
|
+
* "name": "Example workflow scheme",
|
|
503
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
|
|
504
|
+
* }
|
|
505
|
+
* @path {PUT} /rest/api/3/workflowscheme/{id}/issuetype/{issueType}
|
|
506
|
+
* @scopes-current manage:jira-configuration
|
|
507
|
+
* @scopes-beta write:workflow-scheme:jira, read:workflow-scheme:jira, read:workflow:jira,
|
|
508
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
509
|
+
* read:issue-type:jira, read:project-category:jira, read:project:jira,
|
|
510
|
+
* read:user:jira
|
|
511
|
+
*/
|
|
512
|
+
setWorkflowSchemeIssueType({ id, issueType, issueTypeWorkflowMapping, }: {
|
|
513
|
+
/** The ID of the workflow scheme. */
|
|
514
|
+
id: number;
|
|
515
|
+
/** The ID of the issue type. */
|
|
516
|
+
issueType: string;
|
|
517
|
+
/**
|
|
518
|
+
* The issue type-project mapping.
|
|
519
|
+
*
|
|
520
|
+
* @example {
|
|
521
|
+
* "issueType": "10000",
|
|
522
|
+
* "updateDraftIfNeeded": false,
|
|
523
|
+
* "workflow": "jira"
|
|
524
|
+
* }
|
|
525
|
+
*/
|
|
526
|
+
issueTypeWorkflowMapping: IssueTypeWorkflowMapping;
|
|
527
|
+
}): Promise<WorkflowScheme>;
|
|
528
|
+
/**
|
|
529
|
+
* Sets the default workflow for a workflow scheme.
|
|
530
|
+
*
|
|
531
|
+
* Note that active workflow schemes cannot be edited. If the workflow scheme is
|
|
532
|
+
* active, set `updateDraftIfNeeded` to `true` in the request object and a draft
|
|
533
|
+
* workflow scheme is created or updated with the new default workflow. The draft
|
|
534
|
+
* workflow scheme can be published in Jira.
|
|
535
|
+
*
|
|
536
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
537
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
538
|
+
*
|
|
539
|
+
* @returns Returned if the request is successful.
|
|
540
|
+
*
|
|
541
|
+
* example: {
|
|
542
|
+
* "defaultWorkflow": "jira",
|
|
543
|
+
* "description": "The description of the example workflow scheme.",
|
|
544
|
+
* "draft": false,
|
|
545
|
+
* "id": 101010,
|
|
546
|
+
* "issueTypeMappings": {
|
|
547
|
+
* "10000": "scrum workflow",
|
|
548
|
+
* "10001": "builds workflow"
|
|
549
|
+
* },
|
|
550
|
+
* "name": "Example workflow scheme",
|
|
551
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
|
|
552
|
+
* }
|
|
553
|
+
* @path {PUT} /rest/api/3/workflowscheme/{id}/default
|
|
554
|
+
* @scopes-current manage:jira-configuration
|
|
555
|
+
* @scopes-beta read:workflow-scheme:jira, write:workflow-scheme:jira,
|
|
556
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
557
|
+
* read:issue-type:jira, read:project-category:jira, read:project:jira,
|
|
558
|
+
* read:user:jira
|
|
559
|
+
*/
|
|
560
|
+
updateDefaultWorkflow({ id, defaultWorkflow, }: {
|
|
561
|
+
/** The ID of the workflow scheme. */
|
|
562
|
+
id: number;
|
|
563
|
+
/**
|
|
564
|
+
* The new default workflow.
|
|
565
|
+
*
|
|
566
|
+
* @example {
|
|
567
|
+
* "updateDraftIfNeeded": false,
|
|
568
|
+
* "workflow": "jira"
|
|
569
|
+
* }
|
|
570
|
+
*/
|
|
571
|
+
defaultWorkflow: DefaultWorkflow;
|
|
572
|
+
}): Promise<WorkflowScheme>;
|
|
573
|
+
/**
|
|
574
|
+
* Updates company-managed and team-managed project workflow schemes. This API
|
|
575
|
+
* doesn't have a concept of draft, so any changes made to a workflow scheme are
|
|
576
|
+
* immediately available. When changing the available statuses for issue types, an
|
|
577
|
+
* [asynchronous task](#async) migrates the issues as defined in the provided
|
|
578
|
+
* mappings.
|
|
579
|
+
*
|
|
580
|
+
* **[Permissions](#permissions) required:**
|
|
581
|
+
*
|
|
582
|
+
* * *Administer Jira* project permission to update all, including
|
|
583
|
+
* global-scoped, workflow schemes.
|
|
584
|
+
* * *Administer projects* project permission to update project-scoped workflow
|
|
585
|
+
* schemes.
|
|
586
|
+
*
|
|
587
|
+
* @returns Returned if the request is successful and there is no asynchronous task.
|
|
588
|
+
* @path {POST} /rest/api/3/workflowscheme/update
|
|
589
|
+
* @scopes-current manage:jira-configuration
|
|
590
|
+
* @scopes-beta write:workflow-scheme:jira
|
|
591
|
+
*/
|
|
592
|
+
updateSchemes({ workflowSchemeUpdateRequest, }: {
|
|
593
|
+
/**
|
|
594
|
+
* @example {
|
|
595
|
+
* "defaultWorkflowId": "3e59db0f-ed6c-47ce-8d50-80c0c4572677",
|
|
596
|
+
* "description": "description",
|
|
597
|
+
* "id": "10000",
|
|
598
|
+
* "name": "name",
|
|
599
|
+
* "statusMappingsByIssueTypeOverride": [
|
|
600
|
+
* {
|
|
601
|
+
* "issueTypeId": "10001",
|
|
602
|
+
* "statusMappings": [
|
|
603
|
+
* {
|
|
604
|
+
* "newStatusId": "2",
|
|
605
|
+
* "oldStatusId": "1"
|
|
606
|
+
* },
|
|
607
|
+
* {
|
|
608
|
+
* "newStatusId": "4",
|
|
609
|
+
* "oldStatusId": "3"
|
|
610
|
+
* }
|
|
611
|
+
* ]
|
|
612
|
+
* },
|
|
613
|
+
* {
|
|
614
|
+
* "issueTypeId": "10002",
|
|
615
|
+
* "statusMappings": [
|
|
616
|
+
* {
|
|
617
|
+
* "newStatusId": "4",
|
|
618
|
+
* "oldStatusId": "1"
|
|
619
|
+
* },
|
|
620
|
+
* {
|
|
621
|
+
* "newStatusId": "2",
|
|
622
|
+
* "oldStatusId": "3"
|
|
623
|
+
* }
|
|
624
|
+
* ]
|
|
625
|
+
* }
|
|
626
|
+
* ],
|
|
627
|
+
* "statusMappingsByWorkflows": [
|
|
628
|
+
* {
|
|
629
|
+
* "newWorkflowId": "3e59db0f-ed6c-47ce-8d50-80c0c4572677",
|
|
630
|
+
* "oldWorkflowId": "3e59db0f-ed6c-47ce-8d50-80c0c4572677",
|
|
631
|
+
* "statusMappings": [
|
|
632
|
+
* {
|
|
633
|
+
* "newStatusId": "2",
|
|
634
|
+
* "oldStatusId": "1"
|
|
635
|
+
* },
|
|
636
|
+
* {
|
|
637
|
+
* "newStatusId": "4",
|
|
638
|
+
* "oldStatusId": "3"
|
|
639
|
+
* }
|
|
640
|
+
* ]
|
|
641
|
+
* }
|
|
642
|
+
* ],
|
|
643
|
+
* "version": {
|
|
644
|
+
* "id": "527213fc-bc72-400f-aae0-df8d88db2c8a",
|
|
645
|
+
* "versionNumber": 1
|
|
646
|
+
* },
|
|
647
|
+
* "workflowsForIssueTypes": [
|
|
648
|
+
* {
|
|
649
|
+
* "issueTypeIds": [
|
|
650
|
+
* "10000",
|
|
651
|
+
* "10003"
|
|
652
|
+
* ],
|
|
653
|
+
* "workflowId": "3e59db0f-ed6c-47ce-8d50-80c0c4572677"
|
|
654
|
+
* },
|
|
655
|
+
* {
|
|
656
|
+
* "issueTypeIds": [
|
|
657
|
+
* "10001`",
|
|
658
|
+
* "10002"
|
|
659
|
+
* ],
|
|
660
|
+
* "workflowId": "3f83dg2a-ns2n-56ab-9812-42h5j1461629"
|
|
661
|
+
* }
|
|
662
|
+
* ]
|
|
663
|
+
* }
|
|
664
|
+
*/
|
|
665
|
+
workflowSchemeUpdateRequest: WorkflowSchemeUpdateRequest;
|
|
666
|
+
}): Promise<unknown>;
|
|
667
|
+
/**
|
|
668
|
+
* Sets the issue types for a workflow in a workflow scheme. The workflow can also
|
|
669
|
+
* be set as the default workflow for the workflow scheme. Unmapped issues types
|
|
670
|
+
* are mapped to the default workflow.
|
|
671
|
+
*
|
|
672
|
+
* Note that active workflow schemes cannot be edited. If the workflow scheme is
|
|
673
|
+
* active, set `updateDraftIfNeeded` to `true` in the request body and a draft
|
|
674
|
+
* workflow scheme is created or updated with the new workflow-issue types
|
|
675
|
+
* mappings. The draft workflow scheme can be published in Jira.
|
|
676
|
+
*
|
|
677
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
678
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
679
|
+
*
|
|
680
|
+
* @returns Returned if the request is successful.
|
|
681
|
+
*
|
|
682
|
+
* example: {
|
|
683
|
+
* "defaultWorkflow": "jira",
|
|
684
|
+
* "description": "The description of the example workflow scheme.",
|
|
685
|
+
* "draft": false,
|
|
686
|
+
* "id": 101010,
|
|
687
|
+
* "issueTypeMappings": {
|
|
688
|
+
* "10000": "scrum workflow",
|
|
689
|
+
* "10001": "builds workflow"
|
|
690
|
+
* },
|
|
691
|
+
* "name": "Example workflow scheme",
|
|
692
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
|
|
693
|
+
* }
|
|
694
|
+
* @path {PUT} /rest/api/3/workflowscheme/{id}/workflow
|
|
695
|
+
* @scopes-current manage:jira-configuration
|
|
696
|
+
* @scopes-beta write:workflow-scheme:jira, read:workflow-scheme:jira, read:workflow:jira,
|
|
697
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
698
|
+
* read:issue-type:jira, read:project-category:jira, read:project:jira,
|
|
699
|
+
* read:user:jira
|
|
700
|
+
*/
|
|
701
|
+
updateWorkflowMapping({ id, workflowName, issueTypesWorkflowMapping, }: {
|
|
702
|
+
/** The ID of the workflow scheme. */
|
|
703
|
+
id: number;
|
|
704
|
+
/** The name of the workflow. */
|
|
705
|
+
workflowName: string;
|
|
706
|
+
/**
|
|
707
|
+
* @example {
|
|
708
|
+
* "issueTypes": [
|
|
709
|
+
* "10000"
|
|
710
|
+
* ],
|
|
711
|
+
* "updateDraftIfNeeded": true,
|
|
712
|
+
* "workflow": "jira"
|
|
713
|
+
* }
|
|
714
|
+
*/
|
|
715
|
+
issueTypesWorkflowMapping: IssueTypesWorkflowMapping;
|
|
716
|
+
}): Promise<WorkflowScheme>;
|
|
717
|
+
/**
|
|
718
|
+
* Updates a company-manged project workflow scheme, including the name, default
|
|
719
|
+
* workflow, issue type to project mappings, and more. If the workflow scheme is
|
|
720
|
+
* active (that is, being used by at least one project), then a draft workflow
|
|
721
|
+
* scheme is created or updated instead, provided that `updateDraftIfNeeded` is
|
|
722
|
+
* set to `true`.
|
|
723
|
+
*
|
|
724
|
+
* **[Permissions](#permissions) required:** *Administer Jira* [global
|
|
725
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
726
|
+
*
|
|
727
|
+
* @returns Returned if the request is successful.
|
|
728
|
+
*
|
|
729
|
+
* example: {
|
|
730
|
+
* "defaultWorkflow": "jira",
|
|
731
|
+
* "description": "The description of the example workflow scheme.",
|
|
732
|
+
* "draft": false,
|
|
733
|
+
* "id": 101010,
|
|
734
|
+
* "issueTypeMappings": {
|
|
735
|
+
* "10000": "scrum workflow",
|
|
736
|
+
* "10001": "builds workflow"
|
|
737
|
+
* },
|
|
738
|
+
* "name": "Example workflow scheme",
|
|
739
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/workflowscheme/101010"
|
|
740
|
+
* }
|
|
741
|
+
* @path {PUT} /rest/api/3/workflowscheme/{id}
|
|
742
|
+
* @scopes-current manage:jira-configuration
|
|
743
|
+
* @scopes-beta read:workflow-scheme:jira, write:workflow-scheme:jira,
|
|
744
|
+
* read:application-role:jira, read:avatar:jira, read:group:jira,
|
|
745
|
+
* read:issue-type:jira, read:project-category:jira, read:project:jira,
|
|
746
|
+
* read:user:jira
|
|
747
|
+
*/
|
|
748
|
+
updateWorkflowScheme({ id, workflowScheme, }: {
|
|
749
|
+
/**
|
|
750
|
+
* The ID of the workflow scheme. Find this ID by editing the desired workflow
|
|
751
|
+
* scheme in Jira. The ID is shown in the URL as `schemeId`. For example,
|
|
752
|
+
* *schemeId=10301*.
|
|
753
|
+
*/
|
|
754
|
+
id: number;
|
|
755
|
+
/**
|
|
756
|
+
* @example {
|
|
757
|
+
* "defaultWorkflow": "jira",
|
|
758
|
+
* "description": "The description of the example workflow scheme.",
|
|
759
|
+
* "issueTypeMappings": {
|
|
760
|
+
* "10000": "scrum workflow"
|
|
761
|
+
* },
|
|
762
|
+
* "name": "Example workflow scheme",
|
|
763
|
+
* "updateDraftIfNeeded": false
|
|
764
|
+
* }
|
|
765
|
+
*/
|
|
766
|
+
workflowScheme: WorkflowScheme;
|
|
767
|
+
}): Promise<WorkflowScheme>;
|
|
768
|
+
/**
|
|
769
|
+
* Gets the required status mappings for the desired changes to a workflow scheme.
|
|
770
|
+
* The results are provided per issue type and workflow. When updating a workflow
|
|
771
|
+
* scheme, status mappings can be provided per issue type, per workflow, or both.
|
|
772
|
+
*
|
|
773
|
+
* **[Permissions](#permissions) required:**
|
|
774
|
+
*
|
|
775
|
+
* * *Administer Jira* permission to update all, including global-scoped,
|
|
776
|
+
* workflow schemes.
|
|
777
|
+
* * *Administer projects* project permission to update project-scoped workflow
|
|
778
|
+
* schemes.
|
|
779
|
+
*
|
|
780
|
+
* @returns Returned if the request is successful.
|
|
781
|
+
*
|
|
782
|
+
* example: {
|
|
783
|
+
* "statusMappingsByIssueTypes": [
|
|
784
|
+
* {
|
|
785
|
+
* "issueTypeId": "10000",
|
|
786
|
+
* "statusIds": [
|
|
787
|
+
* "10000",
|
|
788
|
+
* "10001"
|
|
789
|
+
* ]
|
|
790
|
+
* }
|
|
791
|
+
* ],
|
|
792
|
+
* "statusMappingsByWorkflows": [
|
|
793
|
+
* {
|
|
794
|
+
* "sourceWorkflowId": "10000",
|
|
795
|
+
* "statusIds": [
|
|
796
|
+
* "10000",
|
|
797
|
+
* "10001"
|
|
798
|
+
* ],
|
|
799
|
+
* "targetWorkflowId": "10001"
|
|
800
|
+
* }
|
|
801
|
+
* ],
|
|
802
|
+
* "statuses": [
|
|
803
|
+
* {
|
|
804
|
+
* "category": "TODO",
|
|
805
|
+
* "id": "10000",
|
|
806
|
+
* "name": "To Do"
|
|
807
|
+
* }
|
|
808
|
+
* ],
|
|
809
|
+
* "statusesPerWorkflow": [
|
|
810
|
+
* {
|
|
811
|
+
* "initialStatusId": "10000",
|
|
812
|
+
* "statuses": [
|
|
813
|
+
* "10000",
|
|
814
|
+
* "10001"
|
|
815
|
+
* ],
|
|
816
|
+
* "workflowId": "10000"
|
|
817
|
+
* }
|
|
818
|
+
* ]
|
|
819
|
+
* }
|
|
820
|
+
* @path {POST} /rest/api/3/workflowscheme/update/mappings
|
|
821
|
+
* @scopes-current manage:jira-configuration
|
|
822
|
+
* @scopes-beta write:workflow-scheme:jira
|
|
823
|
+
*/
|
|
824
|
+
updateWorkflowSchemeMappings({ workflowSchemeUpdateRequiredMappingsRequest, }: {
|
|
825
|
+
/**
|
|
826
|
+
* @example {
|
|
827
|
+
* "defaultWorkflowId": "10010",
|
|
828
|
+
* "id": "10001",
|
|
829
|
+
* "workflowsForIssueTypes": [
|
|
830
|
+
* {
|
|
831
|
+
* "issueTypeIds": [
|
|
832
|
+
* "10010",
|
|
833
|
+
* "10011"
|
|
834
|
+
* ],
|
|
835
|
+
* "workflowId": "10001"
|
|
836
|
+
* }
|
|
837
|
+
* ]
|
|
838
|
+
* }
|
|
839
|
+
*/
|
|
840
|
+
workflowSchemeUpdateRequiredMappingsRequest: WorkflowSchemeUpdateRequiredMappingsRequest;
|
|
841
|
+
}): Promise<WorkflowSchemeUpdateRequiredMappingsResponse>;
|
|
842
|
+
static initialize(): void;
|
|
843
|
+
}
|