@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,1490 @@
|
|
|
1
|
+
import { type ZodTypeAny } from "zod";
|
|
2
|
+
import type { CommonValidationSchemaStorage } from "../core/common-validation-schema-storage";
|
|
3
|
+
import { type Hierarchy, type ProjectInsight, type ProjectLandingPageInfo, type ProjectPermissions, type RoleActor, type UserBean, type VersionApprover, type VersionIssuesStatus } from "./dashboards";
|
|
4
|
+
import { type UserPickerUser } from "./group-and-user-picker";
|
|
5
|
+
import { type FoundGroup } from "./groups";
|
|
6
|
+
import { type SimpleListWrapperApplicationRole, type SimpleListWrapperGroupName } from "./issue-attachments";
|
|
7
|
+
import { type PropertyKey } from "./issue-comment-properties";
|
|
8
|
+
import { type RemoveOptionFromIssuesResult } from "./issue-custom-field-options";
|
|
9
|
+
import { type ExpandPrioritySchemePage } from "./issue-links";
|
|
10
|
+
import { type NotificationSchemeEvent } from "./issue-notification-schemes";
|
|
11
|
+
import { type IssueTypeScreenScheme } from "./issue-type-screen-schemes";
|
|
12
|
+
import { type IncludedFields, type IssueTransition, type IssueUpdateMetadata, type Operations, type PageOfChangelogs } from "./issues";
|
|
13
|
+
import { type PermissionGrant } from "./permission-schemes";
|
|
14
|
+
import { type AppWorkflowTransitionRule, type WorkflowId } from "./workflow-transition-rules";
|
|
15
|
+
/** Details of an application role. */
|
|
16
|
+
export interface ApplicationRole {
|
|
17
|
+
/**
|
|
18
|
+
* The groups that are granted default access for this application role. As a
|
|
19
|
+
* group's name can change, use of `defaultGroupsDetails` is recommended to
|
|
20
|
+
* identify a groups.
|
|
21
|
+
*/
|
|
22
|
+
defaultGroups?: string[];
|
|
23
|
+
/** The groups that are granted default access for this application role. */
|
|
24
|
+
defaultGroupsDetails?: GroupName[];
|
|
25
|
+
/**
|
|
26
|
+
* Deprecated.
|
|
27
|
+
*
|
|
28
|
+
* @deprecated
|
|
29
|
+
*/
|
|
30
|
+
defined?: boolean;
|
|
31
|
+
/** The groups associated with the application role. */
|
|
32
|
+
groupDetails?: GroupName[];
|
|
33
|
+
/**
|
|
34
|
+
* The groups associated with the application role. As a group's name can change,
|
|
35
|
+
* use of `groupDetails` is recommended to identify a groups.
|
|
36
|
+
*/
|
|
37
|
+
groups?: string[];
|
|
38
|
+
hasUnlimitedSeats?: boolean;
|
|
39
|
+
/** The key of the application role. */
|
|
40
|
+
key?: string;
|
|
41
|
+
/** The display name of the application role. */
|
|
42
|
+
name?: string;
|
|
43
|
+
/** The maximum count of users on your license. */
|
|
44
|
+
numberOfSeats?: number;
|
|
45
|
+
/** Indicates if the application role belongs to Jira platform (`jira-core`). */
|
|
46
|
+
platform?: boolean;
|
|
47
|
+
/** The count of users remaining on your license. */
|
|
48
|
+
remainingSeats?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Determines whether this application role should be selected by default on user
|
|
51
|
+
* creation.
|
|
52
|
+
*/
|
|
53
|
+
selectedByDefault?: boolean;
|
|
54
|
+
/** The number of users counting against your license. */
|
|
55
|
+
userCount?: number;
|
|
56
|
+
/**
|
|
57
|
+
* The [type of users](https://confluence.atlassian.com/x/lRW3Ng) being counted
|
|
58
|
+
* against your license.
|
|
59
|
+
*/
|
|
60
|
+
userCountDescription?: string;
|
|
61
|
+
}
|
|
62
|
+
/** Details of an avatar. */
|
|
63
|
+
export interface Avatar extends Record<string, unknown> {
|
|
64
|
+
/** The file name of the avatar icon. Returned for system avatars. */
|
|
65
|
+
fileName?: string;
|
|
66
|
+
/** The ID of the avatar. */
|
|
67
|
+
id: string;
|
|
68
|
+
/** Whether the avatar can be deleted. */
|
|
69
|
+
isDeletable?: boolean;
|
|
70
|
+
/** Whether the avatar is used in Jira. For example, shown as a project's avatar. */
|
|
71
|
+
isSelected?: boolean;
|
|
72
|
+
/** Whether the avatar is a system avatar. */
|
|
73
|
+
isSystemAvatar?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* The owner of the avatar. For a system avatar the owner is null (and nothing is
|
|
76
|
+
* returned). For non-system avatars this is the appropriate identifier, such as
|
|
77
|
+
* the ID for a project or the account ID for a user.
|
|
78
|
+
*/
|
|
79
|
+
owner?: string;
|
|
80
|
+
/** The list of avatar icon URLs. */
|
|
81
|
+
urls?: {
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
/** The avatars of the user. */
|
|
86
|
+
export interface AvatarUrlsBean {
|
|
87
|
+
/** The URL of the item's 16x16 pixel avatar. */
|
|
88
|
+
"16x16"?: string;
|
|
89
|
+
/** The URL of the item's 24x24 pixel avatar. */
|
|
90
|
+
"24x24"?: string;
|
|
91
|
+
/** The URL of the item's 32x32 pixel avatar. */
|
|
92
|
+
"32x32"?: string;
|
|
93
|
+
/** The URL of the item's 48x48 pixel avatar. */
|
|
94
|
+
"48x48"?: string;
|
|
95
|
+
}
|
|
96
|
+
/** Details of an issue navigator column item. */
|
|
97
|
+
export interface ColumnItem {
|
|
98
|
+
/** The issue navigator column label. */
|
|
99
|
+
label?: string;
|
|
100
|
+
/** The issue navigator column value. */
|
|
101
|
+
value?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface ColumnRequestBody {
|
|
104
|
+
columns?: string[];
|
|
105
|
+
}
|
|
106
|
+
/** A comment. */
|
|
107
|
+
export interface Comment extends Record<string, unknown> {
|
|
108
|
+
/** The ID of the user who created the comment. */
|
|
109
|
+
author?: UserDetails;
|
|
110
|
+
/**
|
|
111
|
+
* The comment text in [Atlassian Document
|
|
112
|
+
* Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/).
|
|
113
|
+
*/
|
|
114
|
+
body?: unknown;
|
|
115
|
+
/** The date and time at which the comment was created. */
|
|
116
|
+
created?: string;
|
|
117
|
+
/** The ID of the comment. */
|
|
118
|
+
id?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Whether the comment was added from an email sent by a person who is not part of
|
|
121
|
+
* the issue. See [Allow external emails to be added as comments on
|
|
122
|
+
* issues](https://support.atlassian.com/jira-service-management-cloud/docs/allow-external-emails-to-be-added-as-comments-on-issues/)for
|
|
123
|
+
* information on setting up this feature.
|
|
124
|
+
*/
|
|
125
|
+
jsdAuthorCanSeeRequest?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Whether the comment is visible in Jira Service Desk. Defaults to true when
|
|
128
|
+
* comments are created in the Jira Cloud Platform. This includes when the site
|
|
129
|
+
* doesn't use Jira Service Desk or the project isn't a Jira Service Desk project
|
|
130
|
+
* and, therefore, there is no Jira Service Desk for the issue to be visible on.
|
|
131
|
+
* To create a comment with its visibility in Jira Service Desk set to false, use
|
|
132
|
+
* the Jira Service Desk REST API [Create request
|
|
133
|
+
* comment](https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-request-issueIdOrKey-comment-post)
|
|
134
|
+
* operation.
|
|
135
|
+
*/
|
|
136
|
+
jsdPublic?: boolean;
|
|
137
|
+
/** A list of comment properties. Optional on create and update. */
|
|
138
|
+
properties?: EntityProperty[];
|
|
139
|
+
/** The rendered version of the comment. */
|
|
140
|
+
renderedBody?: string;
|
|
141
|
+
/** The URL of the comment. */
|
|
142
|
+
self?: string;
|
|
143
|
+
/** The ID of the user who updated the comment last. */
|
|
144
|
+
updateAuthor?: UserDetails;
|
|
145
|
+
/** The date and time at which the comment was updated last. */
|
|
146
|
+
updated?: string;
|
|
147
|
+
/**
|
|
148
|
+
* The group or role to which this comment is visible. Optional on create and
|
|
149
|
+
* update.
|
|
150
|
+
*/
|
|
151
|
+
visibility?: Visibility;
|
|
152
|
+
}
|
|
153
|
+
/** Details about the default workflow. */
|
|
154
|
+
export interface DefaultWorkflow {
|
|
155
|
+
/**
|
|
156
|
+
* Whether a draft workflow scheme is created or updated when updating an active
|
|
157
|
+
* workflow scheme. The draft is updated with the new default workflow. Defaults
|
|
158
|
+
* to `false`.
|
|
159
|
+
*/
|
|
160
|
+
updateDraftIfNeeded?: boolean;
|
|
161
|
+
/** The name of the workflow to set as the default workflow. */
|
|
162
|
+
workflow: string;
|
|
163
|
+
}
|
|
164
|
+
/** The current version details of this workflow scheme. */
|
|
165
|
+
export interface DocumentVersion {
|
|
166
|
+
/** The version UUID. */
|
|
167
|
+
id: string;
|
|
168
|
+
/** The version number. */
|
|
169
|
+
versionNumber: number;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* An entity property, for more information see [Entity
|
|
173
|
+
* properties](https://developer.atlassian.com/cloud/jira/platform/jira-entity-properties/).
|
|
174
|
+
*/
|
|
175
|
+
export interface EntityProperty {
|
|
176
|
+
/** The key of the property. Required on create and update. */
|
|
177
|
+
key?: string;
|
|
178
|
+
/** The value of the property. Required on create and update. */
|
|
179
|
+
value?: unknown;
|
|
180
|
+
}
|
|
181
|
+
/** Error messages from an operation. */
|
|
182
|
+
export interface ErrorCollection {
|
|
183
|
+
/**
|
|
184
|
+
* The list of error messages produced by this operation. For example, "input
|
|
185
|
+
* parameter 'key' must be provided"
|
|
186
|
+
*/
|
|
187
|
+
errorMessages?: string[];
|
|
188
|
+
/**
|
|
189
|
+
* The list of errors by parameter returned by the operation. For
|
|
190
|
+
* example,"projectKey": "Project keys must start with an uppercase letter,
|
|
191
|
+
* followed by one or more uppercase alphanumeric characters."
|
|
192
|
+
*/
|
|
193
|
+
errors?: {
|
|
194
|
+
[key: string]: string;
|
|
195
|
+
};
|
|
196
|
+
status?: number;
|
|
197
|
+
}
|
|
198
|
+
/** Details about a field. */
|
|
199
|
+
export interface FieldDetails {
|
|
200
|
+
/**
|
|
201
|
+
* The names that can be used to reference the field in an advanced search. For
|
|
202
|
+
* more information, see [Advanced searching - fields
|
|
203
|
+
* reference](https://confluence.atlassian.com/x/gwORLQ).
|
|
204
|
+
*/
|
|
205
|
+
clauseNames?: string[];
|
|
206
|
+
/** Whether the field is a custom field. */
|
|
207
|
+
custom?: boolean;
|
|
208
|
+
/** The ID of the field. */
|
|
209
|
+
id?: string;
|
|
210
|
+
/** The key of the field. */
|
|
211
|
+
key?: string;
|
|
212
|
+
/** The name of the field. */
|
|
213
|
+
name?: string;
|
|
214
|
+
/** Whether the field can be used as a column on the issue navigator. */
|
|
215
|
+
navigable?: boolean;
|
|
216
|
+
/** Whether the content of the field can be used to order lists. */
|
|
217
|
+
orderable?: boolean;
|
|
218
|
+
/** The data schema for the field. */
|
|
219
|
+
schema?: JsonTypeBean;
|
|
220
|
+
/** The scope of the field. */
|
|
221
|
+
scope?: Scope;
|
|
222
|
+
/** Whether the content of the field can be searched. */
|
|
223
|
+
searchable?: boolean;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* The list of groups found in a search, including header text (Showing X of Y
|
|
227
|
+
* matching groups) and total of matched groups.
|
|
228
|
+
*/
|
|
229
|
+
export interface FoundGroups {
|
|
230
|
+
groups?: FoundGroup[];
|
|
231
|
+
/**
|
|
232
|
+
* Header text indicating the number of groups in the response and the total
|
|
233
|
+
* number of groups found in the search.
|
|
234
|
+
*/
|
|
235
|
+
header?: string;
|
|
236
|
+
/** The total number of groups found in the search. */
|
|
237
|
+
total?: number;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* The list of users found in a search, including header text (Showing X of Y
|
|
241
|
+
* matching users) and total of matched users.
|
|
242
|
+
*/
|
|
243
|
+
export interface FoundUsers {
|
|
244
|
+
/**
|
|
245
|
+
* Header text indicating the number of users in the response and the total number
|
|
246
|
+
* of users found in the search.
|
|
247
|
+
*/
|
|
248
|
+
header?: string;
|
|
249
|
+
/** The total number of users found in the search. */
|
|
250
|
+
total?: number;
|
|
251
|
+
users?: UserPickerUser[];
|
|
252
|
+
}
|
|
253
|
+
/** Details about a group. */
|
|
254
|
+
export interface GroupName {
|
|
255
|
+
/**
|
|
256
|
+
* The ID of the group, which uniquely identifies the group across all Atlassian
|
|
257
|
+
* products. For example, *952d12c3-5b5b-4d04-bb32-44d383afc4b2*.
|
|
258
|
+
*/
|
|
259
|
+
groupId?: string | null;
|
|
260
|
+
/** The name of group. */
|
|
261
|
+
name?: string;
|
|
262
|
+
/** The URL for these group details. */
|
|
263
|
+
self?: string;
|
|
264
|
+
}
|
|
265
|
+
/** Details about an issue. */
|
|
266
|
+
export interface IssueBean {
|
|
267
|
+
/** Details of changelogs associated with the issue. */
|
|
268
|
+
changelog?: PageOfChangelogs;
|
|
269
|
+
/** The metadata for the fields on the issue that can be amended. */
|
|
270
|
+
editmeta?: IssueUpdateMetadata;
|
|
271
|
+
/** Expand options that include additional issue details in the response. */
|
|
272
|
+
expand?: string;
|
|
273
|
+
fields?: {
|
|
274
|
+
[key: string]: unknown;
|
|
275
|
+
};
|
|
276
|
+
fieldsToInclude?: IncludedFields;
|
|
277
|
+
/** The ID of the issue. */
|
|
278
|
+
id?: string;
|
|
279
|
+
/** The key of the issue. */
|
|
280
|
+
key?: string;
|
|
281
|
+
/** The ID and name of each field present on the issue. */
|
|
282
|
+
names?: {
|
|
283
|
+
[key: string]: string;
|
|
284
|
+
};
|
|
285
|
+
/** The operations that can be performed on the issue. */
|
|
286
|
+
operations?: Operations;
|
|
287
|
+
/** Details of the issue properties identified in the request. */
|
|
288
|
+
properties?: {
|
|
289
|
+
[key: string]: unknown;
|
|
290
|
+
};
|
|
291
|
+
/** The rendered value of each field present on the issue. */
|
|
292
|
+
renderedFields?: {
|
|
293
|
+
[key: string]: unknown;
|
|
294
|
+
};
|
|
295
|
+
/** The schema describing each field present on the issue. */
|
|
296
|
+
schema?: {
|
|
297
|
+
/** The schema of a field. */
|
|
298
|
+
[key: string]: JsonTypeBean;
|
|
299
|
+
};
|
|
300
|
+
/** The URL of the issue details. */
|
|
301
|
+
self?: string;
|
|
302
|
+
/** The transitions that can be performed on the issue. */
|
|
303
|
+
transitions?: IssueTransition[];
|
|
304
|
+
/** The versions of each field on the issue. */
|
|
305
|
+
versionedRepresentations?: {
|
|
306
|
+
[key: string]: {
|
|
307
|
+
[key: string]: unknown;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* This object is used as follows:
|
|
313
|
+
*
|
|
314
|
+
* * In the [ issueLink](#api-rest-api-3-issueLink-post) resource it defines and
|
|
315
|
+
* reports on the type of link between the issues. Find a list of issue link types
|
|
316
|
+
* with [Get issue link types](#api-rest-api-3-issueLinkType-get).
|
|
317
|
+
* * In the [ issueLinkType](#api-rest-api-3-issueLinkType-post) resource it
|
|
318
|
+
* defines and reports on issue link types.
|
|
319
|
+
*/
|
|
320
|
+
export interface IssueLinkType {
|
|
321
|
+
/**
|
|
322
|
+
* The ID of the issue link type and is used as follows:
|
|
323
|
+
*
|
|
324
|
+
* * In the [ issueLink](#api-rest-api-3-issueLink-post) resource it is the type
|
|
325
|
+
* of issue link. Required on create when `name` isn't provided. Otherwise, read
|
|
326
|
+
* only.
|
|
327
|
+
* * In the [ issueLinkType](#api-rest-api-3-issueLinkType-post) resource it is
|
|
328
|
+
* read only.
|
|
329
|
+
*/
|
|
330
|
+
id?: string;
|
|
331
|
+
/**
|
|
332
|
+
* The description of the issue link type inward link and is used as follows:
|
|
333
|
+
*
|
|
334
|
+
* * In the [ issueLink](#api-rest-api-3-issueLink-post) resource it is read
|
|
335
|
+
* only.
|
|
336
|
+
* * In the [ issueLinkType](#api-rest-api-3-issueLinkType-post) resource it is
|
|
337
|
+
* required on create and optional on update. Otherwise, read only.
|
|
338
|
+
*/
|
|
339
|
+
inward?: string;
|
|
340
|
+
/**
|
|
341
|
+
* The name of the issue link type and is used as follows:
|
|
342
|
+
*
|
|
343
|
+
* * In the [ issueLink](#api-rest-api-3-issueLink-post) resource it is the type
|
|
344
|
+
* of issue link. Required on create when `id` isn't provided. Otherwise, read
|
|
345
|
+
* only.
|
|
346
|
+
* * In the [ issueLinkType](#api-rest-api-3-issueLinkType-post) resource it is
|
|
347
|
+
* required on create and optional on update. Otherwise, read only.
|
|
348
|
+
*/
|
|
349
|
+
name?: string;
|
|
350
|
+
/**
|
|
351
|
+
* The description of the issue link type outward link and is used as follows:
|
|
352
|
+
*
|
|
353
|
+
* * In the [ issueLink](#api-rest-api-3-issueLink-post) resource it is read
|
|
354
|
+
* only.
|
|
355
|
+
* * In the [ issueLinkType](#api-rest-api-3-issueLinkType-post) resource it is
|
|
356
|
+
* required on create and optional on update. Otherwise, read only.
|
|
357
|
+
*/
|
|
358
|
+
outward?: string;
|
|
359
|
+
/** The URL of the issue link type. Read only. */
|
|
360
|
+
self?: string;
|
|
361
|
+
}
|
|
362
|
+
/** Details about an issue type. */
|
|
363
|
+
export interface IssueTypeDetails {
|
|
364
|
+
/** The ID of the issue type's avatar. */
|
|
365
|
+
avatarId?: number;
|
|
366
|
+
/** The description of the issue type. */
|
|
367
|
+
description?: string;
|
|
368
|
+
/** Unique ID for next-gen projects. */
|
|
369
|
+
entityId?: string;
|
|
370
|
+
/** Hierarchy level of the issue type. */
|
|
371
|
+
hierarchyLevel?: number;
|
|
372
|
+
/** The URL of the issue type's avatar. */
|
|
373
|
+
iconUrl?: string;
|
|
374
|
+
/** The ID of the issue type. */
|
|
375
|
+
id?: string;
|
|
376
|
+
/** The name of the issue type. */
|
|
377
|
+
name?: string;
|
|
378
|
+
/** Details of the next-gen projects the issue type is available in. */
|
|
379
|
+
scope?: Scope;
|
|
380
|
+
/** The URL of these issue type details. */
|
|
381
|
+
self?: string;
|
|
382
|
+
/** Whether this issue type is used to create subtasks. */
|
|
383
|
+
subtask?: boolean;
|
|
384
|
+
}
|
|
385
|
+
/** The list of issue type IDs. */
|
|
386
|
+
export interface IssueTypeIds {
|
|
387
|
+
/** The list of issue type IDs. */
|
|
388
|
+
issueTypeIds: string[];
|
|
389
|
+
}
|
|
390
|
+
/** Details about the mapping between issue types and a workflow. */
|
|
391
|
+
export interface IssueTypesWorkflowMapping {
|
|
392
|
+
/** Whether the workflow is the default workflow for the workflow scheme. */
|
|
393
|
+
defaultMapping?: boolean;
|
|
394
|
+
/** The list of issue type IDs. */
|
|
395
|
+
issueTypes?: string[];
|
|
396
|
+
/**
|
|
397
|
+
* Whether a draft workflow scheme is created or updated when updating an active
|
|
398
|
+
* workflow scheme. The draft is updated with the new workflow-issue types
|
|
399
|
+
* mapping. Defaults to `false`.
|
|
400
|
+
*/
|
|
401
|
+
updateDraftIfNeeded?: boolean;
|
|
402
|
+
/** The name of the workflow. Optional if updating the workflow-issue types mapping. */
|
|
403
|
+
workflow?: string;
|
|
404
|
+
}
|
|
405
|
+
/** Details about the mapping between an issue type and a workflow. */
|
|
406
|
+
export interface IssueTypeWorkflowMapping {
|
|
407
|
+
/**
|
|
408
|
+
* The ID of the issue type. Not required if updating the issue type-workflow
|
|
409
|
+
* mapping.
|
|
410
|
+
*/
|
|
411
|
+
issueType?: string;
|
|
412
|
+
/**
|
|
413
|
+
* Set to true to create or update the draft of a workflow scheme and update the
|
|
414
|
+
* mapping in the draft, when the workflow scheme cannot be edited. Defaults to
|
|
415
|
+
* `false`. Only applicable when updating the workflow-issue types mapping.
|
|
416
|
+
*/
|
|
417
|
+
updateDraftIfNeeded?: boolean;
|
|
418
|
+
/** The name of the workflow. */
|
|
419
|
+
workflow?: string;
|
|
420
|
+
}
|
|
421
|
+
export interface JsonNode {
|
|
422
|
+
array?: boolean;
|
|
423
|
+
bigDecimal?: boolean;
|
|
424
|
+
bigInteger?: boolean;
|
|
425
|
+
bigIntegerValue?: number;
|
|
426
|
+
binary?: boolean;
|
|
427
|
+
binaryValue?: string[];
|
|
428
|
+
boolean?: boolean;
|
|
429
|
+
booleanValue?: boolean;
|
|
430
|
+
containerNode?: boolean;
|
|
431
|
+
decimalValue?: number;
|
|
432
|
+
double?: boolean;
|
|
433
|
+
doubleValue?: number;
|
|
434
|
+
elements?: {
|
|
435
|
+
[key: string]: unknown;
|
|
436
|
+
};
|
|
437
|
+
fieldNames?: {
|
|
438
|
+
[key: string]: unknown;
|
|
439
|
+
};
|
|
440
|
+
fields?: {
|
|
441
|
+
[key: string]: unknown;
|
|
442
|
+
};
|
|
443
|
+
floatingPointNumber?: boolean;
|
|
444
|
+
int?: boolean;
|
|
445
|
+
intValue?: number;
|
|
446
|
+
integralNumber?: boolean;
|
|
447
|
+
long?: boolean;
|
|
448
|
+
longValue?: number;
|
|
449
|
+
missingNode?: boolean;
|
|
450
|
+
null?: boolean;
|
|
451
|
+
number?: boolean;
|
|
452
|
+
numberType?: "INT" | "LONG" | "BIG_INTEGER" | "FLOAT" | "DOUBLE" | "BIG_DECIMAL";
|
|
453
|
+
numberValue?: number;
|
|
454
|
+
object?: boolean;
|
|
455
|
+
pojo?: boolean;
|
|
456
|
+
textValue?: string;
|
|
457
|
+
textual?: boolean;
|
|
458
|
+
valueAsBoolean?: boolean;
|
|
459
|
+
valueAsDouble?: number;
|
|
460
|
+
valueAsInt?: number;
|
|
461
|
+
valueAsLong?: number;
|
|
462
|
+
valueAsText?: string;
|
|
463
|
+
valueNode?: boolean;
|
|
464
|
+
}
|
|
465
|
+
/** The schema of a field. */
|
|
466
|
+
export interface JsonTypeBean {
|
|
467
|
+
/** If the field is a custom field, the configuration of the field. */
|
|
468
|
+
configuration?: {
|
|
469
|
+
[key: string]: unknown;
|
|
470
|
+
};
|
|
471
|
+
/** If the field is a custom field, the URI of the field. */
|
|
472
|
+
custom?: string;
|
|
473
|
+
/** If the field is a custom field, the custom ID of the field. */
|
|
474
|
+
customId?: number;
|
|
475
|
+
/** When the data type is an array, the name of the field items within the array. */
|
|
476
|
+
items?: string;
|
|
477
|
+
/** If the field is a system field, the name of the field. */
|
|
478
|
+
system?: string;
|
|
479
|
+
/** The data type of the field. */
|
|
480
|
+
type: string;
|
|
481
|
+
}
|
|
482
|
+
/** Details about a notification scheme. */
|
|
483
|
+
export interface NotificationScheme {
|
|
484
|
+
/** The description of the notification scheme. */
|
|
485
|
+
description?: string;
|
|
486
|
+
/**
|
|
487
|
+
* Expand options that include additional notification scheme details in the
|
|
488
|
+
* response.
|
|
489
|
+
*/
|
|
490
|
+
expand?: string;
|
|
491
|
+
/** The ID of the notification scheme. */
|
|
492
|
+
id?: number;
|
|
493
|
+
/** The name of the notification scheme. */
|
|
494
|
+
name?: string;
|
|
495
|
+
/** The notification events and associated recipients. */
|
|
496
|
+
notificationSchemeEvents?: NotificationSchemeEvent[];
|
|
497
|
+
/** The list of project IDs associated with the notification scheme. */
|
|
498
|
+
projects?: number[];
|
|
499
|
+
/** The scope of the notification scheme. */
|
|
500
|
+
scope?: Scope;
|
|
501
|
+
self?: string;
|
|
502
|
+
}
|
|
503
|
+
/** A page of items. */
|
|
504
|
+
export interface PageBeanIssueTypeScreenScheme {
|
|
505
|
+
/** Whether this is the last page. */
|
|
506
|
+
isLast?: boolean;
|
|
507
|
+
/** The maximum number of items that could be returned. */
|
|
508
|
+
maxResults?: number;
|
|
509
|
+
/** If there is another page of results, the URL of the next page. */
|
|
510
|
+
nextPage?: string;
|
|
511
|
+
/** The URL of the page. */
|
|
512
|
+
self?: string;
|
|
513
|
+
/** The index of the first item returned. */
|
|
514
|
+
startAt?: number;
|
|
515
|
+
/** The number of items returned. */
|
|
516
|
+
total?: number;
|
|
517
|
+
/** The list of items. */
|
|
518
|
+
values?: IssueTypeScreenScheme[];
|
|
519
|
+
}
|
|
520
|
+
/** A page of items. */
|
|
521
|
+
export interface PageBeanProject {
|
|
522
|
+
/** Whether this is the last page. */
|
|
523
|
+
isLast?: boolean;
|
|
524
|
+
/** The maximum number of items that could be returned. */
|
|
525
|
+
maxResults?: number;
|
|
526
|
+
/** If there is another page of results, the URL of the next page. */
|
|
527
|
+
nextPage?: string;
|
|
528
|
+
/** The URL of the page. */
|
|
529
|
+
self?: string;
|
|
530
|
+
/** The index of the first item returned. */
|
|
531
|
+
startAt?: number;
|
|
532
|
+
/** The number of items returned. */
|
|
533
|
+
total?: number;
|
|
534
|
+
/** The list of items. */
|
|
535
|
+
values?: Project[];
|
|
536
|
+
}
|
|
537
|
+
/** A page of items. */
|
|
538
|
+
export interface PageBeanProjectDetails {
|
|
539
|
+
/** Whether this is the last page. */
|
|
540
|
+
isLast?: boolean;
|
|
541
|
+
/** The maximum number of items that could be returned. */
|
|
542
|
+
maxResults?: number;
|
|
543
|
+
/** If there is another page of results, the URL of the next page. */
|
|
544
|
+
nextPage?: string;
|
|
545
|
+
/** The URL of the page. */
|
|
546
|
+
self?: string;
|
|
547
|
+
/** The index of the first item returned. */
|
|
548
|
+
startAt?: number;
|
|
549
|
+
/** The number of items returned. */
|
|
550
|
+
total?: number;
|
|
551
|
+
/** The list of items. */
|
|
552
|
+
values?: ProjectDetails[];
|
|
553
|
+
}
|
|
554
|
+
/** A page of items. */
|
|
555
|
+
export interface PageBeanUser {
|
|
556
|
+
/** Whether this is the last page. */
|
|
557
|
+
isLast?: boolean;
|
|
558
|
+
/** The maximum number of items that could be returned. */
|
|
559
|
+
maxResults?: number;
|
|
560
|
+
/** If there is another page of results, the URL of the next page. */
|
|
561
|
+
nextPage?: string;
|
|
562
|
+
/** The URL of the page. */
|
|
563
|
+
self?: string;
|
|
564
|
+
/** The index of the first item returned. */
|
|
565
|
+
startAt?: number;
|
|
566
|
+
/** The number of items returned. */
|
|
567
|
+
total?: number;
|
|
568
|
+
/** The list of items. */
|
|
569
|
+
values?: User[];
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* Details of a user, group, field, or project role that holds a permission. See
|
|
573
|
+
* [Holder object](../api-group-permission-schemes/#holder-object) in *Get all
|
|
574
|
+
* permission schemes* for more information.
|
|
575
|
+
*/
|
|
576
|
+
export interface PermissionHolder {
|
|
577
|
+
/**
|
|
578
|
+
* Expand options that include additional permission holder details in the
|
|
579
|
+
* response.
|
|
580
|
+
*/
|
|
581
|
+
expand?: string;
|
|
582
|
+
/**
|
|
583
|
+
* As a group's name can change, use of `value` is recommended. The identifier
|
|
584
|
+
* associated withthe `type` value that defines the holder of the permission.
|
|
585
|
+
*/
|
|
586
|
+
parameter?: string;
|
|
587
|
+
/** The type of permission holder. */
|
|
588
|
+
type: string;
|
|
589
|
+
/**
|
|
590
|
+
* The identifier associated with the `type` value that defines the holder of the
|
|
591
|
+
* permission.
|
|
592
|
+
*/
|
|
593
|
+
value?: string;
|
|
594
|
+
}
|
|
595
|
+
/** Details of a permission scheme. */
|
|
596
|
+
export interface PermissionScheme extends Record<string, unknown> {
|
|
597
|
+
/** A description for the permission scheme. */
|
|
598
|
+
description?: string;
|
|
599
|
+
/** The expand options available for the permission scheme. */
|
|
600
|
+
expand?: string;
|
|
601
|
+
/** The ID of the permission scheme. */
|
|
602
|
+
id?: number;
|
|
603
|
+
/** The name of the permission scheme. Must be unique. */
|
|
604
|
+
name: string;
|
|
605
|
+
/**
|
|
606
|
+
* The permission scheme to create or update. See [About permission schemes and
|
|
607
|
+
* grants](../api-group-permission-schemes/#about-permission-schemes-and-grants)
|
|
608
|
+
* for more information.
|
|
609
|
+
*/
|
|
610
|
+
permissions?: PermissionGrant[];
|
|
611
|
+
/** The scope of the permission scheme. */
|
|
612
|
+
scope?: Scope;
|
|
613
|
+
/** The URL of the permission scheme. */
|
|
614
|
+
self?: string;
|
|
615
|
+
}
|
|
616
|
+
/** An issue priority. */
|
|
617
|
+
export interface Priority extends Record<string, unknown> {
|
|
618
|
+
/** The description of the issue priority. */
|
|
619
|
+
description?: string;
|
|
620
|
+
/** The URL of the icon for the issue priority. */
|
|
621
|
+
iconUrl?: string;
|
|
622
|
+
/** The ID of the issue priority. */
|
|
623
|
+
id?: string;
|
|
624
|
+
/** Whether this priority is the default. */
|
|
625
|
+
isDefault?: boolean;
|
|
626
|
+
/** The name of the issue priority. */
|
|
627
|
+
name?: string;
|
|
628
|
+
/** Priority schemes associated with the issue priority. */
|
|
629
|
+
schemes?: ExpandPrioritySchemePage;
|
|
630
|
+
/** The URL of the issue priority. */
|
|
631
|
+
self?: string;
|
|
632
|
+
/** The color used to indicate the issue priority. */
|
|
633
|
+
statusColor?: string;
|
|
634
|
+
}
|
|
635
|
+
/** Details about a project. */
|
|
636
|
+
export interface Project {
|
|
637
|
+
/** Whether the project is archived. */
|
|
638
|
+
archived?: boolean;
|
|
639
|
+
/** The user who archived the project. */
|
|
640
|
+
archivedBy?: User;
|
|
641
|
+
/** The date when the project was archived. */
|
|
642
|
+
archivedDate?: string;
|
|
643
|
+
/** The default assignee when creating issues for this project. */
|
|
644
|
+
assigneeType?: "PROJECT_LEAD" | "UNASSIGNED";
|
|
645
|
+
/** The URLs of the project's avatars. */
|
|
646
|
+
avatarUrls?: AvatarUrlsBean;
|
|
647
|
+
/** List of the components contained in the project. */
|
|
648
|
+
components?: ProjectComponent[];
|
|
649
|
+
/** Whether the project is marked as deleted. */
|
|
650
|
+
deleted?: boolean;
|
|
651
|
+
/** The user who marked the project as deleted. */
|
|
652
|
+
deletedBy?: User;
|
|
653
|
+
/** The date when the project was marked as deleted. */
|
|
654
|
+
deletedDate?: string;
|
|
655
|
+
/** A brief description of the project. */
|
|
656
|
+
description?: string;
|
|
657
|
+
/** An email address associated with the project. */
|
|
658
|
+
email?: string;
|
|
659
|
+
/** Expand options that include additional project details in the response. */
|
|
660
|
+
expand?: string;
|
|
661
|
+
/** Whether the project is selected as a favorite. */
|
|
662
|
+
favourite?: boolean;
|
|
663
|
+
/** The ID of the project. */
|
|
664
|
+
id?: string;
|
|
665
|
+
/** Insights about the project. */
|
|
666
|
+
insight?: ProjectInsight;
|
|
667
|
+
/**
|
|
668
|
+
* Whether the project is private from the user's perspective. This means the user
|
|
669
|
+
* can't see the project or any associated issues.
|
|
670
|
+
*/
|
|
671
|
+
isPrivate?: boolean;
|
|
672
|
+
/** The issue type hierarchy for the project. */
|
|
673
|
+
issueTypeHierarchy?: Hierarchy;
|
|
674
|
+
/** List of the issue types available in the project. */
|
|
675
|
+
issueTypes?: IssueTypeDetails[];
|
|
676
|
+
/** The key of the project. */
|
|
677
|
+
key?: string;
|
|
678
|
+
/** The project landing page info. */
|
|
679
|
+
landingPageInfo?: ProjectLandingPageInfo;
|
|
680
|
+
/** The username of the project lead. */
|
|
681
|
+
lead?: User;
|
|
682
|
+
/** The name of the project. */
|
|
683
|
+
name?: string;
|
|
684
|
+
/** User permissions on the project */
|
|
685
|
+
permissions?: ProjectPermissions;
|
|
686
|
+
/** The category the project belongs to. */
|
|
687
|
+
projectCategory?: ProjectCategory;
|
|
688
|
+
/**
|
|
689
|
+
* The [project
|
|
690
|
+
* type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes)
|
|
691
|
+
* of the project.
|
|
692
|
+
*/
|
|
693
|
+
projectTypeKey?: "software" | "service_desk" | "business";
|
|
694
|
+
/** Map of project properties */
|
|
695
|
+
properties?: {
|
|
696
|
+
[key: string]: unknown;
|
|
697
|
+
};
|
|
698
|
+
/** The date when the project is deleted permanently. */
|
|
699
|
+
retentionTillDate?: string;
|
|
700
|
+
/**
|
|
701
|
+
* The name and self URL for each role defined in the project. For more
|
|
702
|
+
* information, see [Create project role](#api-rest-api-3-role-post).
|
|
703
|
+
*/
|
|
704
|
+
roles?: {
|
|
705
|
+
[key: string]: string;
|
|
706
|
+
};
|
|
707
|
+
/** The URL of the project details. */
|
|
708
|
+
self?: string;
|
|
709
|
+
/** Whether the project is simplified. */
|
|
710
|
+
simplified?: boolean;
|
|
711
|
+
/** The type of the project. */
|
|
712
|
+
style?: "classic" | "next-gen";
|
|
713
|
+
/** A link to information about this project, such as project documentation. */
|
|
714
|
+
url?: string;
|
|
715
|
+
/** Unique ID for next-gen projects. */
|
|
716
|
+
uuid?: string;
|
|
717
|
+
/**
|
|
718
|
+
* The versions defined in the project. For more information, see [Create
|
|
719
|
+
* version](#api-rest-api-3-version-post).
|
|
720
|
+
*/
|
|
721
|
+
versions?: Version[];
|
|
722
|
+
}
|
|
723
|
+
/** A project category. */
|
|
724
|
+
export interface ProjectCategory {
|
|
725
|
+
/** The description of the project category. */
|
|
726
|
+
description?: string;
|
|
727
|
+
/** The ID of the project category. */
|
|
728
|
+
id?: string;
|
|
729
|
+
/** The name of the project category. Required on create, optional on update. */
|
|
730
|
+
name?: string;
|
|
731
|
+
/** The URL of the project category. */
|
|
732
|
+
self?: string;
|
|
733
|
+
}
|
|
734
|
+
/** Details about a project component. */
|
|
735
|
+
export interface ProjectComponent {
|
|
736
|
+
/**
|
|
737
|
+
* Compass component's ID. Can't be updated. Not required for creating a Project
|
|
738
|
+
* Component.
|
|
739
|
+
*/
|
|
740
|
+
ari?: string;
|
|
741
|
+
/**
|
|
742
|
+
* The details of the user associated with `assigneeType`, if any. See
|
|
743
|
+
* `realAssignee` for details of the user assigned to issues created with this
|
|
744
|
+
* component.
|
|
745
|
+
*/
|
|
746
|
+
assignee?: User;
|
|
747
|
+
/**
|
|
748
|
+
* The nominal user type used to determine the assignee for issues created with
|
|
749
|
+
* this component. See `realAssigneeType` for details on how the type of the user,
|
|
750
|
+
* and hence the user, assigned to issues is determined. Can take the following
|
|
751
|
+
* values:
|
|
752
|
+
*
|
|
753
|
+
* * `PROJECT_LEAD` the assignee to any issues created with this component is
|
|
754
|
+
* nominally the lead for the project the component is in.
|
|
755
|
+
* * `COMPONENT_LEAD` the assignee to any issues created with this component is
|
|
756
|
+
* nominally the lead for the component.
|
|
757
|
+
* * `UNASSIGNED` an assignee is not set for issues created with this component.
|
|
758
|
+
* * `PROJECT_DEFAULT` the assignee to any issues created with this component is
|
|
759
|
+
* nominally the default assignee for the project that the component is in.
|
|
760
|
+
*
|
|
761
|
+
* Default value: `PROJECT_DEFAULT`.
|
|
762
|
+
* Optional when creating or updating a component.
|
|
763
|
+
*/
|
|
764
|
+
assigneeType?: "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED";
|
|
765
|
+
/**
|
|
766
|
+
* The description for the component. Optional when creating or updating a
|
|
767
|
+
* component.
|
|
768
|
+
*/
|
|
769
|
+
description?: string;
|
|
770
|
+
/** The unique identifier for the component. */
|
|
771
|
+
id?: string;
|
|
772
|
+
/**
|
|
773
|
+
* Whether a user is associated with `assigneeType`. For example, if the
|
|
774
|
+
* `assigneeType` is set to `COMPONENT_LEAD` but the component lead is not set,
|
|
775
|
+
* then `false` is returned.
|
|
776
|
+
*/
|
|
777
|
+
isAssigneeTypeValid?: boolean;
|
|
778
|
+
/** The user details for the component's lead user. */
|
|
779
|
+
lead?: User;
|
|
780
|
+
/**
|
|
781
|
+
* The accountId of the component's lead user. The accountId uniquely identifies
|
|
782
|
+
* the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
|
|
783
|
+
*/
|
|
784
|
+
leadAccountId?: string;
|
|
785
|
+
/**
|
|
786
|
+
* This property is no longer available and will be removed from the documentation
|
|
787
|
+
* soon. See the [deprecation
|
|
788
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
789
|
+
* for details.
|
|
790
|
+
*/
|
|
791
|
+
leadUserName?: string;
|
|
792
|
+
/**
|
|
793
|
+
* Compass component's metadata. Can't be updated. Not required for creating a
|
|
794
|
+
* Project Component.
|
|
795
|
+
*/
|
|
796
|
+
metadata?: {
|
|
797
|
+
[key: string]: string;
|
|
798
|
+
};
|
|
799
|
+
/**
|
|
800
|
+
* The unique name for the component in the project. Required when creating a
|
|
801
|
+
* component. Optional when updating a component. The maximum length is 255
|
|
802
|
+
* characters.
|
|
803
|
+
*/
|
|
804
|
+
name?: string;
|
|
805
|
+
/**
|
|
806
|
+
* The key of the project the component is assigned to. Required when creating a
|
|
807
|
+
* component. Can't be updated.
|
|
808
|
+
*/
|
|
809
|
+
project?: string;
|
|
810
|
+
/** The ID of the project the component is assigned to. */
|
|
811
|
+
projectId?: number;
|
|
812
|
+
/**
|
|
813
|
+
* The user assigned to issues created with this component, when `assigneeType`
|
|
814
|
+
* does not identify a valid assignee.
|
|
815
|
+
*/
|
|
816
|
+
realAssignee?: User;
|
|
817
|
+
/**
|
|
818
|
+
* The type of the assignee that is assigned to issues created with this
|
|
819
|
+
* component, when an assignee cannot be set from the `assigneeType`. For example,
|
|
820
|
+
* `assigneeType` is set to `COMPONENT_LEAD` but no component lead is set. This
|
|
821
|
+
* property is set to one of the following values:
|
|
822
|
+
*
|
|
823
|
+
* * `PROJECT_LEAD` when `assigneeType` is `PROJECT_LEAD` and the project lead
|
|
824
|
+
* has permission to be assigned issues in the project that the component is in.
|
|
825
|
+
* * `COMPONENT_LEAD` when `assignee`Type is `COMPONENT_LEAD` and the component
|
|
826
|
+
* lead has permission to be assigned issues in the project that the component is
|
|
827
|
+
* in.
|
|
828
|
+
* * `UNASSIGNED` when `assigneeType` is `UNASSIGNED` and Jira is configured to
|
|
829
|
+
* allow unassigned issues.
|
|
830
|
+
* * `PROJECT_DEFAULT` when none of the preceding cases are true.
|
|
831
|
+
*/
|
|
832
|
+
realAssigneeType?: "PROJECT_DEFAULT" | "COMPONENT_LEAD" | "PROJECT_LEAD" | "UNASSIGNED";
|
|
833
|
+
/** The URL of the component. */
|
|
834
|
+
self?: string;
|
|
835
|
+
}
|
|
836
|
+
/** Details about a project. */
|
|
837
|
+
export interface ProjectDetails {
|
|
838
|
+
/** The URLs of the project's avatars. */
|
|
839
|
+
avatarUrls?: AvatarUrlsBean;
|
|
840
|
+
/** The ID of the project. */
|
|
841
|
+
id?: string;
|
|
842
|
+
/** The key of the project. */
|
|
843
|
+
key?: string;
|
|
844
|
+
/** The name of the project. */
|
|
845
|
+
name?: string;
|
|
846
|
+
/** The category the project belongs to. */
|
|
847
|
+
projectCategory?: UpdatedProjectCategory;
|
|
848
|
+
/**
|
|
849
|
+
* The [project
|
|
850
|
+
* type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes)
|
|
851
|
+
* of the project.
|
|
852
|
+
*/
|
|
853
|
+
projectTypeKey?: "software" | "service_desk" | "business";
|
|
854
|
+
/** The URL of the project details. */
|
|
855
|
+
self?: string;
|
|
856
|
+
/** Whether or not the project is simplified. */
|
|
857
|
+
simplified?: boolean;
|
|
858
|
+
}
|
|
859
|
+
/** Project ID details. */
|
|
860
|
+
export interface ProjectId {
|
|
861
|
+
/** The ID of the project. */
|
|
862
|
+
id: string;
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
* Use the optional `workflows.usages` expand to get additional information about
|
|
866
|
+
* the projects and issue types associated with the requested workflows.
|
|
867
|
+
*/
|
|
868
|
+
export interface ProjectIssueTypes {
|
|
869
|
+
/** IDs of the issue types */
|
|
870
|
+
issueTypes?: (string | null)[] | null;
|
|
871
|
+
/** Project ID details. */
|
|
872
|
+
project?: ProjectId | null;
|
|
873
|
+
}
|
|
874
|
+
/** Details about the roles in a project. */
|
|
875
|
+
export interface ProjectRole {
|
|
876
|
+
/** The list of users who act in this role. */
|
|
877
|
+
actors?: RoleActor[];
|
|
878
|
+
/** Whether this role is the admin role for the project. */
|
|
879
|
+
admin?: boolean;
|
|
880
|
+
/** Whether the calling user is part of this role. */
|
|
881
|
+
currentUserRole?: boolean;
|
|
882
|
+
/** Whether this role is the default role for the project */
|
|
883
|
+
default?: boolean;
|
|
884
|
+
/** The description of the project role. */
|
|
885
|
+
description?: string;
|
|
886
|
+
/** The ID of the project role. */
|
|
887
|
+
id?: number;
|
|
888
|
+
/** The name of the project role. */
|
|
889
|
+
name?: string;
|
|
890
|
+
/** Whether the roles are configurable for this project. */
|
|
891
|
+
roleConfigurable?: boolean;
|
|
892
|
+
/**
|
|
893
|
+
* The scope of the role. Indicated for roles associated with [next-gen
|
|
894
|
+
* projects](https://confluence.atlassian.com/x/loMyO).
|
|
895
|
+
*/
|
|
896
|
+
scope?: Scope;
|
|
897
|
+
/** The URL the project role details. */
|
|
898
|
+
self?: string;
|
|
899
|
+
/** The translated name of the project role. */
|
|
900
|
+
translatedName?: string;
|
|
901
|
+
}
|
|
902
|
+
/** List of property keys. */
|
|
903
|
+
export interface PropertyKeys {
|
|
904
|
+
/** Property key details. */
|
|
905
|
+
keys?: PropertyKey[];
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* The projects the item is associated with. Indicated for items associated with
|
|
909
|
+
* [next-gen projects](https://confluence.atlassian.com/x/loMyO).
|
|
910
|
+
*/
|
|
911
|
+
export interface Scope extends Record<string, unknown> {
|
|
912
|
+
/** The project the item has scope in. */
|
|
913
|
+
project?: ProjectDetails;
|
|
914
|
+
/** The type of scope. */
|
|
915
|
+
type?: "PROJECT" | "TEMPLATE";
|
|
916
|
+
}
|
|
917
|
+
/** A screen tab field. */
|
|
918
|
+
export interface ScreenableField {
|
|
919
|
+
/** The ID of the screen tab field. */
|
|
920
|
+
id?: string;
|
|
921
|
+
/**
|
|
922
|
+
* The name of the screen tab field. Required on create and update. The maximum
|
|
923
|
+
* length is 255 characters.
|
|
924
|
+
*/
|
|
925
|
+
name?: string;
|
|
926
|
+
}
|
|
927
|
+
/** A screen tab. */
|
|
928
|
+
export interface ScreenableTab {
|
|
929
|
+
/** The ID of the screen tab. */
|
|
930
|
+
id?: number;
|
|
931
|
+
/** The name of the screen tab. The maximum length is 255 characters. */
|
|
932
|
+
name: string;
|
|
933
|
+
}
|
|
934
|
+
/** Details of an issue level security item. */
|
|
935
|
+
export interface SecurityLevel {
|
|
936
|
+
/** The description of the issue level security item. */
|
|
937
|
+
description?: string;
|
|
938
|
+
/** The ID of the issue level security item. */
|
|
939
|
+
id?: string;
|
|
940
|
+
/** Whether the issue level security item is the default. */
|
|
941
|
+
isDefault?: boolean;
|
|
942
|
+
/** The ID of the issue level security scheme. */
|
|
943
|
+
issueSecuritySchemeId?: string;
|
|
944
|
+
/** The name of the issue level security item. */
|
|
945
|
+
name?: string;
|
|
946
|
+
/** The URL of the issue level security item. */
|
|
947
|
+
self?: string;
|
|
948
|
+
}
|
|
949
|
+
/** Details about a security scheme. */
|
|
950
|
+
export interface SecurityScheme {
|
|
951
|
+
/** The ID of the default security level. */
|
|
952
|
+
defaultSecurityLevelId?: number;
|
|
953
|
+
/** The description of the issue security scheme. */
|
|
954
|
+
description?: string;
|
|
955
|
+
/** The ID of the issue security scheme. */
|
|
956
|
+
id?: number;
|
|
957
|
+
levels?: SecurityLevel[];
|
|
958
|
+
/** The name of the issue security scheme. */
|
|
959
|
+
name?: string;
|
|
960
|
+
/** The URL of the issue security scheme. */
|
|
961
|
+
self?: string;
|
|
962
|
+
}
|
|
963
|
+
/** Details of a share permission for the filter. */
|
|
964
|
+
export interface SharePermission {
|
|
965
|
+
/**
|
|
966
|
+
* The group that the filter is shared with. For a request, specify the `groupId`
|
|
967
|
+
* or `name` property for the group. As a group's name can change, use of
|
|
968
|
+
* `groupId` is recommended.
|
|
969
|
+
*/
|
|
970
|
+
group?: GroupName;
|
|
971
|
+
/** The unique identifier of the share permission. */
|
|
972
|
+
id?: number;
|
|
973
|
+
/**
|
|
974
|
+
* The project that the filter is shared with. This is similar to the project
|
|
975
|
+
* object returned by [Get project](#api-rest-api-3-project-projectIdOrKey-get)
|
|
976
|
+
* but it contains a subset of the properties, which are: `self`, `id`, `key`,
|
|
977
|
+
* `assigneeType`, `name`, `roles`, `avatarUrls`, `projectType`, `simplified`.
|
|
978
|
+
* For a request, specify the `id` for the project.
|
|
979
|
+
*/
|
|
980
|
+
project?: Project;
|
|
981
|
+
/**
|
|
982
|
+
* The project role that the filter is shared with.
|
|
983
|
+
* For a request, specify the `id` for the role. You must also specify the
|
|
984
|
+
* `project` object and `id` for the project that the role is in.
|
|
985
|
+
*/
|
|
986
|
+
role?: ProjectRole;
|
|
987
|
+
/**
|
|
988
|
+
* The type of share permission:
|
|
989
|
+
*
|
|
990
|
+
* * `user` Shared with a user.
|
|
991
|
+
* * `group` Shared with a group. If set in a request, then specify
|
|
992
|
+
* `sharePermission.group` as well.
|
|
993
|
+
* * `project` Shared with a project. If set in a request, then specify
|
|
994
|
+
* `sharePermission.project` as well.
|
|
995
|
+
* * `projectRole` Share with a project role in a project. This value is not
|
|
996
|
+
* returned in responses. It is used in requests, where it needs to be specify
|
|
997
|
+
* with `projectId` and `projectRoleId`.
|
|
998
|
+
* * `global` Shared globally. If set in a request, no other `sharePermission`
|
|
999
|
+
* properties need to be specified.
|
|
1000
|
+
* * `loggedin` Shared with all logged-in users. Note: This value is set in a
|
|
1001
|
+
* request by specifying `authenticated` as the `type`.
|
|
1002
|
+
* * `project-unknown` Shared with a project that the user does not have access
|
|
1003
|
+
* to. Cannot be set in a request.
|
|
1004
|
+
*/
|
|
1005
|
+
type: "user" | "group" | "project" | "projectRole" | "global" | "loggedin" | "authenticated" | "project-unknown";
|
|
1006
|
+
/**
|
|
1007
|
+
* The user account ID that the filter is shared with. For a request, specify the
|
|
1008
|
+
* `accountId` property for the user.
|
|
1009
|
+
*/
|
|
1010
|
+
user?: UserBean;
|
|
1011
|
+
}
|
|
1012
|
+
/** Details about the operations available in this version. */
|
|
1013
|
+
export interface SimpleLink {
|
|
1014
|
+
href?: string;
|
|
1015
|
+
iconClass?: string;
|
|
1016
|
+
id?: string;
|
|
1017
|
+
label?: string;
|
|
1018
|
+
styleClass?: string;
|
|
1019
|
+
title?: string;
|
|
1020
|
+
weight?: number;
|
|
1021
|
+
}
|
|
1022
|
+
/** A status category. */
|
|
1023
|
+
export interface StatusCategory extends Record<string, unknown> {
|
|
1024
|
+
/** The name of the color used to represent the status category. */
|
|
1025
|
+
colorName?: string;
|
|
1026
|
+
/** The ID of the status category. */
|
|
1027
|
+
id?: number;
|
|
1028
|
+
/** The key of the status category. */
|
|
1029
|
+
key?: string;
|
|
1030
|
+
/** The name of the status category. */
|
|
1031
|
+
name?: string;
|
|
1032
|
+
/** The URL of the status category. */
|
|
1033
|
+
self?: string;
|
|
1034
|
+
}
|
|
1035
|
+
/** A status. */
|
|
1036
|
+
export interface StatusDetails extends Record<string, unknown> {
|
|
1037
|
+
/** The description of the status. */
|
|
1038
|
+
description?: string;
|
|
1039
|
+
/** The URL of the icon used to represent the status. */
|
|
1040
|
+
iconUrl?: string;
|
|
1041
|
+
/** The ID of the status. */
|
|
1042
|
+
id?: string;
|
|
1043
|
+
/** The name of the status. */
|
|
1044
|
+
name?: string;
|
|
1045
|
+
/** The scope of the field. */
|
|
1046
|
+
scope?: Scope;
|
|
1047
|
+
/** The URL of the status. */
|
|
1048
|
+
self?: string;
|
|
1049
|
+
/** The category assigned to the status. */
|
|
1050
|
+
statusCategory?: StatusCategory;
|
|
1051
|
+
}
|
|
1052
|
+
/** Details about a task. */
|
|
1053
|
+
export interface TaskProgressBeanObject {
|
|
1054
|
+
/** The description of the task. */
|
|
1055
|
+
description?: string;
|
|
1056
|
+
/** The execution time of the task, in milliseconds. */
|
|
1057
|
+
elapsedRuntime: number;
|
|
1058
|
+
/** A timestamp recording when the task was finished. */
|
|
1059
|
+
finished?: number;
|
|
1060
|
+
/** The ID of the task. */
|
|
1061
|
+
id: string;
|
|
1062
|
+
/** A timestamp recording when the task progress was last updated. */
|
|
1063
|
+
lastUpdate: number;
|
|
1064
|
+
/** Information about the progress of the task. */
|
|
1065
|
+
message?: string;
|
|
1066
|
+
/** The progress of the task, as a percentage complete. */
|
|
1067
|
+
progress: number;
|
|
1068
|
+
/** The result of the task execution. */
|
|
1069
|
+
result?: unknown;
|
|
1070
|
+
/** The URL of the task. */
|
|
1071
|
+
self: string;
|
|
1072
|
+
/** A timestamp recording when the task was started. */
|
|
1073
|
+
started?: number;
|
|
1074
|
+
/** The status of the task. */
|
|
1075
|
+
status: "ENQUEUED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCEL_REQUESTED" | "CANCELLED" | "DEAD";
|
|
1076
|
+
/** A timestamp recording when the task was submitted. */
|
|
1077
|
+
submitted: number;
|
|
1078
|
+
/** The ID of the user who submitted the task. */
|
|
1079
|
+
submittedBy: number;
|
|
1080
|
+
}
|
|
1081
|
+
/** Details about a task. */
|
|
1082
|
+
export interface TaskProgressBeanRemoveOptionFromIssuesResult {
|
|
1083
|
+
/** The description of the task. */
|
|
1084
|
+
description?: string;
|
|
1085
|
+
/** The execution time of the task, in milliseconds. */
|
|
1086
|
+
elapsedRuntime: number;
|
|
1087
|
+
/** A timestamp recording when the task was finished. */
|
|
1088
|
+
finished?: number;
|
|
1089
|
+
/** The ID of the task. */
|
|
1090
|
+
id: string;
|
|
1091
|
+
/** A timestamp recording when the task progress was last updated. */
|
|
1092
|
+
lastUpdate: number;
|
|
1093
|
+
/** Information about the progress of the task. */
|
|
1094
|
+
message?: string;
|
|
1095
|
+
/** The progress of the task, as a percentage complete. */
|
|
1096
|
+
progress: number;
|
|
1097
|
+
/** The result of the task execution. */
|
|
1098
|
+
result?: RemoveOptionFromIssuesResult;
|
|
1099
|
+
/** The URL of the task. */
|
|
1100
|
+
self: string;
|
|
1101
|
+
/** A timestamp recording when the task was started. */
|
|
1102
|
+
started?: number;
|
|
1103
|
+
/** The status of the task. */
|
|
1104
|
+
status: "ENQUEUED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCEL_REQUESTED" | "CANCELLED" | "DEAD";
|
|
1105
|
+
/** A timestamp recording when the task was submitted. */
|
|
1106
|
+
submitted: number;
|
|
1107
|
+
/** The ID of the user who submitted the task. */
|
|
1108
|
+
submittedBy: number;
|
|
1109
|
+
}
|
|
1110
|
+
/** Details of the time tracking configuration. */
|
|
1111
|
+
export interface TimeTrackingConfiguration {
|
|
1112
|
+
/** The default unit of time applied to logged time. */
|
|
1113
|
+
defaultUnit: "minute" | "hour" | "day" | "week";
|
|
1114
|
+
/** The format that will appear on an issue's *Time Spent* field. */
|
|
1115
|
+
timeFormat: "pretty" | "days" | "hours";
|
|
1116
|
+
/** The number of days in a working week. */
|
|
1117
|
+
workingDaysPerWeek: number;
|
|
1118
|
+
/** The number of hours in a working day. */
|
|
1119
|
+
workingHoursPerDay: number;
|
|
1120
|
+
}
|
|
1121
|
+
/** A project category. */
|
|
1122
|
+
export interface UpdatedProjectCategory {
|
|
1123
|
+
/** The name of the project category. */
|
|
1124
|
+
description?: string;
|
|
1125
|
+
/** The ID of the project category. */
|
|
1126
|
+
id?: string;
|
|
1127
|
+
/** The description of the project category. */
|
|
1128
|
+
name?: string;
|
|
1129
|
+
/** The URL of the project category. */
|
|
1130
|
+
self?: string;
|
|
1131
|
+
}
|
|
1132
|
+
/**
|
|
1133
|
+
* A user with details as permitted by the user's Atlassian Account privacy
|
|
1134
|
+
* settings. However, be aware of these exceptions:
|
|
1135
|
+
*
|
|
1136
|
+
* * User record deleted from Atlassian: This occurs as the result of a right to
|
|
1137
|
+
* be forgotten request. In this case, `displayName` provides an indication and
|
|
1138
|
+
* other parameters have default values or are blank (for example, email is blank).
|
|
1139
|
+
* * User record corrupted: This occurs as a results of events such as a server
|
|
1140
|
+
* import and can only happen to deleted users. In this case, `accountId` returns
|
|
1141
|
+
* *unknown* and all other parameters have fallback values.
|
|
1142
|
+
* * User record unavailable: This usually occurs due to an internal service
|
|
1143
|
+
* outage. In this case, all parameters have fallback values.
|
|
1144
|
+
*/
|
|
1145
|
+
export interface User {
|
|
1146
|
+
/**
|
|
1147
|
+
* The account ID of the user, which uniquely identifies the user across all
|
|
1148
|
+
* Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Required in
|
|
1149
|
+
* requests.
|
|
1150
|
+
*/
|
|
1151
|
+
accountId?: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* The user account type. Can take the following values:
|
|
1154
|
+
*
|
|
1155
|
+
* * `atlassian` regular Atlassian user account
|
|
1156
|
+
* * `app` system account used for Connect applications and OAuth to represent
|
|
1157
|
+
* external systems
|
|
1158
|
+
* * `customer` Jira Service Desk account representing an external service desk
|
|
1159
|
+
*/
|
|
1160
|
+
accountType?: "atlassian" | "app" | "customer" | "unknown";
|
|
1161
|
+
/** Whether the user is active. */
|
|
1162
|
+
active?: boolean;
|
|
1163
|
+
/** The application roles the user is assigned to. */
|
|
1164
|
+
applicationRoles?: SimpleListWrapperApplicationRole;
|
|
1165
|
+
/** The avatars of the user. */
|
|
1166
|
+
avatarUrls?: AvatarUrlsBean;
|
|
1167
|
+
/**
|
|
1168
|
+
* The display name of the user. Depending on the user’s privacy setting, this may
|
|
1169
|
+
* return an alternative value.
|
|
1170
|
+
*/
|
|
1171
|
+
displayName?: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* The email address of the user. Depending on the user’s privacy setting, this
|
|
1174
|
+
* may be returned as null.
|
|
1175
|
+
*/
|
|
1176
|
+
emailAddress?: string;
|
|
1177
|
+
/** Expand options that include additional user details in the response. */
|
|
1178
|
+
expand?: string;
|
|
1179
|
+
/** The groups that the user belongs to. */
|
|
1180
|
+
groups?: SimpleListWrapperGroupName;
|
|
1181
|
+
/**
|
|
1182
|
+
* This property is no longer available and will be removed from the documentation
|
|
1183
|
+
* soon. See the [deprecation
|
|
1184
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
1185
|
+
* for details.
|
|
1186
|
+
*/
|
|
1187
|
+
key?: string;
|
|
1188
|
+
/**
|
|
1189
|
+
* The locale of the user. Depending on the user’s privacy setting, this may be
|
|
1190
|
+
* returned as null.
|
|
1191
|
+
*/
|
|
1192
|
+
locale?: string;
|
|
1193
|
+
/**
|
|
1194
|
+
* This property is no longer available and will be removed from the documentation
|
|
1195
|
+
* soon. See the [deprecation
|
|
1196
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
1197
|
+
* for details.
|
|
1198
|
+
*/
|
|
1199
|
+
name?: string;
|
|
1200
|
+
/** The URL of the user. */
|
|
1201
|
+
self?: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* The time zone specified in the user's profile. Depending on the user’s privacy
|
|
1204
|
+
* setting, this may be returned as null.
|
|
1205
|
+
*/
|
|
1206
|
+
timeZone?: string;
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* User details permitted by the user's Atlassian Account privacy settings.
|
|
1210
|
+
* However, be aware of these exceptions:
|
|
1211
|
+
*
|
|
1212
|
+
* * User record deleted from Atlassian: This occurs as the result of a right to
|
|
1213
|
+
* be forgotten request. In this case, `displayName` provides an indication and
|
|
1214
|
+
* other parameters have default values or are blank (for example, email is blank).
|
|
1215
|
+
* * User record corrupted: This occurs as a results of events such as a server
|
|
1216
|
+
* import and can only happen to deleted users. In this case, `accountId` returns
|
|
1217
|
+
* *unknown* and all other parameters have fallback values.
|
|
1218
|
+
* * User record unavailable: This usually occurs due to an internal service
|
|
1219
|
+
* outage. In this case, all parameters have fallback values.
|
|
1220
|
+
*/
|
|
1221
|
+
export interface UserDetails {
|
|
1222
|
+
/**
|
|
1223
|
+
* The account ID of the user, which uniquely identifies the user across all
|
|
1224
|
+
* Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
|
|
1225
|
+
*/
|
|
1226
|
+
accountId?: string;
|
|
1227
|
+
/**
|
|
1228
|
+
* The type of account represented by this user. This will be one of 'atlassian'
|
|
1229
|
+
* (normal users), 'app' (application user) or 'customer' (Jira Service Desk
|
|
1230
|
+
* customer user)
|
|
1231
|
+
*/
|
|
1232
|
+
accountType?: string;
|
|
1233
|
+
/** Whether the user is active. */
|
|
1234
|
+
active?: boolean;
|
|
1235
|
+
/** The avatars of the user. */
|
|
1236
|
+
avatarUrls?: AvatarUrlsBean;
|
|
1237
|
+
/**
|
|
1238
|
+
* The display name of the user. Depending on the user’s privacy settings, this
|
|
1239
|
+
* may return an alternative value.
|
|
1240
|
+
*/
|
|
1241
|
+
displayName?: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* The email address of the user. Depending on the user’s privacy settings, this
|
|
1244
|
+
* may be returned as null.
|
|
1245
|
+
*/
|
|
1246
|
+
emailAddress?: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* This property is no longer available and will be removed from the documentation
|
|
1249
|
+
* soon. See the [deprecation
|
|
1250
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
1251
|
+
* for details.
|
|
1252
|
+
*/
|
|
1253
|
+
key?: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* This property is no longer available and will be removed from the documentation
|
|
1256
|
+
* soon. See the [deprecation
|
|
1257
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
1258
|
+
* for details.
|
|
1259
|
+
*/
|
|
1260
|
+
name?: string;
|
|
1261
|
+
/** The URL of the user. */
|
|
1262
|
+
self?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* The time zone specified in the user's profile. Depending on the user’s privacy
|
|
1265
|
+
* settings, this may be returned as null.
|
|
1266
|
+
*/
|
|
1267
|
+
timeZone?: string;
|
|
1268
|
+
}
|
|
1269
|
+
/** Details about a project version. */
|
|
1270
|
+
export interface Version {
|
|
1271
|
+
/**
|
|
1272
|
+
* If the expand option `approvers` is used, returns a list containing the
|
|
1273
|
+
* approvers for this version.
|
|
1274
|
+
*/
|
|
1275
|
+
approvers?: VersionApprover[];
|
|
1276
|
+
/**
|
|
1277
|
+
* Indicates that the version is archived. Optional when creating or updating a
|
|
1278
|
+
* version.
|
|
1279
|
+
*/
|
|
1280
|
+
archived?: boolean;
|
|
1281
|
+
/**
|
|
1282
|
+
* The description of the version. Optional when creating or updating a version.
|
|
1283
|
+
* The maximum size is 16,384 bytes.
|
|
1284
|
+
*/
|
|
1285
|
+
description?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* If the expand option `driver` is used, returns the Atlassian account ID of the
|
|
1288
|
+
* driver.
|
|
1289
|
+
*/
|
|
1290
|
+
driver?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Use [expand](em>#expansion) to include additional information about version in
|
|
1293
|
+
* the response. This parameter accepts a comma-separated list. Expand options
|
|
1294
|
+
* include:
|
|
1295
|
+
*
|
|
1296
|
+
* * `operations` Returns the list of operations available for this version.
|
|
1297
|
+
* * `issuesstatus` Returns the count of issues in this version for each of the
|
|
1298
|
+
* status categories *to do*, *in progress*, *done*, and *unmapped*. The
|
|
1299
|
+
* *unmapped* property contains a count of issues with a status other than *to
|
|
1300
|
+
* do*, *in progress*, and *done*.
|
|
1301
|
+
* * `driver` Returns the Atlassian account ID of the version driver.
|
|
1302
|
+
* * `approvers` Returns a list containing approvers for this version.
|
|
1303
|
+
*
|
|
1304
|
+
* Optional for create and update.
|
|
1305
|
+
*/
|
|
1306
|
+
expand?: string;
|
|
1307
|
+
/** The ID of the version. */
|
|
1308
|
+
id?: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* If the expand option `issuesstatus` is used, returns the count of issues in
|
|
1311
|
+
* this version for each of the status categories *to do*, *in progress*, *done*,
|
|
1312
|
+
* and *unmapped*. The *unmapped* property contains a count of issues with a
|
|
1313
|
+
* status other than *to do*, *in progress*, and *done*.
|
|
1314
|
+
*/
|
|
1315
|
+
issuesStatusForFixVersion?: VersionIssuesStatus;
|
|
1316
|
+
/**
|
|
1317
|
+
* The URL of the self link to the version to which all unfixed issues are moved
|
|
1318
|
+
* when a version is released. Not applicable when creating a version. Optional
|
|
1319
|
+
* when updating a version.
|
|
1320
|
+
*/
|
|
1321
|
+
moveUnfixedIssuesTo?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* The unique name of the version. Required when creating a version. Optional when
|
|
1324
|
+
* updating a version. The maximum length is 255 characters.
|
|
1325
|
+
*/
|
|
1326
|
+
name?: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* If the expand option `operations` is used, returns the list of operations
|
|
1329
|
+
* available for this version.
|
|
1330
|
+
*/
|
|
1331
|
+
operations?: SimpleLink[];
|
|
1332
|
+
/** Indicates that the version is overdue. */
|
|
1333
|
+
overdue?: boolean;
|
|
1334
|
+
/**
|
|
1335
|
+
* Deprecated. Use `projectId`.
|
|
1336
|
+
*
|
|
1337
|
+
* @deprecated
|
|
1338
|
+
*/
|
|
1339
|
+
project?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* The ID of the project to which this version is attached. Required when creating
|
|
1342
|
+
* a version. Not applicable when updating a version.
|
|
1343
|
+
*/
|
|
1344
|
+
projectId?: number;
|
|
1345
|
+
/**
|
|
1346
|
+
* The release date of the version. Expressed in ISO 8601 format (yyyy-mm-dd).
|
|
1347
|
+
* Optional when creating or updating a version.
|
|
1348
|
+
*/
|
|
1349
|
+
releaseDate?: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* Indicates that the version is released. If the version is released a request to
|
|
1352
|
+
* release again is ignored. Not applicable when creating a version. Optional when
|
|
1353
|
+
* updating a version.
|
|
1354
|
+
*/
|
|
1355
|
+
released?: boolean;
|
|
1356
|
+
/** The URL of the version. */
|
|
1357
|
+
self?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* The start date of the version. Expressed in ISO 8601 format (yyyy-mm-dd).
|
|
1360
|
+
* Optional when creating or updating a version.
|
|
1361
|
+
*/
|
|
1362
|
+
startDate?: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* The date on which work on this version is expected to finish, expressed in the
|
|
1365
|
+
* instance's *Day/Month/Year Format* date format.
|
|
1366
|
+
*/
|
|
1367
|
+
userReleaseDate?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* The date on which work on this version is expected to start, expressed in the
|
|
1370
|
+
* instance's *Day/Month/Year Format* date format.
|
|
1371
|
+
*/
|
|
1372
|
+
userStartDate?: string;
|
|
1373
|
+
}
|
|
1374
|
+
/** The group or role to which this item is visible. */
|
|
1375
|
+
export interface Visibility extends Record<string, unknown> {
|
|
1376
|
+
/**
|
|
1377
|
+
* The ID of the group or the name of the role that visibility of this item is
|
|
1378
|
+
* restricted to.
|
|
1379
|
+
*/
|
|
1380
|
+
identifier?: string | null;
|
|
1381
|
+
/** Whether visibility of this item is restricted to a group or role. */
|
|
1382
|
+
type?: "group" | "role";
|
|
1383
|
+
/**
|
|
1384
|
+
* The name of the group or role that visibility of this item is restricted to.
|
|
1385
|
+
* Please note that the name of a group is mutable, to reliably identify a group
|
|
1386
|
+
* use `identifier`.
|
|
1387
|
+
*/
|
|
1388
|
+
value?: string;
|
|
1389
|
+
}
|
|
1390
|
+
/** Details about a workflow scheme. */
|
|
1391
|
+
export interface WorkflowScheme {
|
|
1392
|
+
/**
|
|
1393
|
+
* The name of the default workflow for the workflow scheme. The default workflow
|
|
1394
|
+
* has *All Unassigned Issue Types* assigned to it in Jira. If `defaultWorkflow`
|
|
1395
|
+
* is not specified when creating a workflow scheme, it is set to *Jira Workflow
|
|
1396
|
+
* (jira)*.
|
|
1397
|
+
*/
|
|
1398
|
+
defaultWorkflow?: string;
|
|
1399
|
+
/** The description of the workflow scheme. */
|
|
1400
|
+
description?: string;
|
|
1401
|
+
/** Whether the workflow scheme is a draft or not. */
|
|
1402
|
+
draft?: boolean;
|
|
1403
|
+
/** The ID of the workflow scheme. */
|
|
1404
|
+
id?: number;
|
|
1405
|
+
/**
|
|
1406
|
+
* The issue type to workflow mappings, where each mapping is an issue type ID and
|
|
1407
|
+
* workflow name pair. Note that an issue type can only be mapped to one workflow
|
|
1408
|
+
* in a workflow scheme.
|
|
1409
|
+
*/
|
|
1410
|
+
issueTypeMappings?: {
|
|
1411
|
+
[key: string]: string;
|
|
1412
|
+
};
|
|
1413
|
+
/** The issue types available in Jira. */
|
|
1414
|
+
issueTypes?: {
|
|
1415
|
+
/** Details about an issue type. */
|
|
1416
|
+
[key: string]: IssueTypeDetails;
|
|
1417
|
+
};
|
|
1418
|
+
/**
|
|
1419
|
+
* The date-time that the draft workflow scheme was last modified. A modification
|
|
1420
|
+
* is a change to the issue type-project mappings only. This property does not
|
|
1421
|
+
* apply to non-draft workflows.
|
|
1422
|
+
*/
|
|
1423
|
+
lastModified?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* The user that last modified the draft workflow scheme. A modification is a
|
|
1426
|
+
* change to the issue type-project mappings only. This property does not apply to
|
|
1427
|
+
* non-draft workflows.
|
|
1428
|
+
*/
|
|
1429
|
+
lastModifiedUser?: User;
|
|
1430
|
+
/**
|
|
1431
|
+
* The name of the workflow scheme. The name must be unique. The maximum length is
|
|
1432
|
+
* 255 characters. Required when creating a workflow scheme.
|
|
1433
|
+
*/
|
|
1434
|
+
name?: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* For draft workflow schemes, this property is the name of the default workflow
|
|
1437
|
+
* for the original workflow scheme. The default workflow has *All Unassigned
|
|
1438
|
+
* Issue Types* assigned to it in Jira.
|
|
1439
|
+
*/
|
|
1440
|
+
originalDefaultWorkflow?: string;
|
|
1441
|
+
/**
|
|
1442
|
+
* For draft workflow schemes, this property is the issue type to workflow
|
|
1443
|
+
* mappings for the original workflow scheme, where each mapping is an issue type
|
|
1444
|
+
* ID and workflow name pair. Note that an issue type can only be mapped to one
|
|
1445
|
+
* workflow in a workflow scheme.
|
|
1446
|
+
*/
|
|
1447
|
+
originalIssueTypeMappings?: {
|
|
1448
|
+
[key: string]: string;
|
|
1449
|
+
};
|
|
1450
|
+
self?: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* Whether to create or update a draft workflow scheme when updating an active
|
|
1453
|
+
* workflow scheme. An active workflow scheme is a workflow scheme that is used by
|
|
1454
|
+
* at least one project. The following examples show how this property works:
|
|
1455
|
+
*
|
|
1456
|
+
* * Update an active workflow scheme with `updateDraftIfNeeded` set to `true`:
|
|
1457
|
+
* If a draft workflow scheme exists, it is updated. Otherwise, a draft workflow
|
|
1458
|
+
* scheme is created.
|
|
1459
|
+
* * Update an active workflow scheme with `updateDraftIfNeeded` set to `false`:
|
|
1460
|
+
* An error is returned, as active workflow schemes cannot be updated.
|
|
1461
|
+
* * Update an inactive workflow scheme with `updateDraftIfNeeded` set to
|
|
1462
|
+
* `true`: The workflow scheme is updated, as inactive workflow schemes do not
|
|
1463
|
+
* require drafts to update.
|
|
1464
|
+
*
|
|
1465
|
+
* Defaults to `false`.
|
|
1466
|
+
*/
|
|
1467
|
+
updateDraftIfNeeded?: boolean;
|
|
1468
|
+
}
|
|
1469
|
+
/** The scope of the workflow. */
|
|
1470
|
+
export interface WorkflowScope {
|
|
1471
|
+
/** Project ID details. */
|
|
1472
|
+
project?: ProjectId | null;
|
|
1473
|
+
/**
|
|
1474
|
+
* The scope of the workflow. `GLOBAL` for company-managed projects and `PROJECT`
|
|
1475
|
+
* for team-managed projects.
|
|
1476
|
+
*/
|
|
1477
|
+
type: "PROJECT" | "GLOBAL";
|
|
1478
|
+
}
|
|
1479
|
+
/** A workflow with transition rules. */
|
|
1480
|
+
export interface WorkflowTransitionRules {
|
|
1481
|
+
/** The list of conditions within the workflow. */
|
|
1482
|
+
conditions?: AppWorkflowTransitionRule[];
|
|
1483
|
+
/** The list of post functions within the workflow. */
|
|
1484
|
+
postFunctions?: AppWorkflowTransitionRule[];
|
|
1485
|
+
/** The list of validators within the workflow. */
|
|
1486
|
+
validators?: AppWorkflowTransitionRule[];
|
|
1487
|
+
/** Properties that identify a workflow. */
|
|
1488
|
+
workflowId: WorkflowId;
|
|
1489
|
+
}
|
|
1490
|
+
export declare function registerCommonValidationSchemas(validationSchemaStorage: CommonValidationSchemaStorage<ZodTypeAny>): void;
|