@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,2653 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BoardService = void 0;
|
|
4
|
+
// DO NOT EDIT!
|
|
5
|
+
// This file is generated by "api-typescript-generator".
|
|
6
|
+
// To update this file run "yarn build:openapi".
|
|
7
|
+
const zod_1 = require("zod");
|
|
8
|
+
const commonHttpClient = require("../core/common-http-client");
|
|
9
|
+
const common_http_service_1 = require("../core/common-http-service");
|
|
10
|
+
const board_1 = require("../models/board");
|
|
11
|
+
const validation_schema_storage_1 = require("../validation-schema-storage");
|
|
12
|
+
/** Apis related to boards */
|
|
13
|
+
class BoardService extends common_http_service_1.CommonHttpService {
|
|
14
|
+
/**
|
|
15
|
+
* Creates a new board. Board name, type and filter ID is required.
|
|
16
|
+
*
|
|
17
|
+
* * `name` \- Must be less than 255 characters.
|
|
18
|
+
* * `type` \- Valid values: scrum, kanban
|
|
19
|
+
* * `filterId` \- ID of a filter that the user has permissions to view. Note,
|
|
20
|
+
* if the user does not have the 'Create shared objects' permission and tries to
|
|
21
|
+
* create a shared board, a private board will be created instead (remember that
|
|
22
|
+
* board sharing depends on the filter sharing).
|
|
23
|
+
* * `location` \- The container that the board will be located in. `location`
|
|
24
|
+
* must include the `type` property (Valid values: project, user). If choosing
|
|
25
|
+
* 'project', then a project must be specified by a `projectKeyOrId` property in
|
|
26
|
+
* `location`. If choosing 'user', the current user is chosen by default. The
|
|
27
|
+
* `projectKeyOrId` property should not be provided.
|
|
28
|
+
*
|
|
29
|
+
* Note:
|
|
30
|
+
*
|
|
31
|
+
* * If you want to create a new project with an associated board, use the [Jira
|
|
32
|
+
* platform REST API](https://docs.atlassian.com/jira/REST/latest). For more
|
|
33
|
+
* information, see the [Create project](#api-rest-api-3-project-post) method. The
|
|
34
|
+
* `projectTypeKey` for software boards must be 'software' and the
|
|
35
|
+
* `projectTemplateKey` must be either
|
|
36
|
+
* `com.pyxis.greenhopper.jira:gh-kanban-template` or
|
|
37
|
+
* `com.pyxis.greenhopper.jira:gh-scrum-template`.
|
|
38
|
+
* * You can create a filter using the [Jira REST
|
|
39
|
+
* API](https://docs.atlassian.com/jira/REST/latest). For more information, see
|
|
40
|
+
* the [Create filter](#api-rest-api-3-filter-post) method.
|
|
41
|
+
* * If you do not ORDER BY the Rank field for the filter of your board, you
|
|
42
|
+
* will not be able to reorder issues on the board.
|
|
43
|
+
*
|
|
44
|
+
* @returns Returns the created board.
|
|
45
|
+
*
|
|
46
|
+
* example: {
|
|
47
|
+
* "id": 84,
|
|
48
|
+
* "name": "scrum board",
|
|
49
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/board/84",
|
|
50
|
+
* "type": "scrum"
|
|
51
|
+
* }
|
|
52
|
+
* @path {POST} /rest/agile/1.0/board
|
|
53
|
+
*/
|
|
54
|
+
createBoard({ requestBody, }) {
|
|
55
|
+
return this.getClientInstance()
|
|
56
|
+
.request({
|
|
57
|
+
path: "/rest/agile/1.0/board",
|
|
58
|
+
method: "POST",
|
|
59
|
+
headers: {
|
|
60
|
+
"Content-Type": "application/json",
|
|
61
|
+
},
|
|
62
|
+
body: requestBody,
|
|
63
|
+
})
|
|
64
|
+
.then(this.getClientInstance().responseHandler({
|
|
65
|
+
201: {
|
|
66
|
+
"application/json": "json",
|
|
67
|
+
},
|
|
68
|
+
}))
|
|
69
|
+
.then(commonHttpClient.castResponse())
|
|
70
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.createBoard.response"))
|
|
71
|
+
.then(commonHttpClient.getBody);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Deletes the board. Admin without the view permission can still remove the board.
|
|
75
|
+
*
|
|
76
|
+
* @path {DELETE} /rest/agile/1.0/board/{boardId}
|
|
77
|
+
*/
|
|
78
|
+
deleteBoard({ boardId, }) {
|
|
79
|
+
return this.getClientInstance()
|
|
80
|
+
.request({
|
|
81
|
+
path: "/rest/agile/1.0/board/{boardId}",
|
|
82
|
+
method: "DELETE",
|
|
83
|
+
pathParams: {
|
|
84
|
+
boardId,
|
|
85
|
+
},
|
|
86
|
+
})
|
|
87
|
+
.then(commonHttpClient.discardResult);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Removes the property from the board identified by the id. Ths user removing the
|
|
91
|
+
* property is required to have permissions to modify the board.
|
|
92
|
+
*
|
|
93
|
+
* @path {DELETE} /rest/agile/1.0/board/{boardId}/properties/{propertyKey}
|
|
94
|
+
*/
|
|
95
|
+
deleteBoardProperty({ boardId, propertyKey, }) {
|
|
96
|
+
return this.getClientInstance()
|
|
97
|
+
.request({
|
|
98
|
+
path: "/rest/agile/1.0/board/{boardId}/properties/{propertyKey}",
|
|
99
|
+
method: "DELETE",
|
|
100
|
+
pathParams: {
|
|
101
|
+
boardId,
|
|
102
|
+
propertyKey,
|
|
103
|
+
},
|
|
104
|
+
})
|
|
105
|
+
.then(commonHttpClient.discardResult);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Returns all boards. This only includes boards that the user has permission to
|
|
109
|
+
* view.
|
|
110
|
+
*
|
|
111
|
+
* **Deprecation notice:** The required OAuth 2.0 scopes will be updated on
|
|
112
|
+
* February 15, 2024.
|
|
113
|
+
*
|
|
114
|
+
* * `read:board-scope:jira-software`, `read:project:jira`
|
|
115
|
+
*
|
|
116
|
+
* @returns Returns the requested boards, at the specified page of the results.
|
|
117
|
+
*
|
|
118
|
+
* example: {
|
|
119
|
+
* "isLast": false,
|
|
120
|
+
* "maxResults": 2,
|
|
121
|
+
* "startAt": 1,
|
|
122
|
+
* "total": 5,
|
|
123
|
+
* "values": [
|
|
124
|
+
* {
|
|
125
|
+
* "id": 84,
|
|
126
|
+
* "name": "scrum board",
|
|
127
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/board/84",
|
|
128
|
+
* "type": "scrum"
|
|
129
|
+
* },
|
|
130
|
+
* {
|
|
131
|
+
* "id": 92,
|
|
132
|
+
* "name": "kanban board",
|
|
133
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/board/92",
|
|
134
|
+
* "type": "kanban"
|
|
135
|
+
* }
|
|
136
|
+
* ]
|
|
137
|
+
* }
|
|
138
|
+
* @path {GET} /rest/agile/1.0/board
|
|
139
|
+
*/
|
|
140
|
+
getAllBoards({ startAt, maxResults, type, name, projectKeyOrId, accountIdLocation, projectLocation, includePrivate, negateLocationFiltering, orderBy, expand, projectTypeLocation, filterId, }) {
|
|
141
|
+
return this.getClientInstance()
|
|
142
|
+
.request({
|
|
143
|
+
path: "/rest/agile/1.0/board",
|
|
144
|
+
method: "GET",
|
|
145
|
+
query: {
|
|
146
|
+
startAt,
|
|
147
|
+
maxResults,
|
|
148
|
+
type,
|
|
149
|
+
name,
|
|
150
|
+
projectKeyOrId,
|
|
151
|
+
accountIdLocation,
|
|
152
|
+
projectLocation,
|
|
153
|
+
includePrivate,
|
|
154
|
+
negateLocationFiltering,
|
|
155
|
+
orderBy,
|
|
156
|
+
expand,
|
|
157
|
+
projectTypeLocation,
|
|
158
|
+
filterId,
|
|
159
|
+
},
|
|
160
|
+
})
|
|
161
|
+
.then(this.getClientInstance().responseHandler({
|
|
162
|
+
200: {
|
|
163
|
+
"application/json": "json",
|
|
164
|
+
},
|
|
165
|
+
}))
|
|
166
|
+
.then(commonHttpClient.castResponse())
|
|
167
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getAllBoards.response"))
|
|
168
|
+
.then(commonHttpClient.getBody);
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Returns all quick filters from a board, for a given board ID.
|
|
172
|
+
*
|
|
173
|
+
* @returns Returns the requested quick filters, at the specified page of the results.
|
|
174
|
+
* Quick filters will be ordered first by position.
|
|
175
|
+
*
|
|
176
|
+
* example: {
|
|
177
|
+
* "isLast": false,
|
|
178
|
+
* "maxResults": 2,
|
|
179
|
+
* "startAt": 1,
|
|
180
|
+
* "total": 5,
|
|
181
|
+
* "values": [
|
|
182
|
+
* {
|
|
183
|
+
* "boardId": 1,
|
|
184
|
+
* "description": "Issues of type bug",
|
|
185
|
+
* "id": 1,
|
|
186
|
+
* "jql": "issueType = bug",
|
|
187
|
+
* "name": "Bugs",
|
|
188
|
+
* "position": 0
|
|
189
|
+
* },
|
|
190
|
+
* {
|
|
191
|
+
* "boardId": 1,
|
|
192
|
+
* "description": "Issues of type task",
|
|
193
|
+
* "id": 2,
|
|
194
|
+
* "jql": "issueType = task",
|
|
195
|
+
* "name": "Tasks",
|
|
196
|
+
* "position": 0
|
|
197
|
+
* }
|
|
198
|
+
* ]
|
|
199
|
+
* }
|
|
200
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/quickfilter
|
|
201
|
+
*/
|
|
202
|
+
getAllQuickFilters({ boardId, startAt, maxResults, }) {
|
|
203
|
+
return this.getClientInstance()
|
|
204
|
+
.request({
|
|
205
|
+
path: "/rest/agile/1.0/board/{boardId}/quickfilter",
|
|
206
|
+
method: "GET",
|
|
207
|
+
pathParams: {
|
|
208
|
+
boardId,
|
|
209
|
+
},
|
|
210
|
+
query: {
|
|
211
|
+
startAt,
|
|
212
|
+
maxResults,
|
|
213
|
+
},
|
|
214
|
+
})
|
|
215
|
+
.then(this.getClientInstance().responseHandler({
|
|
216
|
+
200: {
|
|
217
|
+
"application/json": "json",
|
|
218
|
+
},
|
|
219
|
+
}))
|
|
220
|
+
.then(commonHttpClient.castResponse())
|
|
221
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getAllQuickFilters.response"))
|
|
222
|
+
.then(commonHttpClient.getBody);
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Returns all sprints from a board, for a given board ID. This only includes
|
|
226
|
+
* sprints that the user has permission to view.
|
|
227
|
+
*
|
|
228
|
+
* @returns Returns the requested sprints, at the specified page of the results. Sprints
|
|
229
|
+
* will be ordered first by state (i.e. closed, active, future) then by their
|
|
230
|
+
* position in the backlog.
|
|
231
|
+
*
|
|
232
|
+
* example: {
|
|
233
|
+
* "isLast": false,
|
|
234
|
+
* "maxResults": 2,
|
|
235
|
+
* "startAt": 1,
|
|
236
|
+
* "total": 5,
|
|
237
|
+
* "values": [
|
|
238
|
+
* {
|
|
239
|
+
* "id": 37,
|
|
240
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/23",
|
|
241
|
+
* "state": "closed",
|
|
242
|
+
* "name": "sprint 1",
|
|
243
|
+
* "startDate": "2015-04-11T15:22:00.000+10:00",
|
|
244
|
+
* "endDate": "2015-04-20T01:22:00.000+10:00",
|
|
245
|
+
* "completeDate": "2015-04-20T11:04:00.000+10:00",
|
|
246
|
+
* "originBoardId": 5,
|
|
247
|
+
* "goal": "sprint 1 goal"
|
|
248
|
+
* },
|
|
249
|
+
* {
|
|
250
|
+
* "id": 72,
|
|
251
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/73",
|
|
252
|
+
* "state": "future",
|
|
253
|
+
* "name": "sprint 2",
|
|
254
|
+
* "goal": "sprint 2 goal"
|
|
255
|
+
* }
|
|
256
|
+
* ]
|
|
257
|
+
* }
|
|
258
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/sprint
|
|
259
|
+
*/
|
|
260
|
+
getAllSprints({ boardId, startAt, maxResults, state, }) {
|
|
261
|
+
return this.getClientInstance()
|
|
262
|
+
.request({
|
|
263
|
+
path: "/rest/agile/1.0/board/{boardId}/sprint",
|
|
264
|
+
method: "GET",
|
|
265
|
+
pathParams: {
|
|
266
|
+
boardId,
|
|
267
|
+
},
|
|
268
|
+
query: {
|
|
269
|
+
startAt,
|
|
270
|
+
maxResults,
|
|
271
|
+
state,
|
|
272
|
+
},
|
|
273
|
+
})
|
|
274
|
+
.then(this.getClientInstance().responseHandler({
|
|
275
|
+
200: {
|
|
276
|
+
"application/json": "json",
|
|
277
|
+
},
|
|
278
|
+
}))
|
|
279
|
+
.then(commonHttpClient.castResponse())
|
|
280
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getAllSprints.response"))
|
|
281
|
+
.then(commonHttpClient.getBody);
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* Returns all versions from a board, for a given board ID. This only includes
|
|
285
|
+
* versions that the user has permission to view. Note, if the user does not have
|
|
286
|
+
* permission to view the board, no versions will be returned at all. Returned
|
|
287
|
+
* versions are ordered by the name of the project from which they belong and then
|
|
288
|
+
* by sequence defined by user.
|
|
289
|
+
*
|
|
290
|
+
* @returns Returns the requested versions, at the specified page of the results.
|
|
291
|
+
*
|
|
292
|
+
* example: {
|
|
293
|
+
* "isLast": false,
|
|
294
|
+
* "maxResults": 2,
|
|
295
|
+
* "startAt": 1,
|
|
296
|
+
* "total": 5,
|
|
297
|
+
* "values": [
|
|
298
|
+
* {
|
|
299
|
+
* "archived": false,
|
|
300
|
+
* "description": "A first version",
|
|
301
|
+
* "id": 10000,
|
|
302
|
+
* "name": "Version 1",
|
|
303
|
+
* "projectId": 10000,
|
|
304
|
+
* "releaseDate": "2015-04-20T01:02:00.000+10:00",
|
|
305
|
+
* "released": true,
|
|
306
|
+
* "self": "https://your-domain.atlassian.net/version/10000"
|
|
307
|
+
* },
|
|
308
|
+
* {
|
|
309
|
+
* "archived": false,
|
|
310
|
+
* "description": "Minor Bugfix version",
|
|
311
|
+
* "id": 10010,
|
|
312
|
+
* "name": "Next Version",
|
|
313
|
+
* "projectId": 10000,
|
|
314
|
+
* "released": false,
|
|
315
|
+
* "self": "https://your-domain.atlassian.net/version/10010"
|
|
316
|
+
* }
|
|
317
|
+
* ]
|
|
318
|
+
* }
|
|
319
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/version
|
|
320
|
+
*/
|
|
321
|
+
getAllVersions({ boardId, startAt, maxResults, released, }) {
|
|
322
|
+
return this.getClientInstance()
|
|
323
|
+
.request({
|
|
324
|
+
path: "/rest/agile/1.0/board/{boardId}/version",
|
|
325
|
+
method: "GET",
|
|
326
|
+
pathParams: {
|
|
327
|
+
boardId,
|
|
328
|
+
},
|
|
329
|
+
query: {
|
|
330
|
+
startAt,
|
|
331
|
+
maxResults,
|
|
332
|
+
released,
|
|
333
|
+
},
|
|
334
|
+
})
|
|
335
|
+
.then(this.getClientInstance().responseHandler({
|
|
336
|
+
200: {
|
|
337
|
+
"application/json": "json",
|
|
338
|
+
},
|
|
339
|
+
}))
|
|
340
|
+
.then(commonHttpClient.castResponse())
|
|
341
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getAllVersions.response"))
|
|
342
|
+
.then(commonHttpClient.getBody);
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Returns the board for the given board ID. This board will only be returned if
|
|
346
|
+
* the user has permission to view it. Admins without the view permission will see
|
|
347
|
+
* the board as a private one, so will see only a subset of the board's data
|
|
348
|
+
* (board location for instance).
|
|
349
|
+
*
|
|
350
|
+
* @returns Returns the requested board.
|
|
351
|
+
*
|
|
352
|
+
* example: {
|
|
353
|
+
* "id": 84,
|
|
354
|
+
* "location": {
|
|
355
|
+
* "displayName": "Example Project",
|
|
356
|
+
* "name": "Example Project",
|
|
357
|
+
* "projectId": 10040,
|
|
358
|
+
* "projectKey": "Example Project Key",
|
|
359
|
+
* "projectName": "Example Project",
|
|
360
|
+
* "projectTypeKey": "KEY",
|
|
361
|
+
* "userAccountId": "5b10a2844c20165700ede21g",
|
|
362
|
+
* "userId": 10040
|
|
363
|
+
* },
|
|
364
|
+
* "name": "scrum board",
|
|
365
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/board/84",
|
|
366
|
+
* "type": "scrum"
|
|
367
|
+
* }
|
|
368
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}
|
|
369
|
+
*/
|
|
370
|
+
getBoard({ boardId, }) {
|
|
371
|
+
return this.getClientInstance()
|
|
372
|
+
.request({
|
|
373
|
+
path: "/rest/agile/1.0/board/{boardId}",
|
|
374
|
+
method: "GET",
|
|
375
|
+
pathParams: {
|
|
376
|
+
boardId,
|
|
377
|
+
},
|
|
378
|
+
})
|
|
379
|
+
.then(this.getClientInstance().responseHandler({
|
|
380
|
+
200: {
|
|
381
|
+
"application/json": "json",
|
|
382
|
+
},
|
|
383
|
+
}))
|
|
384
|
+
.then(commonHttpClient.castResponse())
|
|
385
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getBoard.response"))
|
|
386
|
+
.then(commonHttpClient.getBody);
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Returns any boards which use the provided filter id. This method can be
|
|
390
|
+
* executed by users without a valid software license in order to find which
|
|
391
|
+
* boards are using a particular filter.
|
|
392
|
+
*
|
|
393
|
+
* @returns Returns the requested boards, at the specified page of the results.
|
|
394
|
+
*
|
|
395
|
+
* example: {
|
|
396
|
+
* "id": 84,
|
|
397
|
+
* "name": "scrum board",
|
|
398
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/board/84"
|
|
399
|
+
* }
|
|
400
|
+
* @path {GET} /rest/agile/1.0/board/filter/{filterId}
|
|
401
|
+
*/
|
|
402
|
+
getBoardByFilterId({ filterId, startAt, maxResults, }) {
|
|
403
|
+
return this.getClientInstance()
|
|
404
|
+
.request({
|
|
405
|
+
path: "/rest/agile/1.0/board/filter/{filterId}",
|
|
406
|
+
method: "GET",
|
|
407
|
+
pathParams: {
|
|
408
|
+
filterId,
|
|
409
|
+
},
|
|
410
|
+
query: {
|
|
411
|
+
startAt,
|
|
412
|
+
maxResults,
|
|
413
|
+
},
|
|
414
|
+
})
|
|
415
|
+
.then(this.getClientInstance().responseHandler({
|
|
416
|
+
200: {
|
|
417
|
+
"application/json": "json",
|
|
418
|
+
},
|
|
419
|
+
}))
|
|
420
|
+
.then(commonHttpClient.castResponse())
|
|
421
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getBoardByFilterId.response"))
|
|
422
|
+
.then(commonHttpClient.getBody);
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Returns all issues that belong to an epic on the board, for the given epic ID
|
|
426
|
+
* and the board ID. This only includes issues that the user has permission to
|
|
427
|
+
* view. Issues returned from this resource include Agile fields, like sprint,
|
|
428
|
+
* closedSprints, flagged, and epic. By default, the returned issues are ordered
|
|
429
|
+
* by rank.
|
|
430
|
+
*
|
|
431
|
+
* @returns Returns the requested issues, at the specified page of the results.
|
|
432
|
+
*
|
|
433
|
+
* example: {
|
|
434
|
+
* "expand": "names,schema",
|
|
435
|
+
* "issues": [
|
|
436
|
+
* {
|
|
437
|
+
* "expand": "",
|
|
438
|
+
* "fields": {
|
|
439
|
+
* "flagged": true,
|
|
440
|
+
* "sprint": {
|
|
441
|
+
* "id": 37,
|
|
442
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/13",
|
|
443
|
+
* "state": "future",
|
|
444
|
+
* "name": "sprint 2",
|
|
445
|
+
* "goal": "sprint 2 goal"
|
|
446
|
+
* },
|
|
447
|
+
* "closedSprints": [
|
|
448
|
+
* {
|
|
449
|
+
* "id": 37,
|
|
450
|
+
* "self":
|
|
451
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/sprint/23",
|
|
452
|
+
* "state": "closed",
|
|
453
|
+
* "name": "sprint 1",
|
|
454
|
+
* "startDate": "2015-04-11T15:22:00.000+10:00",
|
|
455
|
+
* "endDate": "2015-04-20T01:22:00.000+10:00",
|
|
456
|
+
* "completeDate": "2015-04-20T11:04:00.000+10:00",
|
|
457
|
+
* "goal": "sprint 1 goal"
|
|
458
|
+
* }
|
|
459
|
+
* ],
|
|
460
|
+
* "description": "example bug report",
|
|
461
|
+
* "project": {
|
|
462
|
+
* "avatarUrls": {
|
|
463
|
+
* "16x16":
|
|
464
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
465
|
+
* "24x24":
|
|
466
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
467
|
+
* "32x32":
|
|
468
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
469
|
+
* "48x48":
|
|
470
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
471
|
+
* },
|
|
472
|
+
* "id": "10000",
|
|
473
|
+
* "insight": {
|
|
474
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
475
|
+
* "totalIssueCount": 100
|
|
476
|
+
* },
|
|
477
|
+
* "key": "EX",
|
|
478
|
+
* "name": "Example",
|
|
479
|
+
* "projectCategory": {
|
|
480
|
+
* "description": "First Project Category",
|
|
481
|
+
* "id": "10000",
|
|
482
|
+
* "name": "FIRST",
|
|
483
|
+
* "self":
|
|
484
|
+
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
485
|
+
* },
|
|
486
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
487
|
+
* "simplified": false,
|
|
488
|
+
* "style": "classic"
|
|
489
|
+
* },
|
|
490
|
+
* "comment": [
|
|
491
|
+
* {
|
|
492
|
+
* "author": {
|
|
493
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
494
|
+
* "active": false,
|
|
495
|
+
* "displayName": "Mia Krystof",
|
|
496
|
+
* "self":
|
|
497
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
498
|
+
* },
|
|
499
|
+
* "body": {
|
|
500
|
+
* "type": "doc",
|
|
501
|
+
* "version": 1,
|
|
502
|
+
* "content": [
|
|
503
|
+
* {
|
|
504
|
+
* "type": "paragraph",
|
|
505
|
+
* "content": [
|
|
506
|
+
* {
|
|
507
|
+
* "type": "text",
|
|
508
|
+
* "text": "Lorem ipsum dolor sit amet, consectetur
|
|
509
|
+
* adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue
|
|
510
|
+
* iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue
|
|
511
|
+
* semper."
|
|
512
|
+
* }
|
|
513
|
+
* ]
|
|
514
|
+
* }
|
|
515
|
+
* ]
|
|
516
|
+
* },
|
|
517
|
+
* "created": "2021-01-17T12:34:00.000+0000",
|
|
518
|
+
* "id": "10000",
|
|
519
|
+
* "self":
|
|
520
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
521
|
+
* "updateAuthor": {
|
|
522
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
523
|
+
* "active": false,
|
|
524
|
+
* "displayName": "Mia Krystof",
|
|
525
|
+
* "self":
|
|
526
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
527
|
+
* },
|
|
528
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
529
|
+
* "visibility": {
|
|
530
|
+
* "identifier": "Administrators",
|
|
531
|
+
* "type": "role",
|
|
532
|
+
* "value": "Administrators"
|
|
533
|
+
* }
|
|
534
|
+
* }
|
|
535
|
+
* ],
|
|
536
|
+
* "epic": {
|
|
537
|
+
* "id": 37,
|
|
538
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/epic/23",
|
|
539
|
+
* "name": "epic 1",
|
|
540
|
+
* "summary": "epic 1 summary",
|
|
541
|
+
* "color": {
|
|
542
|
+
* "key": "color_4"
|
|
543
|
+
* },
|
|
544
|
+
* "done": true
|
|
545
|
+
* },
|
|
546
|
+
* "worklog": [
|
|
547
|
+
* {
|
|
548
|
+
* "author": {
|
|
549
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
550
|
+
* "active": false,
|
|
551
|
+
* "displayName": "Mia Krystof",
|
|
552
|
+
* "self":
|
|
553
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
554
|
+
* },
|
|
555
|
+
* "comment": {
|
|
556
|
+
* "type": "doc",
|
|
557
|
+
* "version": 1,
|
|
558
|
+
* "content": [
|
|
559
|
+
* {
|
|
560
|
+
* "type": "paragraph",
|
|
561
|
+
* "content": [
|
|
562
|
+
* {
|
|
563
|
+
* "type": "text",
|
|
564
|
+
* "text": "I did some work here."
|
|
565
|
+
* }
|
|
566
|
+
* ]
|
|
567
|
+
* }
|
|
568
|
+
* ]
|
|
569
|
+
* },
|
|
570
|
+
* "id": "100028",
|
|
571
|
+
* "issueId": "10002",
|
|
572
|
+
* "self":
|
|
573
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
574
|
+
* "started": "2021-01-17T12:34:00.000+0000",
|
|
575
|
+
* "timeSpent": "3h 20m",
|
|
576
|
+
* "timeSpentSeconds": 12000,
|
|
577
|
+
* "updateAuthor": {
|
|
578
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
579
|
+
* "active": false,
|
|
580
|
+
* "displayName": "Mia Krystof",
|
|
581
|
+
* "self":
|
|
582
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
583
|
+
* },
|
|
584
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
585
|
+
* "visibility": {
|
|
586
|
+
* "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
587
|
+
* "type": "group",
|
|
588
|
+
* "value": "jira-developers"
|
|
589
|
+
* }
|
|
590
|
+
* }
|
|
591
|
+
* ],
|
|
592
|
+
* "updated": 1,
|
|
593
|
+
* "timetracking": {
|
|
594
|
+
* "originalEstimate": "10m",
|
|
595
|
+
* "originalEstimateSeconds": 600,
|
|
596
|
+
* "remainingEstimate": "3m",
|
|
597
|
+
* "remainingEstimateSeconds": 200,
|
|
598
|
+
* "timeSpent": "6m",
|
|
599
|
+
* "timeSpentSeconds": 400
|
|
600
|
+
* }
|
|
601
|
+
* },
|
|
602
|
+
* "id": "10001",
|
|
603
|
+
* "key": "HSP-1",
|
|
604
|
+
* "self":
|
|
605
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/board/92/issue/10001"
|
|
606
|
+
* }
|
|
607
|
+
* ],
|
|
608
|
+
* "maxResults": 50,
|
|
609
|
+
* "startAt": 0,
|
|
610
|
+
* "total": 1
|
|
611
|
+
* }
|
|
612
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/epic/{epicId}/issue
|
|
613
|
+
*/
|
|
614
|
+
getBoardIssuesForEpic({ boardId, epicId, startAt, maxResults, jql, validateQuery, fields, expand, }) {
|
|
615
|
+
return this.getClientInstance()
|
|
616
|
+
.request({
|
|
617
|
+
path: "/rest/agile/1.0/board/{boardId}/epic/{epicId}/issue",
|
|
618
|
+
method: "GET",
|
|
619
|
+
pathParams: {
|
|
620
|
+
boardId,
|
|
621
|
+
epicId,
|
|
622
|
+
},
|
|
623
|
+
query: {
|
|
624
|
+
startAt,
|
|
625
|
+
maxResults,
|
|
626
|
+
jql,
|
|
627
|
+
validateQuery,
|
|
628
|
+
fields,
|
|
629
|
+
expand,
|
|
630
|
+
},
|
|
631
|
+
})
|
|
632
|
+
.then(this.getClientInstance().responseHandler({
|
|
633
|
+
200: {
|
|
634
|
+
"application/json": "json",
|
|
635
|
+
},
|
|
636
|
+
}))
|
|
637
|
+
.then(commonHttpClient.castResponse())
|
|
638
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getBoardIssuesForEpic.response"))
|
|
639
|
+
.then(commonHttpClient.getBody);
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* Get all issues you have access to that belong to the sprint from the board.
|
|
643
|
+
* Issue returned from this resource contains additional fields like: sprint,
|
|
644
|
+
* closedSprints, flagged and epic. Issues are returned ordered by rank. JQL order
|
|
645
|
+
* has higher priority than default rank.
|
|
646
|
+
*
|
|
647
|
+
* @returns Returns the requested issues, at the specified page of the results.
|
|
648
|
+
*
|
|
649
|
+
* example: {
|
|
650
|
+
* "expand": "names,schema",
|
|
651
|
+
* "issues": [
|
|
652
|
+
* {
|
|
653
|
+
* "expand": "",
|
|
654
|
+
* "fields": {
|
|
655
|
+
* "flagged": true,
|
|
656
|
+
* "sprint": {
|
|
657
|
+
* "id": 37,
|
|
658
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/13",
|
|
659
|
+
* "state": "future",
|
|
660
|
+
* "name": "sprint 2",
|
|
661
|
+
* "goal": "sprint 2 goal"
|
|
662
|
+
* },
|
|
663
|
+
* "closedSprints": [
|
|
664
|
+
* {
|
|
665
|
+
* "id": 37,
|
|
666
|
+
* "self":
|
|
667
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/sprint/23",
|
|
668
|
+
* "state": "closed",
|
|
669
|
+
* "name": "sprint 1",
|
|
670
|
+
* "startDate": "2015-04-11T15:22:00.000+10:00",
|
|
671
|
+
* "endDate": "2015-04-20T01:22:00.000+10:00",
|
|
672
|
+
* "completeDate": "2015-04-20T11:04:00.000+10:00",
|
|
673
|
+
* "goal": "sprint 1 goal"
|
|
674
|
+
* }
|
|
675
|
+
* ],
|
|
676
|
+
* "description": "example bug report",
|
|
677
|
+
* "project": {
|
|
678
|
+
* "avatarUrls": {
|
|
679
|
+
* "16x16":
|
|
680
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
681
|
+
* "24x24":
|
|
682
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
683
|
+
* "32x32":
|
|
684
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
685
|
+
* "48x48":
|
|
686
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
687
|
+
* },
|
|
688
|
+
* "id": "10000",
|
|
689
|
+
* "insight": {
|
|
690
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
691
|
+
* "totalIssueCount": 100
|
|
692
|
+
* },
|
|
693
|
+
* "key": "EX",
|
|
694
|
+
* "name": "Example",
|
|
695
|
+
* "projectCategory": {
|
|
696
|
+
* "description": "First Project Category",
|
|
697
|
+
* "id": "10000",
|
|
698
|
+
* "name": "FIRST",
|
|
699
|
+
* "self":
|
|
700
|
+
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
701
|
+
* },
|
|
702
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
703
|
+
* "simplified": false,
|
|
704
|
+
* "style": "classic"
|
|
705
|
+
* },
|
|
706
|
+
* "comment": [
|
|
707
|
+
* {
|
|
708
|
+
* "author": {
|
|
709
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
710
|
+
* "active": false,
|
|
711
|
+
* "displayName": "Mia Krystof",
|
|
712
|
+
* "self":
|
|
713
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
714
|
+
* },
|
|
715
|
+
* "body": {
|
|
716
|
+
* "type": "doc",
|
|
717
|
+
* "version": 1,
|
|
718
|
+
* "content": [
|
|
719
|
+
* {
|
|
720
|
+
* "type": "paragraph",
|
|
721
|
+
* "content": [
|
|
722
|
+
* {
|
|
723
|
+
* "type": "text",
|
|
724
|
+
* "text": "Lorem ipsum dolor sit amet, consectetur
|
|
725
|
+
* adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue
|
|
726
|
+
* iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue
|
|
727
|
+
* semper."
|
|
728
|
+
* }
|
|
729
|
+
* ]
|
|
730
|
+
* }
|
|
731
|
+
* ]
|
|
732
|
+
* },
|
|
733
|
+
* "created": "2021-01-17T12:34:00.000+0000",
|
|
734
|
+
* "id": "10000",
|
|
735
|
+
* "self":
|
|
736
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
737
|
+
* "updateAuthor": {
|
|
738
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
739
|
+
* "active": false,
|
|
740
|
+
* "displayName": "Mia Krystof",
|
|
741
|
+
* "self":
|
|
742
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
743
|
+
* },
|
|
744
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
745
|
+
* "visibility": {
|
|
746
|
+
* "identifier": "Administrators",
|
|
747
|
+
* "type": "role",
|
|
748
|
+
* "value": "Administrators"
|
|
749
|
+
* }
|
|
750
|
+
* }
|
|
751
|
+
* ],
|
|
752
|
+
* "epic": {
|
|
753
|
+
* "id": 37,
|
|
754
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/epic/23",
|
|
755
|
+
* "name": "epic 1",
|
|
756
|
+
* "summary": "epic 1 summary",
|
|
757
|
+
* "color": {
|
|
758
|
+
* "key": "color_4"
|
|
759
|
+
* },
|
|
760
|
+
* "done": true
|
|
761
|
+
* },
|
|
762
|
+
* "worklog": [
|
|
763
|
+
* {
|
|
764
|
+
* "author": {
|
|
765
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
766
|
+
* "active": false,
|
|
767
|
+
* "displayName": "Mia Krystof",
|
|
768
|
+
* "self":
|
|
769
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
770
|
+
* },
|
|
771
|
+
* "comment": {
|
|
772
|
+
* "type": "doc",
|
|
773
|
+
* "version": 1,
|
|
774
|
+
* "content": [
|
|
775
|
+
* {
|
|
776
|
+
* "type": "paragraph",
|
|
777
|
+
* "content": [
|
|
778
|
+
* {
|
|
779
|
+
* "type": "text",
|
|
780
|
+
* "text": "I did some work here."
|
|
781
|
+
* }
|
|
782
|
+
* ]
|
|
783
|
+
* }
|
|
784
|
+
* ]
|
|
785
|
+
* },
|
|
786
|
+
* "id": "100028",
|
|
787
|
+
* "issueId": "10002",
|
|
788
|
+
* "self":
|
|
789
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
790
|
+
* "started": "2021-01-17T12:34:00.000+0000",
|
|
791
|
+
* "timeSpent": "3h 20m",
|
|
792
|
+
* "timeSpentSeconds": 12000,
|
|
793
|
+
* "updateAuthor": {
|
|
794
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
795
|
+
* "active": false,
|
|
796
|
+
* "displayName": "Mia Krystof",
|
|
797
|
+
* "self":
|
|
798
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
799
|
+
* },
|
|
800
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
801
|
+
* "visibility": {
|
|
802
|
+
* "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
803
|
+
* "type": "group",
|
|
804
|
+
* "value": "jira-developers"
|
|
805
|
+
* }
|
|
806
|
+
* }
|
|
807
|
+
* ],
|
|
808
|
+
* "updated": 1,
|
|
809
|
+
* "timetracking": {
|
|
810
|
+
* "originalEstimate": "10m",
|
|
811
|
+
* "originalEstimateSeconds": 600,
|
|
812
|
+
* "remainingEstimate": "3m",
|
|
813
|
+
* "remainingEstimateSeconds": 200,
|
|
814
|
+
* "timeSpent": "6m",
|
|
815
|
+
* "timeSpentSeconds": 400
|
|
816
|
+
* }
|
|
817
|
+
* },
|
|
818
|
+
* "id": "10001",
|
|
819
|
+
* "key": "HSP-1",
|
|
820
|
+
* "self":
|
|
821
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/board/92/issue/10001"
|
|
822
|
+
* }
|
|
823
|
+
* ],
|
|
824
|
+
* "maxResults": 50,
|
|
825
|
+
* "startAt": 0,
|
|
826
|
+
* "total": 1
|
|
827
|
+
* }
|
|
828
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/sprint/{sprintId}/issue
|
|
829
|
+
*/
|
|
830
|
+
getBoardIssuesForSprint({ boardId, sprintId, startAt, maxResults, jql, validateQuery, fields, expand, }) {
|
|
831
|
+
return this.getClientInstance()
|
|
832
|
+
.request({
|
|
833
|
+
path: "/rest/agile/1.0/board/{boardId}/sprint/{sprintId}/issue",
|
|
834
|
+
method: "GET",
|
|
835
|
+
pathParams: {
|
|
836
|
+
boardId,
|
|
837
|
+
sprintId,
|
|
838
|
+
},
|
|
839
|
+
query: {
|
|
840
|
+
startAt,
|
|
841
|
+
maxResults,
|
|
842
|
+
jql,
|
|
843
|
+
validateQuery,
|
|
844
|
+
fields,
|
|
845
|
+
expand,
|
|
846
|
+
},
|
|
847
|
+
})
|
|
848
|
+
.then(this.getClientInstance().responseHandler({
|
|
849
|
+
200: {
|
|
850
|
+
"application/json": "json",
|
|
851
|
+
},
|
|
852
|
+
}))
|
|
853
|
+
.then(commonHttpClient.castResponse())
|
|
854
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getBoardIssuesForSprint.response"))
|
|
855
|
+
.then(commonHttpClient.getBody);
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
* Returns the value of the property with a given key from the board identified by
|
|
859
|
+
* the provided id. The user who retrieves the property is required to have
|
|
860
|
+
* permissions to view the board.
|
|
861
|
+
*
|
|
862
|
+
* @returns Returned if the board exists and the property was found.
|
|
863
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/properties/{propertyKey}
|
|
864
|
+
*/
|
|
865
|
+
getBoardProperty({ boardId, propertyKey, }) {
|
|
866
|
+
return this.getClientInstance()
|
|
867
|
+
.request({
|
|
868
|
+
path: "/rest/agile/1.0/board/{boardId}/properties/{propertyKey}",
|
|
869
|
+
method: "GET",
|
|
870
|
+
pathParams: {
|
|
871
|
+
boardId,
|
|
872
|
+
propertyKey,
|
|
873
|
+
},
|
|
874
|
+
})
|
|
875
|
+
.then(this.getClientInstance().responseHandler({
|
|
876
|
+
200: {
|
|
877
|
+
"application/json": "json",
|
|
878
|
+
},
|
|
879
|
+
}))
|
|
880
|
+
.then(commonHttpClient.castResponse())
|
|
881
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getBoardProperty.response"))
|
|
882
|
+
.then(commonHttpClient.getBody);
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* Returns the keys of all properties for the board identified by the id. The user
|
|
886
|
+
* who retrieves the property keys is required to have permissions to view the
|
|
887
|
+
* board.
|
|
888
|
+
*
|
|
889
|
+
* @returns Returned if the board with given id exists.
|
|
890
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/properties
|
|
891
|
+
*/
|
|
892
|
+
getBoardPropertyKeys({ boardId, }) {
|
|
893
|
+
return this.getClientInstance()
|
|
894
|
+
.request({
|
|
895
|
+
path: "/rest/agile/1.0/board/{boardId}/properties",
|
|
896
|
+
method: "GET",
|
|
897
|
+
pathParams: {
|
|
898
|
+
boardId,
|
|
899
|
+
},
|
|
900
|
+
})
|
|
901
|
+
.then(this.getClientInstance().responseHandler({
|
|
902
|
+
200: {
|
|
903
|
+
"application/json": "json",
|
|
904
|
+
},
|
|
905
|
+
}))
|
|
906
|
+
.then(commonHttpClient.castResponse())
|
|
907
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getBoardPropertyKeys.response"))
|
|
908
|
+
.then(commonHttpClient.getBody);
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* Get the board configuration. The response contains the following fields:
|
|
912
|
+
*
|
|
913
|
+
* * `id` \- ID of the board.
|
|
914
|
+
* * `name` \- Name of the board.
|
|
915
|
+
* * `filter` \- Reference to the filter used by the given board.
|
|
916
|
+
* * `location` \- Reference to the container that the board is located in.
|
|
917
|
+
* Includes the container type (Valid values: project, user).
|
|
918
|
+
* * `subQuery` (Kanban only) - JQL subquery used by the given board.
|
|
919
|
+
* * `columnConfig` \- The column configuration lists the columns for the board,
|
|
920
|
+
* in the order defined in the column configuration. For each column, it shows the
|
|
921
|
+
* issue status mapping as well as the constraint type (Valid values: none,
|
|
922
|
+
* issueCount, issueCountExclSubs) for the min/max number of issues. Note, the
|
|
923
|
+
* last column with statuses mapped to it is treated as the "Done" column, which
|
|
924
|
+
* means that issues in that column will be marked as already completed.
|
|
925
|
+
* * `estimation` (Scrum only) - Contains information about type of estimation
|
|
926
|
+
* used for the board. Valid values: none, issueCount, field. If the estimation
|
|
927
|
+
* type is "field", the ID and display name of the field used for estimation is
|
|
928
|
+
* also returned. Note, estimates for an issue can be updated by a PUT
|
|
929
|
+
* /rest/api/3/issue/\{issueIdOrKey\} request, however the fields must be on the
|
|
930
|
+
* screen. "timeoriginalestimate" field will never be on the screen, so in order
|
|
931
|
+
* to update it "originalEstimate" in "timetracking" field should be updated.
|
|
932
|
+
* * `ranking` \- Contains information about custom field used for ranking in
|
|
933
|
+
* the given board.
|
|
934
|
+
*
|
|
935
|
+
* @returns Returns the configuration of the board for given boardId.
|
|
936
|
+
*
|
|
937
|
+
* example: {
|
|
938
|
+
* "columnConfig": {
|
|
939
|
+
* "columns": [
|
|
940
|
+
* {
|
|
941
|
+
* "name": "To Do",
|
|
942
|
+
* "statuses": [
|
|
943
|
+
* {
|
|
944
|
+
* "id": "1",
|
|
945
|
+
* "self": "https://your-domain.atlassian.net/status/1"
|
|
946
|
+
* },
|
|
947
|
+
* {
|
|
948
|
+
* "id": "4",
|
|
949
|
+
* "self": "https://your-domain.atlassian.net/status/4"
|
|
950
|
+
* }
|
|
951
|
+
* ]
|
|
952
|
+
* },
|
|
953
|
+
* {
|
|
954
|
+
* "max": 4,
|
|
955
|
+
* "min": 2,
|
|
956
|
+
* "name": "In progress",
|
|
957
|
+
* "statuses": [
|
|
958
|
+
* {
|
|
959
|
+
* "id": "3",
|
|
960
|
+
* "self": "https://your-domain.atlassian.net/status/3"
|
|
961
|
+
* }
|
|
962
|
+
* ]
|
|
963
|
+
* },
|
|
964
|
+
* {
|
|
965
|
+
* "name": "Done",
|
|
966
|
+
* "statuses": [
|
|
967
|
+
* {
|
|
968
|
+
* "id": "5",
|
|
969
|
+
* "self": "https://your-domain.atlassian.net/status/5"
|
|
970
|
+
* }
|
|
971
|
+
* ]
|
|
972
|
+
* }
|
|
973
|
+
* ],
|
|
974
|
+
* "constraintType": "issueCount"
|
|
975
|
+
* },
|
|
976
|
+
* "estimation": {
|
|
977
|
+
* "field": {
|
|
978
|
+
* "displayName": "Story Points",
|
|
979
|
+
* "fieldId": "customfield_10002"
|
|
980
|
+
* },
|
|
981
|
+
* "type": "field"
|
|
982
|
+
* },
|
|
983
|
+
* "filter": {
|
|
984
|
+
* "id": "1001",
|
|
985
|
+
* "self": "https://your-domain.atlassian.net/filter/1001"
|
|
986
|
+
* },
|
|
987
|
+
* "id": 10000,
|
|
988
|
+
* "location": {
|
|
989
|
+
* "id": "10010",
|
|
990
|
+
* "key": "PROJ",
|
|
991
|
+
* "name": "name",
|
|
992
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/10010",
|
|
993
|
+
* "type": "project"
|
|
994
|
+
* },
|
|
995
|
+
* "name": "Board",
|
|
996
|
+
* "ranking": {
|
|
997
|
+
* "rankCustomFieldId": 10020
|
|
998
|
+
* },
|
|
999
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/board/84/config"
|
|
1000
|
+
* }
|
|
1001
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/configuration
|
|
1002
|
+
*/
|
|
1003
|
+
getConfiguration({ boardId, }) {
|
|
1004
|
+
return this.getClientInstance()
|
|
1005
|
+
.request({
|
|
1006
|
+
path: "/rest/agile/1.0/board/{boardId}/configuration",
|
|
1007
|
+
method: "GET",
|
|
1008
|
+
pathParams: {
|
|
1009
|
+
boardId,
|
|
1010
|
+
},
|
|
1011
|
+
})
|
|
1012
|
+
.then(this.getClientInstance().responseHandler({
|
|
1013
|
+
200: {
|
|
1014
|
+
"application/json": "json",
|
|
1015
|
+
},
|
|
1016
|
+
}))
|
|
1017
|
+
.then(commonHttpClient.castResponse())
|
|
1018
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getConfiguration.response"))
|
|
1019
|
+
.then(commonHttpClient.getBody);
|
|
1020
|
+
}
|
|
1021
|
+
/**
|
|
1022
|
+
* Returns all epics from the board, for the given board ID. This only includes
|
|
1023
|
+
* epics that the user has permission to view. Note, if the user does not have
|
|
1024
|
+
* permission to view the board, no epics will be returned at all.
|
|
1025
|
+
*
|
|
1026
|
+
* @returns Returns the requested epics, at the specified page of the results.
|
|
1027
|
+
*
|
|
1028
|
+
* example: {
|
|
1029
|
+
* "isLast": false,
|
|
1030
|
+
* "maxResults": 2,
|
|
1031
|
+
* "startAt": 1,
|
|
1032
|
+
* "total": 5,
|
|
1033
|
+
* "values": [
|
|
1034
|
+
* {
|
|
1035
|
+
* "id": 37,
|
|
1036
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/epic/23",
|
|
1037
|
+
* "name": "epic 1",
|
|
1038
|
+
* "summary": "epic 1 summary",
|
|
1039
|
+
* "color": {
|
|
1040
|
+
* "key": "color_4"
|
|
1041
|
+
* },
|
|
1042
|
+
* "done": true
|
|
1043
|
+
* },
|
|
1044
|
+
* {
|
|
1045
|
+
* "id": 37,
|
|
1046
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/epic/13",
|
|
1047
|
+
* "name": "epic 2",
|
|
1048
|
+
* "summary": "epic 2 summary",
|
|
1049
|
+
* "color": {
|
|
1050
|
+
* "key": "color_2"
|
|
1051
|
+
* },
|
|
1052
|
+
* "done": false
|
|
1053
|
+
* }
|
|
1054
|
+
* ]
|
|
1055
|
+
* }
|
|
1056
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/epic
|
|
1057
|
+
*/
|
|
1058
|
+
getEpics({ boardId, startAt, maxResults, done, }) {
|
|
1059
|
+
return this.getClientInstance()
|
|
1060
|
+
.request({
|
|
1061
|
+
path: "/rest/agile/1.0/board/{boardId}/epic",
|
|
1062
|
+
method: "GET",
|
|
1063
|
+
pathParams: {
|
|
1064
|
+
boardId,
|
|
1065
|
+
},
|
|
1066
|
+
query: {
|
|
1067
|
+
startAt,
|
|
1068
|
+
maxResults,
|
|
1069
|
+
done,
|
|
1070
|
+
},
|
|
1071
|
+
})
|
|
1072
|
+
.then(this.getClientInstance().responseHandler({
|
|
1073
|
+
200: {
|
|
1074
|
+
"application/json": "json",
|
|
1075
|
+
},
|
|
1076
|
+
}))
|
|
1077
|
+
.then(commonHttpClient.castResponse())
|
|
1078
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getEpics.response"))
|
|
1079
|
+
.then(commonHttpClient.getBody);
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
* @returns 200 response
|
|
1083
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/features
|
|
1084
|
+
*/
|
|
1085
|
+
getFeaturesForBoard({ boardId }) {
|
|
1086
|
+
return this.getClientInstance()
|
|
1087
|
+
.request({
|
|
1088
|
+
path: "/rest/agile/1.0/board/{boardId}/features",
|
|
1089
|
+
method: "GET",
|
|
1090
|
+
pathParams: {
|
|
1091
|
+
boardId,
|
|
1092
|
+
},
|
|
1093
|
+
})
|
|
1094
|
+
.then(this.getClientInstance().responseHandler({
|
|
1095
|
+
200: {
|
|
1096
|
+
"application/json": "json",
|
|
1097
|
+
},
|
|
1098
|
+
}))
|
|
1099
|
+
.then(commonHttpClient.castResponse())
|
|
1100
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getFeaturesForBoard.response"))
|
|
1101
|
+
.then(commonHttpClient.getBody);
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* Returns all issues from the board's backlog, for the given board ID. This only
|
|
1105
|
+
* includes issues that the user has permission to view. The backlog contains
|
|
1106
|
+
* incomplete issues that are not assigned to any future or active sprint. Note,
|
|
1107
|
+
* if the user does not have permission to view the board, no issues will be
|
|
1108
|
+
* returned at all. Issues returned from this resource include Agile fields, like
|
|
1109
|
+
* sprint, closedSprints, flagged, and epic. By default, the returned issues are
|
|
1110
|
+
* ordered by rank.
|
|
1111
|
+
*
|
|
1112
|
+
* @returns Returns the requested issues, at the specified page of the results.
|
|
1113
|
+
*
|
|
1114
|
+
* example: {
|
|
1115
|
+
* "expand": "names,schema",
|
|
1116
|
+
* "issues": [
|
|
1117
|
+
* {
|
|
1118
|
+
* "expand": "",
|
|
1119
|
+
* "fields": {
|
|
1120
|
+
* "flagged": true,
|
|
1121
|
+
* "sprint": {
|
|
1122
|
+
* "id": 37,
|
|
1123
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/13",
|
|
1124
|
+
* "state": "future",
|
|
1125
|
+
* "name": "sprint 2",
|
|
1126
|
+
* "goal": "sprint 2 goal"
|
|
1127
|
+
* },
|
|
1128
|
+
* "closedSprints": [
|
|
1129
|
+
* {
|
|
1130
|
+
* "id": 37,
|
|
1131
|
+
* "self":
|
|
1132
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/sprint/23",
|
|
1133
|
+
* "state": "closed",
|
|
1134
|
+
* "name": "sprint 1",
|
|
1135
|
+
* "startDate": "2015-04-11T15:22:00.000+10:00",
|
|
1136
|
+
* "endDate": "2015-04-20T01:22:00.000+10:00",
|
|
1137
|
+
* "completeDate": "2015-04-20T11:04:00.000+10:00",
|
|
1138
|
+
* "goal": "sprint 1 goal"
|
|
1139
|
+
* }
|
|
1140
|
+
* ],
|
|
1141
|
+
* "description": "example bug report",
|
|
1142
|
+
* "project": {
|
|
1143
|
+
* "avatarUrls": {
|
|
1144
|
+
* "16x16":
|
|
1145
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
1146
|
+
* "24x24":
|
|
1147
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
1148
|
+
* "32x32":
|
|
1149
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1150
|
+
* "48x48":
|
|
1151
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1152
|
+
* },
|
|
1153
|
+
* "id": "10000",
|
|
1154
|
+
* "insight": {
|
|
1155
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
1156
|
+
* "totalIssueCount": 100
|
|
1157
|
+
* },
|
|
1158
|
+
* "key": "EX",
|
|
1159
|
+
* "name": "Example",
|
|
1160
|
+
* "projectCategory": {
|
|
1161
|
+
* "description": "First Project Category",
|
|
1162
|
+
* "id": "10000",
|
|
1163
|
+
* "name": "FIRST",
|
|
1164
|
+
* "self":
|
|
1165
|
+
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1166
|
+
* },
|
|
1167
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1168
|
+
* "simplified": false,
|
|
1169
|
+
* "style": "classic"
|
|
1170
|
+
* },
|
|
1171
|
+
* "comment": [
|
|
1172
|
+
* {
|
|
1173
|
+
* "author": {
|
|
1174
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1175
|
+
* "active": false,
|
|
1176
|
+
* "displayName": "Mia Krystof",
|
|
1177
|
+
* "self":
|
|
1178
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1179
|
+
* },
|
|
1180
|
+
* "body": {
|
|
1181
|
+
* "type": "doc",
|
|
1182
|
+
* "version": 1,
|
|
1183
|
+
* "content": [
|
|
1184
|
+
* {
|
|
1185
|
+
* "type": "paragraph",
|
|
1186
|
+
* "content": [
|
|
1187
|
+
* {
|
|
1188
|
+
* "type": "text",
|
|
1189
|
+
* "text": "Lorem ipsum dolor sit amet, consectetur
|
|
1190
|
+
* adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue
|
|
1191
|
+
* iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue
|
|
1192
|
+
* semper."
|
|
1193
|
+
* }
|
|
1194
|
+
* ]
|
|
1195
|
+
* }
|
|
1196
|
+
* ]
|
|
1197
|
+
* },
|
|
1198
|
+
* "created": "2021-01-17T12:34:00.000+0000",
|
|
1199
|
+
* "id": "10000",
|
|
1200
|
+
* "self":
|
|
1201
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
1202
|
+
* "updateAuthor": {
|
|
1203
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1204
|
+
* "active": false,
|
|
1205
|
+
* "displayName": "Mia Krystof",
|
|
1206
|
+
* "self":
|
|
1207
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1208
|
+
* },
|
|
1209
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1210
|
+
* "visibility": {
|
|
1211
|
+
* "identifier": "Administrators",
|
|
1212
|
+
* "type": "role",
|
|
1213
|
+
* "value": "Administrators"
|
|
1214
|
+
* }
|
|
1215
|
+
* }
|
|
1216
|
+
* ],
|
|
1217
|
+
* "epic": {
|
|
1218
|
+
* "id": 37,
|
|
1219
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/epic/23",
|
|
1220
|
+
* "name": "epic 1",
|
|
1221
|
+
* "summary": "epic 1 summary",
|
|
1222
|
+
* "color": {
|
|
1223
|
+
* "key": "color_4"
|
|
1224
|
+
* },
|
|
1225
|
+
* "done": true
|
|
1226
|
+
* },
|
|
1227
|
+
* "worklog": [
|
|
1228
|
+
* {
|
|
1229
|
+
* "author": {
|
|
1230
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1231
|
+
* "active": false,
|
|
1232
|
+
* "displayName": "Mia Krystof",
|
|
1233
|
+
* "self":
|
|
1234
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1235
|
+
* },
|
|
1236
|
+
* "comment": {
|
|
1237
|
+
* "type": "doc",
|
|
1238
|
+
* "version": 1,
|
|
1239
|
+
* "content": [
|
|
1240
|
+
* {
|
|
1241
|
+
* "type": "paragraph",
|
|
1242
|
+
* "content": [
|
|
1243
|
+
* {
|
|
1244
|
+
* "type": "text",
|
|
1245
|
+
* "text": "I did some work here."
|
|
1246
|
+
* }
|
|
1247
|
+
* ]
|
|
1248
|
+
* }
|
|
1249
|
+
* ]
|
|
1250
|
+
* },
|
|
1251
|
+
* "id": "100028",
|
|
1252
|
+
* "issueId": "10002",
|
|
1253
|
+
* "self":
|
|
1254
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
1255
|
+
* "started": "2021-01-17T12:34:00.000+0000",
|
|
1256
|
+
* "timeSpent": "3h 20m",
|
|
1257
|
+
* "timeSpentSeconds": 12000,
|
|
1258
|
+
* "updateAuthor": {
|
|
1259
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1260
|
+
* "active": false,
|
|
1261
|
+
* "displayName": "Mia Krystof",
|
|
1262
|
+
* "self":
|
|
1263
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1264
|
+
* },
|
|
1265
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1266
|
+
* "visibility": {
|
|
1267
|
+
* "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
1268
|
+
* "type": "group",
|
|
1269
|
+
* "value": "jira-developers"
|
|
1270
|
+
* }
|
|
1271
|
+
* }
|
|
1272
|
+
* ],
|
|
1273
|
+
* "updated": 1,
|
|
1274
|
+
* "timetracking": {
|
|
1275
|
+
* "originalEstimate": "10m",
|
|
1276
|
+
* "originalEstimateSeconds": 600,
|
|
1277
|
+
* "remainingEstimate": "3m",
|
|
1278
|
+
* "remainingEstimateSeconds": 200,
|
|
1279
|
+
* "timeSpent": "6m",
|
|
1280
|
+
* "timeSpentSeconds": 400
|
|
1281
|
+
* }
|
|
1282
|
+
* },
|
|
1283
|
+
* "id": "10001",
|
|
1284
|
+
* "key": "HSP-1",
|
|
1285
|
+
* "self":
|
|
1286
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/board/92/issue/10001"
|
|
1287
|
+
* }
|
|
1288
|
+
* ],
|
|
1289
|
+
* "maxResults": 50,
|
|
1290
|
+
* "startAt": 0,
|
|
1291
|
+
* "total": 1
|
|
1292
|
+
* }
|
|
1293
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/backlog
|
|
1294
|
+
*/
|
|
1295
|
+
getIssuesForBacklog({ boardId, startAt, maxResults, jql, validateQuery, fields, expand, }) {
|
|
1296
|
+
return this.getClientInstance()
|
|
1297
|
+
.request({
|
|
1298
|
+
path: "/rest/agile/1.0/board/{boardId}/backlog",
|
|
1299
|
+
method: "GET",
|
|
1300
|
+
pathParams: {
|
|
1301
|
+
boardId,
|
|
1302
|
+
},
|
|
1303
|
+
query: {
|
|
1304
|
+
startAt,
|
|
1305
|
+
maxResults,
|
|
1306
|
+
jql,
|
|
1307
|
+
validateQuery,
|
|
1308
|
+
fields,
|
|
1309
|
+
expand,
|
|
1310
|
+
},
|
|
1311
|
+
})
|
|
1312
|
+
.then(this.getClientInstance().responseHandler({
|
|
1313
|
+
200: {
|
|
1314
|
+
"application/json": "json",
|
|
1315
|
+
},
|
|
1316
|
+
}))
|
|
1317
|
+
.then(commonHttpClient.castResponse())
|
|
1318
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getIssuesForBacklog.response"))
|
|
1319
|
+
.then(commonHttpClient.getBody);
|
|
1320
|
+
}
|
|
1321
|
+
/**
|
|
1322
|
+
* Returns all issues from a board, for a given board ID. This only includes
|
|
1323
|
+
* issues that the user has permission to view. An issue belongs to the board if
|
|
1324
|
+
* its status is mapped to the board's column. Epic issues do not belongs to the
|
|
1325
|
+
* scrum boards. Note, if the user does not have permission to view the board, no
|
|
1326
|
+
* issues will be returned at all. Issues returned from this resource include
|
|
1327
|
+
* Agile fields, like sprint, closedSprints, flagged, and epic. By default, the
|
|
1328
|
+
* returned issues are ordered by rank.
|
|
1329
|
+
*
|
|
1330
|
+
* @returns Returns the requested issues, at the specified page of the results.
|
|
1331
|
+
*
|
|
1332
|
+
* example: {
|
|
1333
|
+
* "expand": "names,schema",
|
|
1334
|
+
* "issues": [
|
|
1335
|
+
* {
|
|
1336
|
+
* "expand": "",
|
|
1337
|
+
* "fields": {
|
|
1338
|
+
* "flagged": true,
|
|
1339
|
+
* "sprint": {
|
|
1340
|
+
* "id": 37,
|
|
1341
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/13",
|
|
1342
|
+
* "state": "future",
|
|
1343
|
+
* "name": "sprint 2",
|
|
1344
|
+
* "goal": "sprint 2 goal"
|
|
1345
|
+
* },
|
|
1346
|
+
* "closedSprints": [
|
|
1347
|
+
* {
|
|
1348
|
+
* "id": 37,
|
|
1349
|
+
* "self":
|
|
1350
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/sprint/23",
|
|
1351
|
+
* "state": "closed",
|
|
1352
|
+
* "name": "sprint 1",
|
|
1353
|
+
* "startDate": "2015-04-11T15:22:00.000+10:00",
|
|
1354
|
+
* "endDate": "2015-04-20T01:22:00.000+10:00",
|
|
1355
|
+
* "completeDate": "2015-04-20T11:04:00.000+10:00",
|
|
1356
|
+
* "goal": "sprint 1 goal"
|
|
1357
|
+
* }
|
|
1358
|
+
* ],
|
|
1359
|
+
* "description": "example bug report",
|
|
1360
|
+
* "project": {
|
|
1361
|
+
* "avatarUrls": {
|
|
1362
|
+
* "16x16":
|
|
1363
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
1364
|
+
* "24x24":
|
|
1365
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
1366
|
+
* "32x32":
|
|
1367
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1368
|
+
* "48x48":
|
|
1369
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1370
|
+
* },
|
|
1371
|
+
* "id": "10000",
|
|
1372
|
+
* "insight": {
|
|
1373
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
1374
|
+
* "totalIssueCount": 100
|
|
1375
|
+
* },
|
|
1376
|
+
* "key": "EX",
|
|
1377
|
+
* "name": "Example",
|
|
1378
|
+
* "projectCategory": {
|
|
1379
|
+
* "description": "First Project Category",
|
|
1380
|
+
* "id": "10000",
|
|
1381
|
+
* "name": "FIRST",
|
|
1382
|
+
* "self":
|
|
1383
|
+
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1384
|
+
* },
|
|
1385
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1386
|
+
* "simplified": false,
|
|
1387
|
+
* "style": "classic"
|
|
1388
|
+
* },
|
|
1389
|
+
* "comment": [
|
|
1390
|
+
* {
|
|
1391
|
+
* "author": {
|
|
1392
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1393
|
+
* "active": false,
|
|
1394
|
+
* "displayName": "Mia Krystof",
|
|
1395
|
+
* "self":
|
|
1396
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1397
|
+
* },
|
|
1398
|
+
* "body": {
|
|
1399
|
+
* "type": "doc",
|
|
1400
|
+
* "version": 1,
|
|
1401
|
+
* "content": [
|
|
1402
|
+
* {
|
|
1403
|
+
* "type": "paragraph",
|
|
1404
|
+
* "content": [
|
|
1405
|
+
* {
|
|
1406
|
+
* "type": "text",
|
|
1407
|
+
* "text": "Lorem ipsum dolor sit amet, consectetur
|
|
1408
|
+
* adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue
|
|
1409
|
+
* iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue
|
|
1410
|
+
* semper."
|
|
1411
|
+
* }
|
|
1412
|
+
* ]
|
|
1413
|
+
* }
|
|
1414
|
+
* ]
|
|
1415
|
+
* },
|
|
1416
|
+
* "created": "2021-01-17T12:34:00.000+0000",
|
|
1417
|
+
* "id": "10000",
|
|
1418
|
+
* "self":
|
|
1419
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
1420
|
+
* "updateAuthor": {
|
|
1421
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1422
|
+
* "active": false,
|
|
1423
|
+
* "displayName": "Mia Krystof",
|
|
1424
|
+
* "self":
|
|
1425
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1426
|
+
* },
|
|
1427
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1428
|
+
* "visibility": {
|
|
1429
|
+
* "identifier": "Administrators",
|
|
1430
|
+
* "type": "role",
|
|
1431
|
+
* "value": "Administrators"
|
|
1432
|
+
* }
|
|
1433
|
+
* }
|
|
1434
|
+
* ],
|
|
1435
|
+
* "epic": {
|
|
1436
|
+
* "id": 37,
|
|
1437
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/epic/23",
|
|
1438
|
+
* "name": "epic 1",
|
|
1439
|
+
* "summary": "epic 1 summary",
|
|
1440
|
+
* "color": {
|
|
1441
|
+
* "key": "color_4"
|
|
1442
|
+
* },
|
|
1443
|
+
* "done": true
|
|
1444
|
+
* },
|
|
1445
|
+
* "worklog": [
|
|
1446
|
+
* {
|
|
1447
|
+
* "author": {
|
|
1448
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1449
|
+
* "active": false,
|
|
1450
|
+
* "displayName": "Mia Krystof",
|
|
1451
|
+
* "self":
|
|
1452
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1453
|
+
* },
|
|
1454
|
+
* "comment": {
|
|
1455
|
+
* "type": "doc",
|
|
1456
|
+
* "version": 1,
|
|
1457
|
+
* "content": [
|
|
1458
|
+
* {
|
|
1459
|
+
* "type": "paragraph",
|
|
1460
|
+
* "content": [
|
|
1461
|
+
* {
|
|
1462
|
+
* "type": "text",
|
|
1463
|
+
* "text": "I did some work here."
|
|
1464
|
+
* }
|
|
1465
|
+
* ]
|
|
1466
|
+
* }
|
|
1467
|
+
* ]
|
|
1468
|
+
* },
|
|
1469
|
+
* "id": "100028",
|
|
1470
|
+
* "issueId": "10002",
|
|
1471
|
+
* "self":
|
|
1472
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
1473
|
+
* "started": "2021-01-17T12:34:00.000+0000",
|
|
1474
|
+
* "timeSpent": "3h 20m",
|
|
1475
|
+
* "timeSpentSeconds": 12000,
|
|
1476
|
+
* "updateAuthor": {
|
|
1477
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1478
|
+
* "active": false,
|
|
1479
|
+
* "displayName": "Mia Krystof",
|
|
1480
|
+
* "self":
|
|
1481
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1482
|
+
* },
|
|
1483
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1484
|
+
* "visibility": {
|
|
1485
|
+
* "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
1486
|
+
* "type": "group",
|
|
1487
|
+
* "value": "jira-developers"
|
|
1488
|
+
* }
|
|
1489
|
+
* }
|
|
1490
|
+
* ],
|
|
1491
|
+
* "updated": 1,
|
|
1492
|
+
* "timetracking": {
|
|
1493
|
+
* "originalEstimate": "10m",
|
|
1494
|
+
* "originalEstimateSeconds": 600,
|
|
1495
|
+
* "remainingEstimate": "3m",
|
|
1496
|
+
* "remainingEstimateSeconds": 200,
|
|
1497
|
+
* "timeSpent": "6m",
|
|
1498
|
+
* "timeSpentSeconds": 400
|
|
1499
|
+
* }
|
|
1500
|
+
* },
|
|
1501
|
+
* "id": "10001",
|
|
1502
|
+
* "key": "HSP-1",
|
|
1503
|
+
* "self":
|
|
1504
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/board/92/issue/10001"
|
|
1505
|
+
* }
|
|
1506
|
+
* ],
|
|
1507
|
+
* "maxResults": 50,
|
|
1508
|
+
* "startAt": 0,
|
|
1509
|
+
* "total": 1
|
|
1510
|
+
* }
|
|
1511
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/issue
|
|
1512
|
+
*/
|
|
1513
|
+
getIssuesForBoard({ boardId, startAt, maxResults, jql, validateQuery, fields, expand, }) {
|
|
1514
|
+
return this.getClientInstance()
|
|
1515
|
+
.request({
|
|
1516
|
+
path: "/rest/agile/1.0/board/{boardId}/issue",
|
|
1517
|
+
method: "GET",
|
|
1518
|
+
pathParams: {
|
|
1519
|
+
boardId,
|
|
1520
|
+
},
|
|
1521
|
+
query: {
|
|
1522
|
+
startAt,
|
|
1523
|
+
maxResults,
|
|
1524
|
+
jql,
|
|
1525
|
+
validateQuery,
|
|
1526
|
+
fields,
|
|
1527
|
+
expand,
|
|
1528
|
+
},
|
|
1529
|
+
})
|
|
1530
|
+
.then(this.getClientInstance().responseHandler({
|
|
1531
|
+
200: {
|
|
1532
|
+
"application/json": "json",
|
|
1533
|
+
},
|
|
1534
|
+
}))
|
|
1535
|
+
.then(commonHttpClient.castResponse())
|
|
1536
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getIssuesForBoard.response"))
|
|
1537
|
+
.then(commonHttpClient.getBody);
|
|
1538
|
+
}
|
|
1539
|
+
/**
|
|
1540
|
+
* Returns all issues that do not belong to any epic on a board, for a given board
|
|
1541
|
+
* ID. This only includes issues that the user has permission to view. Issues
|
|
1542
|
+
* returned from this resource include Agile fields, like sprint, closedSprints,
|
|
1543
|
+
* flagged, and epic. By default, the returned issues are ordered by rank.
|
|
1544
|
+
*
|
|
1545
|
+
* @returns Returns the requested issues, at the specified page of the results.
|
|
1546
|
+
*
|
|
1547
|
+
* example: {
|
|
1548
|
+
* "expand": "names,schema",
|
|
1549
|
+
* "issues": [
|
|
1550
|
+
* {
|
|
1551
|
+
* "expand": "",
|
|
1552
|
+
* "fields": {
|
|
1553
|
+
* "flagged": true,
|
|
1554
|
+
* "sprint": {
|
|
1555
|
+
* "id": 37,
|
|
1556
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/sprint/13",
|
|
1557
|
+
* "state": "future",
|
|
1558
|
+
* "name": "sprint 2",
|
|
1559
|
+
* "goal": "sprint 2 goal"
|
|
1560
|
+
* },
|
|
1561
|
+
* "closedSprints": [
|
|
1562
|
+
* {
|
|
1563
|
+
* "id": 37,
|
|
1564
|
+
* "self":
|
|
1565
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/sprint/23",
|
|
1566
|
+
* "state": "closed",
|
|
1567
|
+
* "name": "sprint 1",
|
|
1568
|
+
* "startDate": "2015-04-11T15:22:00.000+10:00",
|
|
1569
|
+
* "endDate": "2015-04-20T01:22:00.000+10:00",
|
|
1570
|
+
* "completeDate": "2015-04-20T11:04:00.000+10:00",
|
|
1571
|
+
* "goal": "sprint 1 goal"
|
|
1572
|
+
* }
|
|
1573
|
+
* ],
|
|
1574
|
+
* "description": "example bug report",
|
|
1575
|
+
* "project": {
|
|
1576
|
+
* "avatarUrls": {
|
|
1577
|
+
* "16x16":
|
|
1578
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
1579
|
+
* "24x24":
|
|
1580
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
1581
|
+
* "32x32":
|
|
1582
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1583
|
+
* "48x48":
|
|
1584
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1585
|
+
* },
|
|
1586
|
+
* "id": "10000",
|
|
1587
|
+
* "insight": {
|
|
1588
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
1589
|
+
* "totalIssueCount": 100
|
|
1590
|
+
* },
|
|
1591
|
+
* "key": "EX",
|
|
1592
|
+
* "name": "Example",
|
|
1593
|
+
* "projectCategory": {
|
|
1594
|
+
* "description": "First Project Category",
|
|
1595
|
+
* "id": "10000",
|
|
1596
|
+
* "name": "FIRST",
|
|
1597
|
+
* "self":
|
|
1598
|
+
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1599
|
+
* },
|
|
1600
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1601
|
+
* "simplified": false,
|
|
1602
|
+
* "style": "classic"
|
|
1603
|
+
* },
|
|
1604
|
+
* "comment": [
|
|
1605
|
+
* {
|
|
1606
|
+
* "author": {
|
|
1607
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1608
|
+
* "active": false,
|
|
1609
|
+
* "displayName": "Mia Krystof",
|
|
1610
|
+
* "self":
|
|
1611
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1612
|
+
* },
|
|
1613
|
+
* "body": {
|
|
1614
|
+
* "type": "doc",
|
|
1615
|
+
* "version": 1,
|
|
1616
|
+
* "content": [
|
|
1617
|
+
* {
|
|
1618
|
+
* "type": "paragraph",
|
|
1619
|
+
* "content": [
|
|
1620
|
+
* {
|
|
1621
|
+
* "type": "text",
|
|
1622
|
+
* "text": "Lorem ipsum dolor sit amet, consectetur
|
|
1623
|
+
* adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue
|
|
1624
|
+
* iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue
|
|
1625
|
+
* semper."
|
|
1626
|
+
* }
|
|
1627
|
+
* ]
|
|
1628
|
+
* }
|
|
1629
|
+
* ]
|
|
1630
|
+
* },
|
|
1631
|
+
* "created": "2021-01-17T12:34:00.000+0000",
|
|
1632
|
+
* "id": "10000",
|
|
1633
|
+
* "self":
|
|
1634
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/comment/10000",
|
|
1635
|
+
* "updateAuthor": {
|
|
1636
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1637
|
+
* "active": false,
|
|
1638
|
+
* "displayName": "Mia Krystof",
|
|
1639
|
+
* "self":
|
|
1640
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1641
|
+
* },
|
|
1642
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1643
|
+
* "visibility": {
|
|
1644
|
+
* "identifier": "Administrators",
|
|
1645
|
+
* "type": "role",
|
|
1646
|
+
* "value": "Administrators"
|
|
1647
|
+
* }
|
|
1648
|
+
* }
|
|
1649
|
+
* ],
|
|
1650
|
+
* "epic": {
|
|
1651
|
+
* "id": 37,
|
|
1652
|
+
* "self": "https://your-domain.atlassian.net/rest/agile/1.0/epic/23",
|
|
1653
|
+
* "name": "epic 1",
|
|
1654
|
+
* "summary": "epic 1 summary",
|
|
1655
|
+
* "color": {
|
|
1656
|
+
* "key": "color_4"
|
|
1657
|
+
* },
|
|
1658
|
+
* "done": true
|
|
1659
|
+
* },
|
|
1660
|
+
* "worklog": [
|
|
1661
|
+
* {
|
|
1662
|
+
* "author": {
|
|
1663
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1664
|
+
* "active": false,
|
|
1665
|
+
* "displayName": "Mia Krystof",
|
|
1666
|
+
* "self":
|
|
1667
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1668
|
+
* },
|
|
1669
|
+
* "comment": {
|
|
1670
|
+
* "type": "doc",
|
|
1671
|
+
* "version": 1,
|
|
1672
|
+
* "content": [
|
|
1673
|
+
* {
|
|
1674
|
+
* "type": "paragraph",
|
|
1675
|
+
* "content": [
|
|
1676
|
+
* {
|
|
1677
|
+
* "type": "text",
|
|
1678
|
+
* "text": "I did some work here."
|
|
1679
|
+
* }
|
|
1680
|
+
* ]
|
|
1681
|
+
* }
|
|
1682
|
+
* ]
|
|
1683
|
+
* },
|
|
1684
|
+
* "id": "100028",
|
|
1685
|
+
* "issueId": "10002",
|
|
1686
|
+
* "self":
|
|
1687
|
+
* "https://your-domain.atlassian.net/rest/api/3/issue/10010/worklog/10000",
|
|
1688
|
+
* "started": "2021-01-17T12:34:00.000+0000",
|
|
1689
|
+
* "timeSpent": "3h 20m",
|
|
1690
|
+
* "timeSpentSeconds": 12000,
|
|
1691
|
+
* "updateAuthor": {
|
|
1692
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1693
|
+
* "active": false,
|
|
1694
|
+
* "displayName": "Mia Krystof",
|
|
1695
|
+
* "self":
|
|
1696
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1697
|
+
* },
|
|
1698
|
+
* "updated": "2021-01-18T23:45:00.000+0000",
|
|
1699
|
+
* "visibility": {
|
|
1700
|
+
* "identifier": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
1701
|
+
* "type": "group",
|
|
1702
|
+
* "value": "jira-developers"
|
|
1703
|
+
* }
|
|
1704
|
+
* }
|
|
1705
|
+
* ],
|
|
1706
|
+
* "updated": 1,
|
|
1707
|
+
* "timetracking": {
|
|
1708
|
+
* "originalEstimate": "10m",
|
|
1709
|
+
* "originalEstimateSeconds": 600,
|
|
1710
|
+
* "remainingEstimate": "3m",
|
|
1711
|
+
* "remainingEstimateSeconds": 200,
|
|
1712
|
+
* "timeSpent": "6m",
|
|
1713
|
+
* "timeSpentSeconds": 400
|
|
1714
|
+
* }
|
|
1715
|
+
* },
|
|
1716
|
+
* "id": "10001",
|
|
1717
|
+
* "key": "HSP-1",
|
|
1718
|
+
* "self":
|
|
1719
|
+
* "https://your-domain.atlassian.net/rest/agile/1.0/board/92/issue/10001"
|
|
1720
|
+
* }
|
|
1721
|
+
* ],
|
|
1722
|
+
* "maxResults": 50,
|
|
1723
|
+
* "startAt": 0,
|
|
1724
|
+
* "total": 1
|
|
1725
|
+
* }
|
|
1726
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/epic/none/issue
|
|
1727
|
+
*/
|
|
1728
|
+
getIssuesWithoutEpicForBoard({ boardId, startAt, maxResults, jql, validateQuery, fields, expand, }) {
|
|
1729
|
+
return this.getClientInstance()
|
|
1730
|
+
.request({
|
|
1731
|
+
path: "/rest/agile/1.0/board/{boardId}/epic/none/issue",
|
|
1732
|
+
method: "GET",
|
|
1733
|
+
pathParams: {
|
|
1734
|
+
boardId,
|
|
1735
|
+
},
|
|
1736
|
+
query: {
|
|
1737
|
+
startAt,
|
|
1738
|
+
maxResults,
|
|
1739
|
+
jql,
|
|
1740
|
+
validateQuery,
|
|
1741
|
+
fields,
|
|
1742
|
+
expand,
|
|
1743
|
+
},
|
|
1744
|
+
})
|
|
1745
|
+
.then(this.getClientInstance().responseHandler({
|
|
1746
|
+
200: {
|
|
1747
|
+
"application/json": "json",
|
|
1748
|
+
},
|
|
1749
|
+
}))
|
|
1750
|
+
.then(commonHttpClient.castResponse())
|
|
1751
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getIssuesWithoutEpicForBoard.response"))
|
|
1752
|
+
.then(commonHttpClient.getBody);
|
|
1753
|
+
}
|
|
1754
|
+
/**
|
|
1755
|
+
* Returns all projects that are associated with the board, for the given board
|
|
1756
|
+
* ID. If the user does not have permission to view the board, no projects will be
|
|
1757
|
+
* returned at all. Returned projects are ordered by the name.
|
|
1758
|
+
*
|
|
1759
|
+
* A project is associated with a board if the board filter contains reference the
|
|
1760
|
+
* project or there is an issue from the project that belongs to the board.
|
|
1761
|
+
*
|
|
1762
|
+
* The board filter contains reference the project only if JQL query guarantees
|
|
1763
|
+
* that returned issues will be returned from the project set defined in JQL. For
|
|
1764
|
+
* instance the query `project in (ABC, BCD) AND reporter = admin` have reference
|
|
1765
|
+
* to ABC and BCD projects but query `project in (ABC, BCD) OR reporter = admin`
|
|
1766
|
+
* doesn't have reference to any project.
|
|
1767
|
+
*
|
|
1768
|
+
* An issue belongs to the board if its status is mapped to the board's column.
|
|
1769
|
+
* Epic issues do not belongs to the scrum boards.
|
|
1770
|
+
*
|
|
1771
|
+
* @returns Returns the board's projects, at the specified page of the results.
|
|
1772
|
+
*
|
|
1773
|
+
* example: {
|
|
1774
|
+
* "isLast": true,
|
|
1775
|
+
* "maxResults": 10,
|
|
1776
|
+
* "startAt": 0,
|
|
1777
|
+
* "total": 2,
|
|
1778
|
+
* "values": [
|
|
1779
|
+
* {
|
|
1780
|
+
* "avatarUrls": {
|
|
1781
|
+
* "16x16": "secure/projectavatar?size=xsmall&pid=10000",
|
|
1782
|
+
* "24x24": "secure/projectavatar?size=small&pid=10000",
|
|
1783
|
+
* "32x32": "secure/projectavatar?size=medium&pid=10000",
|
|
1784
|
+
* "48x48": "secure/projectavatar?size=large&pid=10000"
|
|
1785
|
+
* },
|
|
1786
|
+
* "id": "10000",
|
|
1787
|
+
* "key": "EX",
|
|
1788
|
+
* "name": "Example",
|
|
1789
|
+
* "projectCategory": {
|
|
1790
|
+
* "description": "Project category description",
|
|
1791
|
+
* "id": "10000",
|
|
1792
|
+
* "name": "A project category"
|
|
1793
|
+
* },
|
|
1794
|
+
* "projectTypeKey": "ProjectTypeKey{key='software'}",
|
|
1795
|
+
* "self": "project/EX",
|
|
1796
|
+
* "simplified": false
|
|
1797
|
+
* }
|
|
1798
|
+
* ]
|
|
1799
|
+
* }
|
|
1800
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/project
|
|
1801
|
+
*/
|
|
1802
|
+
getProjects({ boardId, startAt, maxResults, }) {
|
|
1803
|
+
return this.getClientInstance()
|
|
1804
|
+
.request({
|
|
1805
|
+
path: "/rest/agile/1.0/board/{boardId}/project",
|
|
1806
|
+
method: "GET",
|
|
1807
|
+
pathParams: {
|
|
1808
|
+
boardId,
|
|
1809
|
+
},
|
|
1810
|
+
query: {
|
|
1811
|
+
startAt,
|
|
1812
|
+
maxResults,
|
|
1813
|
+
},
|
|
1814
|
+
})
|
|
1815
|
+
.then(this.getClientInstance().responseHandler({
|
|
1816
|
+
200: {
|
|
1817
|
+
"application/json": "json",
|
|
1818
|
+
},
|
|
1819
|
+
}))
|
|
1820
|
+
.then(commonHttpClient.castResponse())
|
|
1821
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getProjects.response"))
|
|
1822
|
+
.then(commonHttpClient.getBody);
|
|
1823
|
+
}
|
|
1824
|
+
/**
|
|
1825
|
+
* Returns all projects that are statically associated with the board, for the
|
|
1826
|
+
* given board ID. Returned projects are ordered by the name.
|
|
1827
|
+
*
|
|
1828
|
+
* A project is associated with a board if the board filter contains reference the
|
|
1829
|
+
* project.
|
|
1830
|
+
*
|
|
1831
|
+
* The board filter contains reference the project only if JQL query guarantees
|
|
1832
|
+
* that returned issues will be returned from the project set defined in JQL. For
|
|
1833
|
+
* instance the query `project in (ABC, BCD) AND reporter = admin` have reference
|
|
1834
|
+
* to ABC and BCD projects but query `project in (ABC, BCD) OR reporter = admin`
|
|
1835
|
+
* doesn't have reference to any project.
|
|
1836
|
+
*
|
|
1837
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/project/full
|
|
1838
|
+
*/
|
|
1839
|
+
getProjectsFull({ boardId, }) {
|
|
1840
|
+
return this.getClientInstance()
|
|
1841
|
+
.request({
|
|
1842
|
+
path: "/rest/agile/1.0/board/{boardId}/project/full",
|
|
1843
|
+
method: "GET",
|
|
1844
|
+
pathParams: {
|
|
1845
|
+
boardId,
|
|
1846
|
+
},
|
|
1847
|
+
})
|
|
1848
|
+
.then(commonHttpClient.discardResult);
|
|
1849
|
+
}
|
|
1850
|
+
/**
|
|
1851
|
+
* Returns the quick filter for a given quick filter ID. The quick filter will
|
|
1852
|
+
* only be returned if the user can view the board that the quick filter belongs
|
|
1853
|
+
* to.
|
|
1854
|
+
*
|
|
1855
|
+
* @returns Returns the requested quick filter.
|
|
1856
|
+
*
|
|
1857
|
+
* example: {
|
|
1858
|
+
* "boardId": 1,
|
|
1859
|
+
* "description": "Issues of type bug",
|
|
1860
|
+
* "id": 1,
|
|
1861
|
+
* "jql": "issueType = bug",
|
|
1862
|
+
* "name": "Bugs",
|
|
1863
|
+
* "position": 0
|
|
1864
|
+
* }
|
|
1865
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/quickfilter/{quickFilterId}
|
|
1866
|
+
*/
|
|
1867
|
+
getQuickFilter({ boardId, quickFilterId, }) {
|
|
1868
|
+
return this.getClientInstance()
|
|
1869
|
+
.request({
|
|
1870
|
+
path: "/rest/agile/1.0/board/{boardId}/quickfilter/{quickFilterId}",
|
|
1871
|
+
method: "GET",
|
|
1872
|
+
pathParams: {
|
|
1873
|
+
boardId,
|
|
1874
|
+
quickFilterId,
|
|
1875
|
+
},
|
|
1876
|
+
})
|
|
1877
|
+
.then(this.getClientInstance().responseHandler({
|
|
1878
|
+
200: {
|
|
1879
|
+
"application/json": "json",
|
|
1880
|
+
},
|
|
1881
|
+
}))
|
|
1882
|
+
.then(commonHttpClient.castResponse())
|
|
1883
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getQuickFilter.response"))
|
|
1884
|
+
.then(commonHttpClient.getBody);
|
|
1885
|
+
}
|
|
1886
|
+
/**
|
|
1887
|
+
* @returns 200 response
|
|
1888
|
+
* @path {GET} /rest/agile/1.0/board/{boardId}/reports
|
|
1889
|
+
*/
|
|
1890
|
+
getReportsForBoard({ boardId }) {
|
|
1891
|
+
return this.getClientInstance()
|
|
1892
|
+
.request({
|
|
1893
|
+
path: "/rest/agile/1.0/board/{boardId}/reports",
|
|
1894
|
+
method: "GET",
|
|
1895
|
+
pathParams: {
|
|
1896
|
+
boardId,
|
|
1897
|
+
},
|
|
1898
|
+
})
|
|
1899
|
+
.then(this.getClientInstance().responseHandler({
|
|
1900
|
+
200: {
|
|
1901
|
+
"application/json": "json",
|
|
1902
|
+
},
|
|
1903
|
+
}))
|
|
1904
|
+
.then(commonHttpClient.castResponse())
|
|
1905
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.getReportsForBoard.response"))
|
|
1906
|
+
.then(commonHttpClient.getBody);
|
|
1907
|
+
}
|
|
1908
|
+
/**
|
|
1909
|
+
* Move issues from the backog to the board (if they are already in the backlog of
|
|
1910
|
+
* that board).
|
|
1911
|
+
* This operation either moves an issue(s) onto a board from the backlog (by
|
|
1912
|
+
* adding it to the issueList for the board) Or transitions the issue(s) to the
|
|
1913
|
+
* first column for a kanban board with backlog. At most 50 issues may be moved at
|
|
1914
|
+
* once.
|
|
1915
|
+
*
|
|
1916
|
+
* @returns Returns the list of issue with status of rank operation.
|
|
1917
|
+
*
|
|
1918
|
+
* example: {
|
|
1919
|
+
* "entries": [
|
|
1920
|
+
* {
|
|
1921
|
+
* "issueId": 10000,
|
|
1922
|
+
* "issueKey": "PR-1",
|
|
1923
|
+
* "status": 200
|
|
1924
|
+
* },
|
|
1925
|
+
* {
|
|
1926
|
+
* "issueId": 10001,
|
|
1927
|
+
* "issueKey": "PR-2",
|
|
1928
|
+
* "status": 200
|
|
1929
|
+
* },
|
|
1930
|
+
* {
|
|
1931
|
+
* "errors": [
|
|
1932
|
+
* "JIRA Agile cannot execute the rank operation at this time. Please try
|
|
1933
|
+
* again later."
|
|
1934
|
+
* ],
|
|
1935
|
+
* "issueId": 10002,
|
|
1936
|
+
* "issueKey": "PR-3",
|
|
1937
|
+
* "status": 503
|
|
1938
|
+
* }
|
|
1939
|
+
* ]
|
|
1940
|
+
* }
|
|
1941
|
+
* @path {POST} /rest/agile/1.0/board/{boardId}/issue
|
|
1942
|
+
*/
|
|
1943
|
+
moveIssuesToBoard({ boardId, requestBody, }) {
|
|
1944
|
+
return this.getClientInstance()
|
|
1945
|
+
.request({
|
|
1946
|
+
path: "/rest/agile/1.0/board/{boardId}/issue",
|
|
1947
|
+
method: "POST",
|
|
1948
|
+
pathParams: {
|
|
1949
|
+
boardId,
|
|
1950
|
+
},
|
|
1951
|
+
headers: {
|
|
1952
|
+
"Content-Type": "application/json",
|
|
1953
|
+
},
|
|
1954
|
+
body: requestBody,
|
|
1955
|
+
})
|
|
1956
|
+
.then(this.getClientInstance().responseHandler({
|
|
1957
|
+
204: {},
|
|
1958
|
+
207: {
|
|
1959
|
+
"application/json": "json",
|
|
1960
|
+
},
|
|
1961
|
+
}))
|
|
1962
|
+
.then(commonHttpClient.castResponse())
|
|
1963
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.moveIssuesToBoard.response"))
|
|
1964
|
+
.then(commonHttpClient.getBody);
|
|
1965
|
+
}
|
|
1966
|
+
/**
|
|
1967
|
+
* Sets the value of the specified board's property.
|
|
1968
|
+
*
|
|
1969
|
+
* You can use this resource to store a custom data against the board identified
|
|
1970
|
+
* by the id. The user who stores the data is required to have permissions to
|
|
1971
|
+
* modify the board.
|
|
1972
|
+
*
|
|
1973
|
+
* @returns * status: 200, mediaType: application/json
|
|
1974
|
+
*
|
|
1975
|
+
* Returned if the board property is successfully updated.
|
|
1976
|
+
*
|
|
1977
|
+
* * status: 201, mediaType: application/json
|
|
1978
|
+
*
|
|
1979
|
+
* Returned if the board property is successfully created.
|
|
1980
|
+
* @path {PUT} /rest/agile/1.0/board/{boardId}/properties/{propertyKey}
|
|
1981
|
+
*/
|
|
1982
|
+
setBoardProperty({ boardId, propertyKey, requestBody, }) {
|
|
1983
|
+
return this.getClientInstance()
|
|
1984
|
+
.request({
|
|
1985
|
+
path: "/rest/agile/1.0/board/{boardId}/properties/{propertyKey}",
|
|
1986
|
+
method: "PUT",
|
|
1987
|
+
pathParams: {
|
|
1988
|
+
boardId,
|
|
1989
|
+
propertyKey,
|
|
1990
|
+
},
|
|
1991
|
+
headers: {
|
|
1992
|
+
"Content-Type": "application/json",
|
|
1993
|
+
},
|
|
1994
|
+
body: requestBody,
|
|
1995
|
+
})
|
|
1996
|
+
.then(this.getClientInstance().responseHandler({
|
|
1997
|
+
200: {
|
|
1998
|
+
"application/json": "json",
|
|
1999
|
+
},
|
|
2000
|
+
201: {
|
|
2001
|
+
"application/json": "json",
|
|
2002
|
+
},
|
|
2003
|
+
}))
|
|
2004
|
+
.then(commonHttpClient.castResponse())
|
|
2005
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.setBoardProperty.response"))
|
|
2006
|
+
.then(commonHttpClient.asCreatedResponse("body"));
|
|
2007
|
+
}
|
|
2008
|
+
/**
|
|
2009
|
+
* @returns 200 response
|
|
2010
|
+
* @path {PUT} /rest/agile/1.0/board/{boardId}/features
|
|
2011
|
+
*/
|
|
2012
|
+
toggleFeatures({ boardId, requestBody, }) {
|
|
2013
|
+
return this.getClientInstance()
|
|
2014
|
+
.request({
|
|
2015
|
+
path: "/rest/agile/1.0/board/{boardId}/features",
|
|
2016
|
+
method: "PUT",
|
|
2017
|
+
pathParams: {
|
|
2018
|
+
boardId,
|
|
2019
|
+
},
|
|
2020
|
+
headers: {
|
|
2021
|
+
"Content-Type": "application/json",
|
|
2022
|
+
},
|
|
2023
|
+
body: requestBody,
|
|
2024
|
+
})
|
|
2025
|
+
.then(this.getClientInstance().responseHandler({
|
|
2026
|
+
200: {
|
|
2027
|
+
"application/json": "json",
|
|
2028
|
+
},
|
|
2029
|
+
}))
|
|
2030
|
+
.then(commonHttpClient.castResponse())
|
|
2031
|
+
.then(validation_schema_storage_1.validationSchemaStorage.validator("BoardService.toggleFeatures.response"))
|
|
2032
|
+
.then(commonHttpClient.getBody);
|
|
2033
|
+
}
|
|
2034
|
+
static initialize() {
|
|
2035
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getAllBoards.response", zod_1.z
|
|
2036
|
+
.object({
|
|
2037
|
+
status: zod_1.z.literal(200),
|
|
2038
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2039
|
+
body: zod_1.z
|
|
2040
|
+
.object({
|
|
2041
|
+
isLast: zod_1.z.boolean().optional(),
|
|
2042
|
+
maxResults: zod_1.z.number().int().optional(),
|
|
2043
|
+
startAt: zod_1.z.number().int().optional(),
|
|
2044
|
+
total: zod_1.z.number().int().optional(),
|
|
2045
|
+
values: zod_1.z
|
|
2046
|
+
.array(zod_1.z
|
|
2047
|
+
.object({
|
|
2048
|
+
admins: zod_1.z
|
|
2049
|
+
.object({
|
|
2050
|
+
groups: zod_1.z
|
|
2051
|
+
.array(zod_1.z
|
|
2052
|
+
.object({
|
|
2053
|
+
name: zod_1.z.string().optional(),
|
|
2054
|
+
self: zod_1.z.string().optional(),
|
|
2055
|
+
})
|
|
2056
|
+
.strict())
|
|
2057
|
+
.optional(),
|
|
2058
|
+
users: zod_1.z
|
|
2059
|
+
.array(zod_1.z
|
|
2060
|
+
.object({
|
|
2061
|
+
accountId: zod_1.z.string().max(128).optional(),
|
|
2062
|
+
active: zod_1.z.boolean().optional(),
|
|
2063
|
+
avatarUrls: zod_1.z
|
|
2064
|
+
.object({
|
|
2065
|
+
"16x16": zod_1.z.string().optional(),
|
|
2066
|
+
"24x24": zod_1.z.string().optional(),
|
|
2067
|
+
"32x32": zod_1.z.string().optional(),
|
|
2068
|
+
"48x48": zod_1.z.string().optional(),
|
|
2069
|
+
})
|
|
2070
|
+
.strict()
|
|
2071
|
+
.optional(),
|
|
2072
|
+
displayName: zod_1.z.string().optional(),
|
|
2073
|
+
key: zod_1.z.string().optional(),
|
|
2074
|
+
name: zod_1.z.string().optional(),
|
|
2075
|
+
self: zod_1.z.string().optional(),
|
|
2076
|
+
})
|
|
2077
|
+
.strict())
|
|
2078
|
+
.optional(),
|
|
2079
|
+
})
|
|
2080
|
+
.strict()
|
|
2081
|
+
.optional(),
|
|
2082
|
+
canEdit: zod_1.z.boolean().optional(),
|
|
2083
|
+
favourite: zod_1.z.boolean().optional(),
|
|
2084
|
+
id: zod_1.z.number().int().optional(),
|
|
2085
|
+
isPrivate: zod_1.z.boolean().optional(),
|
|
2086
|
+
location: zod_1.z
|
|
2087
|
+
.object({
|
|
2088
|
+
avatarURI: zod_1.z.string().optional(),
|
|
2089
|
+
displayName: zod_1.z.string().optional(),
|
|
2090
|
+
name: zod_1.z.string().optional(),
|
|
2091
|
+
projectId: zod_1.z.number().int().optional(),
|
|
2092
|
+
projectKey: zod_1.z.string().optional(),
|
|
2093
|
+
projectName: zod_1.z.string().optional(),
|
|
2094
|
+
projectTypeKey: zod_1.z.string().optional(),
|
|
2095
|
+
userAccountId: zod_1.z.string().optional(),
|
|
2096
|
+
userId: zod_1.z.number().int().optional(),
|
|
2097
|
+
})
|
|
2098
|
+
.strict()
|
|
2099
|
+
.optional(),
|
|
2100
|
+
name: zod_1.z.string().optional(),
|
|
2101
|
+
self: zod_1.z.string().optional(),
|
|
2102
|
+
type: zod_1.z.string().optional(),
|
|
2103
|
+
})
|
|
2104
|
+
.strict())
|
|
2105
|
+
.optional(),
|
|
2106
|
+
})
|
|
2107
|
+
.strict(),
|
|
2108
|
+
})
|
|
2109
|
+
.describe("BoardService.getAllBoards.response"));
|
|
2110
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.createBoard.response", zod_1.z
|
|
2111
|
+
.object({
|
|
2112
|
+
status: zod_1.z.literal(201),
|
|
2113
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2114
|
+
body: zod_1.z
|
|
2115
|
+
.object({
|
|
2116
|
+
admins: zod_1.z
|
|
2117
|
+
.object({
|
|
2118
|
+
groups: zod_1.z
|
|
2119
|
+
.array(zod_1.z
|
|
2120
|
+
.object({
|
|
2121
|
+
name: zod_1.z.string().optional(),
|
|
2122
|
+
self: zod_1.z.string().optional(),
|
|
2123
|
+
})
|
|
2124
|
+
.strict())
|
|
2125
|
+
.optional(),
|
|
2126
|
+
users: zod_1.z
|
|
2127
|
+
.array(zod_1.z
|
|
2128
|
+
.object({
|
|
2129
|
+
accountId: zod_1.z.string().max(128).optional(),
|
|
2130
|
+
active: zod_1.z.boolean().optional(),
|
|
2131
|
+
avatarUrls: zod_1.z
|
|
2132
|
+
.object({
|
|
2133
|
+
"16x16": zod_1.z.string().optional(),
|
|
2134
|
+
"24x24": zod_1.z.string().optional(),
|
|
2135
|
+
"32x32": zod_1.z.string().optional(),
|
|
2136
|
+
"48x48": zod_1.z.string().optional(),
|
|
2137
|
+
})
|
|
2138
|
+
.strict()
|
|
2139
|
+
.optional(),
|
|
2140
|
+
displayName: zod_1.z.string().optional(),
|
|
2141
|
+
key: zod_1.z.string().optional(),
|
|
2142
|
+
name: zod_1.z.string().optional(),
|
|
2143
|
+
self: zod_1.z.string().optional(),
|
|
2144
|
+
})
|
|
2145
|
+
.strict())
|
|
2146
|
+
.optional(),
|
|
2147
|
+
})
|
|
2148
|
+
.strict()
|
|
2149
|
+
.optional(),
|
|
2150
|
+
canEdit: zod_1.z.boolean().optional(),
|
|
2151
|
+
favourite: zod_1.z.boolean().optional(),
|
|
2152
|
+
id: zod_1.z.number().int().optional(),
|
|
2153
|
+
isPrivate: zod_1.z.boolean().optional(),
|
|
2154
|
+
location: zod_1.z
|
|
2155
|
+
.object({
|
|
2156
|
+
avatarURI: zod_1.z.string().optional(),
|
|
2157
|
+
displayName: zod_1.z.string().optional(),
|
|
2158
|
+
name: zod_1.z.string().optional(),
|
|
2159
|
+
projectId: zod_1.z.number().int().optional(),
|
|
2160
|
+
projectKey: zod_1.z.string().optional(),
|
|
2161
|
+
projectName: zod_1.z.string().optional(),
|
|
2162
|
+
projectTypeKey: zod_1.z.string().optional(),
|
|
2163
|
+
userAccountId: zod_1.z.string().optional(),
|
|
2164
|
+
userId: zod_1.z.number().int().optional(),
|
|
2165
|
+
})
|
|
2166
|
+
.strict()
|
|
2167
|
+
.optional(),
|
|
2168
|
+
name: zod_1.z.string().optional(),
|
|
2169
|
+
self: zod_1.z.string().optional(),
|
|
2170
|
+
type: zod_1.z.string().optional(),
|
|
2171
|
+
})
|
|
2172
|
+
.strict(),
|
|
2173
|
+
})
|
|
2174
|
+
.describe("BoardService.createBoard.response"));
|
|
2175
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getBoard.response", zod_1.z
|
|
2176
|
+
.object({
|
|
2177
|
+
status: zod_1.z.literal(200),
|
|
2178
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2179
|
+
body: zod_1.z
|
|
2180
|
+
.object({
|
|
2181
|
+
admins: zod_1.z
|
|
2182
|
+
.object({
|
|
2183
|
+
groups: zod_1.z
|
|
2184
|
+
.array(zod_1.z
|
|
2185
|
+
.object({
|
|
2186
|
+
name: zod_1.z.string().optional(),
|
|
2187
|
+
self: zod_1.z.string().optional(),
|
|
2188
|
+
})
|
|
2189
|
+
.strict())
|
|
2190
|
+
.optional(),
|
|
2191
|
+
users: zod_1.z
|
|
2192
|
+
.array(zod_1.z
|
|
2193
|
+
.object({
|
|
2194
|
+
accountId: zod_1.z.string().max(128).optional(),
|
|
2195
|
+
active: zod_1.z.boolean().optional(),
|
|
2196
|
+
avatarUrls: zod_1.z
|
|
2197
|
+
.object({
|
|
2198
|
+
"16x16": zod_1.z.string().optional(),
|
|
2199
|
+
"24x24": zod_1.z.string().optional(),
|
|
2200
|
+
"32x32": zod_1.z.string().optional(),
|
|
2201
|
+
"48x48": zod_1.z.string().optional(),
|
|
2202
|
+
})
|
|
2203
|
+
.strict()
|
|
2204
|
+
.optional(),
|
|
2205
|
+
displayName: zod_1.z.string().optional(),
|
|
2206
|
+
key: zod_1.z.string().optional(),
|
|
2207
|
+
name: zod_1.z.string().optional(),
|
|
2208
|
+
self: zod_1.z.string().optional(),
|
|
2209
|
+
})
|
|
2210
|
+
.strict())
|
|
2211
|
+
.optional(),
|
|
2212
|
+
})
|
|
2213
|
+
.strict()
|
|
2214
|
+
.optional(),
|
|
2215
|
+
canEdit: zod_1.z.boolean().optional(),
|
|
2216
|
+
favourite: zod_1.z.boolean().optional(),
|
|
2217
|
+
id: zod_1.z.number().int().optional(),
|
|
2218
|
+
isPrivate: zod_1.z.boolean().optional(),
|
|
2219
|
+
location: zod_1.z
|
|
2220
|
+
.object({
|
|
2221
|
+
avatarURI: zod_1.z.string().optional(),
|
|
2222
|
+
displayName: zod_1.z.string().optional(),
|
|
2223
|
+
name: zod_1.z.string().optional(),
|
|
2224
|
+
projectId: zod_1.z.number().int().optional(),
|
|
2225
|
+
projectKey: zod_1.z.string().optional(),
|
|
2226
|
+
projectName: zod_1.z.string().optional(),
|
|
2227
|
+
projectTypeKey: zod_1.z.string().optional(),
|
|
2228
|
+
userAccountId: zod_1.z.string().optional(),
|
|
2229
|
+
userId: zod_1.z.number().int().optional(),
|
|
2230
|
+
})
|
|
2231
|
+
.strict()
|
|
2232
|
+
.optional(),
|
|
2233
|
+
name: zod_1.z.string().optional(),
|
|
2234
|
+
self: zod_1.z.string().optional(),
|
|
2235
|
+
type: zod_1.z.string().optional(),
|
|
2236
|
+
})
|
|
2237
|
+
.strict(),
|
|
2238
|
+
})
|
|
2239
|
+
.describe("BoardService.getBoard.response"));
|
|
2240
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getIssuesForBacklog.response", zod_1.z
|
|
2241
|
+
.object({
|
|
2242
|
+
status: zod_1.z.literal(200),
|
|
2243
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2244
|
+
body: validation_schema_storage_1.validationSchemaStorage.lazy("SearchResults"),
|
|
2245
|
+
})
|
|
2246
|
+
.describe("BoardService.getIssuesForBacklog.response"));
|
|
2247
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getConfiguration.response", zod_1.z
|
|
2248
|
+
.object({
|
|
2249
|
+
status: zod_1.z.literal(200),
|
|
2250
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2251
|
+
body: zod_1.z
|
|
2252
|
+
.object({
|
|
2253
|
+
columnConfig: zod_1.z
|
|
2254
|
+
.object({
|
|
2255
|
+
columns: zod_1.z
|
|
2256
|
+
.array(zod_1.z
|
|
2257
|
+
.object({
|
|
2258
|
+
max: zod_1.z.number().int().optional(),
|
|
2259
|
+
min: zod_1.z.number().int().optional(),
|
|
2260
|
+
name: zod_1.z.string().optional(),
|
|
2261
|
+
statuses: zod_1.z
|
|
2262
|
+
.array(zod_1.z
|
|
2263
|
+
.object({
|
|
2264
|
+
id: zod_1.z.string().optional(),
|
|
2265
|
+
self: zod_1.z.string().optional(),
|
|
2266
|
+
})
|
|
2267
|
+
.strict())
|
|
2268
|
+
.optional(),
|
|
2269
|
+
})
|
|
2270
|
+
.strict())
|
|
2271
|
+
.optional(),
|
|
2272
|
+
constraintType: zod_1.z.string().optional(),
|
|
2273
|
+
})
|
|
2274
|
+
.strict()
|
|
2275
|
+
.optional(),
|
|
2276
|
+
estimation: zod_1.z
|
|
2277
|
+
.object({
|
|
2278
|
+
field: zod_1.z
|
|
2279
|
+
.object({
|
|
2280
|
+
displayName: zod_1.z.string().optional(),
|
|
2281
|
+
fieldId: zod_1.z.string().optional(),
|
|
2282
|
+
})
|
|
2283
|
+
.strict()
|
|
2284
|
+
.optional(),
|
|
2285
|
+
type: zod_1.z.string().optional(),
|
|
2286
|
+
})
|
|
2287
|
+
.strict()
|
|
2288
|
+
.optional(),
|
|
2289
|
+
filter: zod_1.z
|
|
2290
|
+
.object({
|
|
2291
|
+
id: zod_1.z.string().optional(),
|
|
2292
|
+
self: zod_1.z.string().optional(),
|
|
2293
|
+
})
|
|
2294
|
+
.strict()
|
|
2295
|
+
.optional(),
|
|
2296
|
+
id: zod_1.z.number().int().optional(),
|
|
2297
|
+
location: zod_1.z
|
|
2298
|
+
.object({
|
|
2299
|
+
projectKeyOrId: zod_1.z.string().optional(),
|
|
2300
|
+
type: zod_1.z.enum(["project", "user"]).optional(),
|
|
2301
|
+
})
|
|
2302
|
+
.strict()
|
|
2303
|
+
.optional(),
|
|
2304
|
+
name: zod_1.z.string().optional(),
|
|
2305
|
+
ranking: zod_1.z
|
|
2306
|
+
.object({
|
|
2307
|
+
rankCustomFieldId: zod_1.z.number().int().optional(),
|
|
2308
|
+
})
|
|
2309
|
+
.strict()
|
|
2310
|
+
.optional(),
|
|
2311
|
+
self: zod_1.z.string().optional(),
|
|
2312
|
+
subQuery: zod_1.z
|
|
2313
|
+
.object({
|
|
2314
|
+
query: zod_1.z.string().optional(),
|
|
2315
|
+
})
|
|
2316
|
+
.strict()
|
|
2317
|
+
.optional(),
|
|
2318
|
+
type: zod_1.z.string().optional(),
|
|
2319
|
+
})
|
|
2320
|
+
.strict(),
|
|
2321
|
+
})
|
|
2322
|
+
.describe("BoardService.getConfiguration.response"));
|
|
2323
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getEpics.response", zod_1.z
|
|
2324
|
+
.object({
|
|
2325
|
+
status: zod_1.z.literal(200),
|
|
2326
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2327
|
+
body: zod_1.z.unknown(),
|
|
2328
|
+
})
|
|
2329
|
+
.describe("BoardService.getEpics.response"));
|
|
2330
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getBoardIssuesForEpic.response", zod_1.z
|
|
2331
|
+
.object({
|
|
2332
|
+
status: zod_1.z.literal(200),
|
|
2333
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2334
|
+
body: zod_1.z.unknown(),
|
|
2335
|
+
})
|
|
2336
|
+
.describe("BoardService.getBoardIssuesForEpic.response"));
|
|
2337
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getIssuesWithoutEpicForBoard.response", zod_1.z
|
|
2338
|
+
.object({
|
|
2339
|
+
status: zod_1.z.literal(200),
|
|
2340
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2341
|
+
body: zod_1.z.unknown(),
|
|
2342
|
+
})
|
|
2343
|
+
.describe("BoardService.getIssuesWithoutEpicForBoard.response"));
|
|
2344
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getFeaturesForBoard.response", zod_1.z
|
|
2345
|
+
.object({
|
|
2346
|
+
status: zod_1.z.literal(200),
|
|
2347
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2348
|
+
body: zod_1.z
|
|
2349
|
+
.object({
|
|
2350
|
+
features: zod_1.z
|
|
2351
|
+
.array(zod_1.z
|
|
2352
|
+
.object({
|
|
2353
|
+
boardFeature: zod_1.z
|
|
2354
|
+
.enum([
|
|
2355
|
+
"SIMPLE_ROADMAP",
|
|
2356
|
+
"BACKLOG",
|
|
2357
|
+
"SPRINTS",
|
|
2358
|
+
"CALENDAR",
|
|
2359
|
+
"DEVTOOLS",
|
|
2360
|
+
"REPORTS",
|
|
2361
|
+
"ESTIMATION",
|
|
2362
|
+
"PAGES",
|
|
2363
|
+
"CODE",
|
|
2364
|
+
"SECURITY",
|
|
2365
|
+
"REQUESTS",
|
|
2366
|
+
"INCIDENTS",
|
|
2367
|
+
"RELEASES",
|
|
2368
|
+
"DEPLOYMENTS",
|
|
2369
|
+
"ISSUE_NAVIGATOR",
|
|
2370
|
+
"ON_CALL_SCHEDULE",
|
|
2371
|
+
"BOARD",
|
|
2372
|
+
"GOALS",
|
|
2373
|
+
"LIST_VIEW",
|
|
2374
|
+
])
|
|
2375
|
+
.optional(),
|
|
2376
|
+
boardId: zod_1.z.number().int().optional(),
|
|
2377
|
+
featureId: zod_1.z.string().optional(),
|
|
2378
|
+
featureType: zod_1.z.enum(["BASIC", "ESTIMATION"]).optional(),
|
|
2379
|
+
imageUri: zod_1.z.string().optional(),
|
|
2380
|
+
learnMoreArticleId: zod_1.z.string().optional(),
|
|
2381
|
+
learnMoreLink: zod_1.z.string().optional(),
|
|
2382
|
+
localisedDescription: zod_1.z.string().optional(),
|
|
2383
|
+
localisedGroup: zod_1.z.string().optional(),
|
|
2384
|
+
localisedName: zod_1.z.string().optional(),
|
|
2385
|
+
permissibleEstimationTypes: zod_1.z
|
|
2386
|
+
.array(zod_1.z
|
|
2387
|
+
.object({
|
|
2388
|
+
localisedDescription: zod_1.z.string().optional(),
|
|
2389
|
+
localisedName: zod_1.z.string().optional(),
|
|
2390
|
+
value: zod_1.z
|
|
2391
|
+
.enum(["STORY_POINTS", "ORIGINAL_ESTIMATE"])
|
|
2392
|
+
.optional(),
|
|
2393
|
+
})
|
|
2394
|
+
.strict())
|
|
2395
|
+
.optional(),
|
|
2396
|
+
state: zod_1.z
|
|
2397
|
+
.enum(["ENABLED", "DISABLED", "COMING_SOON"])
|
|
2398
|
+
.optional(),
|
|
2399
|
+
toggleLocked: zod_1.z.boolean().optional(),
|
|
2400
|
+
})
|
|
2401
|
+
.strict())
|
|
2402
|
+
.optional(),
|
|
2403
|
+
})
|
|
2404
|
+
.strict(),
|
|
2405
|
+
})
|
|
2406
|
+
.describe("BoardService.getFeaturesForBoard.response"));
|
|
2407
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.toggleFeatures.response", zod_1.z
|
|
2408
|
+
.object({
|
|
2409
|
+
status: zod_1.z.literal(200),
|
|
2410
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2411
|
+
body: zod_1.z
|
|
2412
|
+
.object({
|
|
2413
|
+
features: zod_1.z
|
|
2414
|
+
.array(zod_1.z
|
|
2415
|
+
.object({
|
|
2416
|
+
boardFeature: zod_1.z
|
|
2417
|
+
.enum([
|
|
2418
|
+
"SIMPLE_ROADMAP",
|
|
2419
|
+
"BACKLOG",
|
|
2420
|
+
"SPRINTS",
|
|
2421
|
+
"CALENDAR",
|
|
2422
|
+
"DEVTOOLS",
|
|
2423
|
+
"REPORTS",
|
|
2424
|
+
"ESTIMATION",
|
|
2425
|
+
"PAGES",
|
|
2426
|
+
"CODE",
|
|
2427
|
+
"SECURITY",
|
|
2428
|
+
"REQUESTS",
|
|
2429
|
+
"INCIDENTS",
|
|
2430
|
+
"RELEASES",
|
|
2431
|
+
"DEPLOYMENTS",
|
|
2432
|
+
"ISSUE_NAVIGATOR",
|
|
2433
|
+
"ON_CALL_SCHEDULE",
|
|
2434
|
+
"BOARD",
|
|
2435
|
+
"GOALS",
|
|
2436
|
+
"LIST_VIEW",
|
|
2437
|
+
])
|
|
2438
|
+
.optional(),
|
|
2439
|
+
boardId: zod_1.z.number().int().optional(),
|
|
2440
|
+
featureId: zod_1.z.string().optional(),
|
|
2441
|
+
featureType: zod_1.z.enum(["BASIC", "ESTIMATION"]).optional(),
|
|
2442
|
+
imageUri: zod_1.z.string().optional(),
|
|
2443
|
+
learnMoreArticleId: zod_1.z.string().optional(),
|
|
2444
|
+
learnMoreLink: zod_1.z.string().optional(),
|
|
2445
|
+
localisedDescription: zod_1.z.string().optional(),
|
|
2446
|
+
localisedGroup: zod_1.z.string().optional(),
|
|
2447
|
+
localisedName: zod_1.z.string().optional(),
|
|
2448
|
+
permissibleEstimationTypes: zod_1.z
|
|
2449
|
+
.array(zod_1.z
|
|
2450
|
+
.object({
|
|
2451
|
+
localisedDescription: zod_1.z.string().optional(),
|
|
2452
|
+
localisedName: zod_1.z.string().optional(),
|
|
2453
|
+
value: zod_1.z
|
|
2454
|
+
.enum(["STORY_POINTS", "ORIGINAL_ESTIMATE"])
|
|
2455
|
+
.optional(),
|
|
2456
|
+
})
|
|
2457
|
+
.strict())
|
|
2458
|
+
.optional(),
|
|
2459
|
+
state: zod_1.z
|
|
2460
|
+
.enum(["ENABLED", "DISABLED", "COMING_SOON"])
|
|
2461
|
+
.optional(),
|
|
2462
|
+
toggleLocked: zod_1.z.boolean().optional(),
|
|
2463
|
+
})
|
|
2464
|
+
.strict())
|
|
2465
|
+
.optional(),
|
|
2466
|
+
})
|
|
2467
|
+
.strict(),
|
|
2468
|
+
})
|
|
2469
|
+
.describe("BoardService.toggleFeatures.response"));
|
|
2470
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getIssuesForBoard.response", zod_1.z
|
|
2471
|
+
.object({
|
|
2472
|
+
status: zod_1.z.literal(200),
|
|
2473
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2474
|
+
body: validation_schema_storage_1.validationSchemaStorage.lazy("SearchResults"),
|
|
2475
|
+
})
|
|
2476
|
+
.describe("BoardService.getIssuesForBoard.response"));
|
|
2477
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.moveIssuesToBoard.response", zod_1.z
|
|
2478
|
+
.object({
|
|
2479
|
+
status: zod_1.z.number(),
|
|
2480
|
+
mediaType: zod_1.z.string(),
|
|
2481
|
+
body: zod_1.z.unknown(),
|
|
2482
|
+
})
|
|
2483
|
+
.superRefine(({ status: status, body: body }, ctx) => {
|
|
2484
|
+
if (status === 204) {
|
|
2485
|
+
return;
|
|
2486
|
+
}
|
|
2487
|
+
else if (status === 207) {
|
|
2488
|
+
zod_1.z.object({
|
|
2489
|
+
entries: zod_1.z
|
|
2490
|
+
.array(zod_1.z
|
|
2491
|
+
.object({
|
|
2492
|
+
errors: zod_1.z.array(zod_1.z.string()).optional(),
|
|
2493
|
+
issueId: zod_1.z.number().int().optional(),
|
|
2494
|
+
issueKey: zod_1.z.string().optional(),
|
|
2495
|
+
status: zod_1.z.number().int().optional(),
|
|
2496
|
+
})
|
|
2497
|
+
.strict())
|
|
2498
|
+
.optional(),
|
|
2499
|
+
})
|
|
2500
|
+
.strict()
|
|
2501
|
+
.parse(body);
|
|
2502
|
+
}
|
|
2503
|
+
else {
|
|
2504
|
+
ctx.addIssue({
|
|
2505
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
2506
|
+
path: ["status"],
|
|
2507
|
+
message: `Unexpected status code: ${status}`,
|
|
2508
|
+
});
|
|
2509
|
+
}
|
|
2510
|
+
})
|
|
2511
|
+
.describe("BoardService.moveIssuesToBoard.response"));
|
|
2512
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getProjects.response", zod_1.z
|
|
2513
|
+
.object({
|
|
2514
|
+
status: zod_1.z.literal(200),
|
|
2515
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2516
|
+
body: zod_1.z.unknown(),
|
|
2517
|
+
})
|
|
2518
|
+
.describe("BoardService.getProjects.response"));
|
|
2519
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getBoardPropertyKeys.response", zod_1.z
|
|
2520
|
+
.object({
|
|
2521
|
+
status: zod_1.z.literal(200),
|
|
2522
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2523
|
+
body: zod_1.z.unknown(),
|
|
2524
|
+
})
|
|
2525
|
+
.describe("BoardService.getBoardPropertyKeys.response"));
|
|
2526
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getBoardProperty.response", zod_1.z
|
|
2527
|
+
.object({
|
|
2528
|
+
status: zod_1.z.literal(200),
|
|
2529
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2530
|
+
body: zod_1.z.unknown(),
|
|
2531
|
+
})
|
|
2532
|
+
.describe("BoardService.getBoardProperty.response"));
|
|
2533
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.setBoardProperty.response", zod_1.z
|
|
2534
|
+
.object({
|
|
2535
|
+
status: zod_1.z.number(),
|
|
2536
|
+
mediaType: zod_1.z.string(),
|
|
2537
|
+
body: zod_1.z.unknown(),
|
|
2538
|
+
})
|
|
2539
|
+
.superRefine(({ status: status, body: body }, ctx) => {
|
|
2540
|
+
if (status === 200 || status === 201) {
|
|
2541
|
+
zod_1.z.unknown().parse(body);
|
|
2542
|
+
}
|
|
2543
|
+
else {
|
|
2544
|
+
ctx.addIssue({
|
|
2545
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
2546
|
+
path: ["status"],
|
|
2547
|
+
message: `Unexpected status code: ${status}`,
|
|
2548
|
+
});
|
|
2549
|
+
}
|
|
2550
|
+
})
|
|
2551
|
+
.describe("BoardService.setBoardProperty.response"));
|
|
2552
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getAllQuickFilters.response", zod_1.z
|
|
2553
|
+
.object({
|
|
2554
|
+
status: zod_1.z.literal(200),
|
|
2555
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2556
|
+
body: zod_1.z
|
|
2557
|
+
.object({
|
|
2558
|
+
isLast: zod_1.z.boolean().optional(),
|
|
2559
|
+
maxResults: zod_1.z.number().int().optional(),
|
|
2560
|
+
startAt: zod_1.z.number().int().optional(),
|
|
2561
|
+
total: zod_1.z.number().int().optional(),
|
|
2562
|
+
values: zod_1.z
|
|
2563
|
+
.array(zod_1.z
|
|
2564
|
+
.object({
|
|
2565
|
+
boardId: zod_1.z.number().int().optional(),
|
|
2566
|
+
description: zod_1.z.string().optional(),
|
|
2567
|
+
id: zod_1.z.number().int().optional(),
|
|
2568
|
+
jql: zod_1.z.string().optional(),
|
|
2569
|
+
name: zod_1.z.string().optional(),
|
|
2570
|
+
position: zod_1.z.number().int().optional(),
|
|
2571
|
+
})
|
|
2572
|
+
.strict())
|
|
2573
|
+
.optional(),
|
|
2574
|
+
})
|
|
2575
|
+
.strict(),
|
|
2576
|
+
})
|
|
2577
|
+
.describe("BoardService.getAllQuickFilters.response"));
|
|
2578
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getQuickFilter.response", zod_1.z
|
|
2579
|
+
.object({
|
|
2580
|
+
status: zod_1.z.literal(200),
|
|
2581
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2582
|
+
body: zod_1.z
|
|
2583
|
+
.object({
|
|
2584
|
+
boardId: zod_1.z.number().int().optional(),
|
|
2585
|
+
description: zod_1.z.string().optional(),
|
|
2586
|
+
id: zod_1.z.number().int().optional(),
|
|
2587
|
+
jql: zod_1.z.string().optional(),
|
|
2588
|
+
name: zod_1.z.string().optional(),
|
|
2589
|
+
position: zod_1.z.number().int().optional(),
|
|
2590
|
+
})
|
|
2591
|
+
.strict(),
|
|
2592
|
+
})
|
|
2593
|
+
.describe("BoardService.getQuickFilter.response"));
|
|
2594
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getReportsForBoard.response", zod_1.z
|
|
2595
|
+
.object({
|
|
2596
|
+
status: zod_1.z.literal(200),
|
|
2597
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2598
|
+
body: zod_1.z
|
|
2599
|
+
.object({
|
|
2600
|
+
reports: zod_1.z.array(zod_1.z.object({}).strict()).optional(),
|
|
2601
|
+
})
|
|
2602
|
+
.strict(),
|
|
2603
|
+
})
|
|
2604
|
+
.describe("BoardService.getReportsForBoard.response"));
|
|
2605
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getAllSprints.response", zod_1.z
|
|
2606
|
+
.object({
|
|
2607
|
+
status: zod_1.z.literal(200),
|
|
2608
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2609
|
+
body: zod_1.z.unknown(),
|
|
2610
|
+
})
|
|
2611
|
+
.describe("BoardService.getAllSprints.response"));
|
|
2612
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getBoardIssuesForSprint.response", zod_1.z
|
|
2613
|
+
.object({
|
|
2614
|
+
status: zod_1.z.literal(200),
|
|
2615
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2616
|
+
body: zod_1.z.unknown(),
|
|
2617
|
+
})
|
|
2618
|
+
.describe("BoardService.getBoardIssuesForSprint.response"));
|
|
2619
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getAllVersions.response", zod_1.z
|
|
2620
|
+
.object({
|
|
2621
|
+
status: zod_1.z.literal(200),
|
|
2622
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2623
|
+
body: zod_1.z.unknown(),
|
|
2624
|
+
})
|
|
2625
|
+
.describe("BoardService.getAllVersions.response"));
|
|
2626
|
+
validation_schema_storage_1.validationSchemaStorage.registerExtensible("BoardService.getBoardByFilterId.response", zod_1.z
|
|
2627
|
+
.object({
|
|
2628
|
+
status: zod_1.z.literal(200),
|
|
2629
|
+
mediaType: zod_1.z.literal("application/json"),
|
|
2630
|
+
body: zod_1.z
|
|
2631
|
+
.object({
|
|
2632
|
+
isLast: zod_1.z.boolean().optional(),
|
|
2633
|
+
maxResults: zod_1.z.number().int().optional(),
|
|
2634
|
+
startAt: zod_1.z.number().int().optional(),
|
|
2635
|
+
total: zod_1.z.number().int().optional(),
|
|
2636
|
+
values: zod_1.z
|
|
2637
|
+
.array(zod_1.z
|
|
2638
|
+
.object({
|
|
2639
|
+
id: zod_1.z.number().int().optional(),
|
|
2640
|
+
name: zod_1.z.string().optional(),
|
|
2641
|
+
self: zod_1.z.string().optional(),
|
|
2642
|
+
})
|
|
2643
|
+
.strict())
|
|
2644
|
+
.optional(),
|
|
2645
|
+
})
|
|
2646
|
+
.strict(),
|
|
2647
|
+
})
|
|
2648
|
+
.describe("BoardService.getBoardByFilterId.response"));
|
|
2649
|
+
validation_schema_storage_1.validationSchemaStorage.registerOnce([board_1.registerBoardValidationSchemas]);
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2652
|
+
exports.BoardService = BoardService;
|
|
2653
|
+
//# sourceMappingURL=board-service.js.map
|