@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,1320 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/common-http-service";
|
|
2
|
+
import { type ColumnItem, type ColumnRequestBody } from "../models/common";
|
|
3
|
+
import { type ChangeFilterOwner, type Filter, type PageBeanFilterDetails } from "../models/filters";
|
|
4
|
+
/**
|
|
5
|
+
* This resource represents [filters](https://confluence.atlassian.com/x/eQiiLQ).
|
|
6
|
+
* Use it to get, create, update, or delete filters. Also use it to configure the
|
|
7
|
+
* columns for a filter and set favorite filters.
|
|
8
|
+
*/
|
|
9
|
+
export declare class FiltersService extends CommonHttpService {
|
|
10
|
+
/**
|
|
11
|
+
* Changes the owner of the filter.
|
|
12
|
+
*
|
|
13
|
+
* **[Permissions](#permissions) required:** Permission to access Jira. However,
|
|
14
|
+
* the user must own the filter or have the *Administer Jira* [global
|
|
15
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
16
|
+
*
|
|
17
|
+
* @returns Returned if the request is successful.
|
|
18
|
+
* @path {PUT} /rest/api/3/filter/{id}/owner
|
|
19
|
+
* @scopes-beta read:filter:jira, write:filter:jira
|
|
20
|
+
* @scopes-current write:jira-work
|
|
21
|
+
*/
|
|
22
|
+
changeFilterOwner({ id, changeFilterOwner, }: {
|
|
23
|
+
/** The ID of the filter to update. */
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
* The account ID of the new owner of the filter.
|
|
27
|
+
*
|
|
28
|
+
* @example {
|
|
29
|
+
* "accountId": "0000-0000-0000-0000"
|
|
30
|
+
* }
|
|
31
|
+
*/
|
|
32
|
+
changeFilterOwner: ChangeFilterOwner;
|
|
33
|
+
}): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates a filter. The filter is shared according to the [default share
|
|
36
|
+
* scope](#api-rest-api-3-filter-post). The filter is not selected as a favorite.
|
|
37
|
+
*
|
|
38
|
+
* **[Permissions](#permissions) required:** Permission to access Jira.
|
|
39
|
+
*
|
|
40
|
+
* @returns Returned if the request is successful.
|
|
41
|
+
*
|
|
42
|
+
* example: {
|
|
43
|
+
* "approximateLastUsed": null,
|
|
44
|
+
* "description": "Lists all open bugs",
|
|
45
|
+
* "favourite": true,
|
|
46
|
+
* "favouritedCount": 0,
|
|
47
|
+
* "id": "10000",
|
|
48
|
+
* "jql": "type = Bug and resolution is empty",
|
|
49
|
+
* "name": "All Open Bugs",
|
|
50
|
+
* "owner": {
|
|
51
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
52
|
+
* "accountType": "atlassian",
|
|
53
|
+
* "active": false,
|
|
54
|
+
* "avatarUrls": {
|
|
55
|
+
* "16x16":
|
|
56
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
57
|
+
* "24x24":
|
|
58
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
59
|
+
* "32x32":
|
|
60
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
61
|
+
* "48x48":
|
|
62
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
63
|
+
* },
|
|
64
|
+
* "displayName": "Mia Krystof",
|
|
65
|
+
* "key": "",
|
|
66
|
+
* "name": "",
|
|
67
|
+
* "self":
|
|
68
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
69
|
+
* },
|
|
70
|
+
* "searchUrl":
|
|
71
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
72
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
73
|
+
* "sharePermissions": [],
|
|
74
|
+
* "subscriptions": {
|
|
75
|
+
* "end-index": 0,
|
|
76
|
+
* "items": [],
|
|
77
|
+
* "max-results": 0,
|
|
78
|
+
* "size": 0,
|
|
79
|
+
* "start-index": 0
|
|
80
|
+
* },
|
|
81
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
82
|
+
* }
|
|
83
|
+
* @path {POST} /rest/api/3/filter
|
|
84
|
+
* @scopes-current write:jira-work
|
|
85
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
86
|
+
* read:user:jira, write:filter:jira, read:application-role:jira,
|
|
87
|
+
* read:avatar:jira, read:issue-type-hierarchy:jira, read:issue-type:jira,
|
|
88
|
+
* read:project-category:jira, read:project-version:jira,
|
|
89
|
+
* read:project.component:jira
|
|
90
|
+
*/
|
|
91
|
+
createFilter({ expand, overrideSharePermissions, filter, }: {
|
|
92
|
+
/**
|
|
93
|
+
* Use [expand](#expansion) to include additional information about filter in the
|
|
94
|
+
* response. This parameter accepts a comma-separated list. Expand options include:
|
|
95
|
+
*
|
|
96
|
+
* * `sharedUsers` Returns the users that the filter is shared with. This
|
|
97
|
+
* includes users that can browse projects that the filter is shared with. If you
|
|
98
|
+
* don't specify `sharedUsers`, then the `sharedUsers` object is returned but it
|
|
99
|
+
* doesn't list any users. The list of users returned is limited to 1000, to
|
|
100
|
+
* access additional users append `[start-index:end-index]` to the expand request.
|
|
101
|
+
* For example, to access the next 1000 users, use
|
|
102
|
+
* `?expand=sharedUsers[1001:2000]`.
|
|
103
|
+
* * `subscriptions` Returns the users that are subscribed to the filter. If you
|
|
104
|
+
* don't specify `subscriptions`, the `subscriptions` object is returned but it
|
|
105
|
+
* doesn't list any subscriptions. The list of subscriptions returned is limited
|
|
106
|
+
* to 1000, to access additional subscriptions append `[start-index:end-index]` to
|
|
107
|
+
* the expand request. For example, to access the next 1000 subscriptions, use
|
|
108
|
+
* `?expand=subscriptions[1001:2000]`.
|
|
109
|
+
*/
|
|
110
|
+
expand?: string;
|
|
111
|
+
/**
|
|
112
|
+
* EXPERIMENTAL: Whether share permissions are overridden to enable filters with
|
|
113
|
+
* any share permissions to be created. Available to users with *Administer Jira*
|
|
114
|
+
* [global permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
115
|
+
*/
|
|
116
|
+
overrideSharePermissions?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* The filter to create.
|
|
119
|
+
*
|
|
120
|
+
* @example {
|
|
121
|
+
* "description": "Lists all open bugs",
|
|
122
|
+
* "jql": "type = Bug and resolution is empty",
|
|
123
|
+
* "name": "All Open Bugs"
|
|
124
|
+
* }
|
|
125
|
+
*/
|
|
126
|
+
filter: Filter;
|
|
127
|
+
}): Promise<Filter>;
|
|
128
|
+
/**
|
|
129
|
+
* Removes a filter as a favorite for the user. Note that this operation only
|
|
130
|
+
* removes filters visible to the user from the user's favorites list. For
|
|
131
|
+
* example, if the user favorites a public filter that is subsequently made
|
|
132
|
+
* private (and is therefore no longer visible on their favorites list) they
|
|
133
|
+
* cannot remove it from their favorites list.
|
|
134
|
+
*
|
|
135
|
+
* **[Permissions](#permissions) required:** Permission to access Jira.
|
|
136
|
+
*
|
|
137
|
+
* @returns Returned if the request is successful.
|
|
138
|
+
*
|
|
139
|
+
* example: {
|
|
140
|
+
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
141
|
+
* "description": "Lists all open bugs",
|
|
142
|
+
* "favourite": true,
|
|
143
|
+
* "favouritedCount": 0,
|
|
144
|
+
* "id": "10000",
|
|
145
|
+
* "jql": "type = Bug and resolution is empty",
|
|
146
|
+
* "name": "All Open Bugs",
|
|
147
|
+
* "owner": {
|
|
148
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
149
|
+
* "accountType": "atlassian",
|
|
150
|
+
* "active": false,
|
|
151
|
+
* "avatarUrls": {
|
|
152
|
+
* "16x16":
|
|
153
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
154
|
+
* "24x24":
|
|
155
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
156
|
+
* "32x32":
|
|
157
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
158
|
+
* "48x48":
|
|
159
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
160
|
+
* },
|
|
161
|
+
* "displayName": "Mia Krystof",
|
|
162
|
+
* "key": "",
|
|
163
|
+
* "name": "",
|
|
164
|
+
* "self":
|
|
165
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
166
|
+
* },
|
|
167
|
+
* "searchUrl":
|
|
168
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
169
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
170
|
+
* "sharePermissions": [],
|
|
171
|
+
* "subscriptions": {
|
|
172
|
+
* "end-index": 0,
|
|
173
|
+
* "items": [],
|
|
174
|
+
* "max-results": 0,
|
|
175
|
+
* "size": 0,
|
|
176
|
+
* "start-index": 0
|
|
177
|
+
* },
|
|
178
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
179
|
+
* }
|
|
180
|
+
* @path {DELETE} /rest/api/3/filter/{id}/favourite
|
|
181
|
+
* @scopes-current write:jira-work
|
|
182
|
+
* @scopes-beta write:filter:jira, read:application-role:jira, read:avatar:jira,
|
|
183
|
+
* read:filter:jira, read:group:jira, read:issue-type-hierarchy:jira,
|
|
184
|
+
* read:issue-type:jira, read:project-category:jira, read:project-role:jira,
|
|
185
|
+
* read:project-version:jira, read:project.component:jira, read:project:jira,
|
|
186
|
+
* read:user:jira
|
|
187
|
+
*/
|
|
188
|
+
deleteFavouriteForFilter({ id, expand, }: {
|
|
189
|
+
/** The ID of the filter. */
|
|
190
|
+
id: number;
|
|
191
|
+
/**
|
|
192
|
+
* Use [expand](#expansion) to include additional information about filter in the
|
|
193
|
+
* response. This parameter accepts a comma-separated list. Expand options include:
|
|
194
|
+
*
|
|
195
|
+
* * `sharedUsers` Returns the users that the filter is shared with. This
|
|
196
|
+
* includes users that can browse projects that the filter is shared with. If you
|
|
197
|
+
* don't specify `sharedUsers`, then the `sharedUsers` object is returned but it
|
|
198
|
+
* doesn't list any users. The list of users returned is limited to 1000, to
|
|
199
|
+
* access additional users append `[start-index:end-index]` to the expand request.
|
|
200
|
+
* For example, to access the next 1000 users, use
|
|
201
|
+
* `?expand=sharedUsers[1001:2000]`.
|
|
202
|
+
* * `subscriptions` Returns the users that are subscribed to the filter. If you
|
|
203
|
+
* don't specify `subscriptions`, the `subscriptions` object is returned but it
|
|
204
|
+
* doesn't list any subscriptions. The list of subscriptions returned is limited
|
|
205
|
+
* to 1000, to access additional subscriptions append `[start-index:end-index]` to
|
|
206
|
+
* the expand request. For example, to access the next 1000 subscriptions, use
|
|
207
|
+
* `?expand=subscriptions[1001:2000]`.
|
|
208
|
+
*/
|
|
209
|
+
expand?: string;
|
|
210
|
+
}): Promise<Filter>;
|
|
211
|
+
/**
|
|
212
|
+
* Delete a filter.
|
|
213
|
+
*
|
|
214
|
+
* **[Permissions](#permissions) required:** Permission to access Jira, however
|
|
215
|
+
* filters can only be deleted by the creator of the filter or a user with
|
|
216
|
+
* *Administer Jira* [global
|
|
217
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
218
|
+
*
|
|
219
|
+
* @path {DELETE} /rest/api/3/filter/{id}
|
|
220
|
+
* @scopes-current write:jira-work
|
|
221
|
+
* @scopes-beta delete:filter:jira
|
|
222
|
+
*/
|
|
223
|
+
deleteFilter({ id, }: {
|
|
224
|
+
/** The ID of the filter to delete. */
|
|
225
|
+
id: number;
|
|
226
|
+
}): Promise<void>;
|
|
227
|
+
/**
|
|
228
|
+
* Returns the columns configured for a filter. The column configuration is used
|
|
229
|
+
* when the filter's results are viewed in *List View* with the *Columns* set to
|
|
230
|
+
* *Filter*.
|
|
231
|
+
*
|
|
232
|
+
* This operation can be accessed anonymously.
|
|
233
|
+
*
|
|
234
|
+
* **[Permissions](#permissions) required:** None, however, column details are
|
|
235
|
+
* only returned for:
|
|
236
|
+
*
|
|
237
|
+
* * filters owned by the user.
|
|
238
|
+
* * filters shared with a group that the user is a member of.
|
|
239
|
+
* * filters shared with a private project that the user has *Browse projects*
|
|
240
|
+
* [project permission](https://confluence.atlassian.com/x/yodKLg) for.
|
|
241
|
+
* * filters shared with a public project.
|
|
242
|
+
* * filters shared with the public.
|
|
243
|
+
*
|
|
244
|
+
* @returns Returned if the request is successful.
|
|
245
|
+
*
|
|
246
|
+
* example: [
|
|
247
|
+
* {
|
|
248
|
+
* "label": "Key",
|
|
249
|
+
* "value": "issuekey"
|
|
250
|
+
* },
|
|
251
|
+
* {
|
|
252
|
+
* "label": "Summary",
|
|
253
|
+
* "value": "summary"
|
|
254
|
+
* }
|
|
255
|
+
* ]
|
|
256
|
+
* @path {GET} /rest/api/3/filter/{id}/columns
|
|
257
|
+
* @scopes-current read:jira-work
|
|
258
|
+
* @scopes-beta read:filter.column:jira
|
|
259
|
+
*/
|
|
260
|
+
getColumns({ id, }: {
|
|
261
|
+
/** The ID of the filter. */
|
|
262
|
+
id: number;
|
|
263
|
+
}): Promise<ColumnItem[]>;
|
|
264
|
+
/**
|
|
265
|
+
* Returns the visible favorite filters of the user.
|
|
266
|
+
*
|
|
267
|
+
* This operation can be accessed anonymously.
|
|
268
|
+
*
|
|
269
|
+
* **[Permissions](#permissions) required:** A favorite filter is only visible to
|
|
270
|
+
* the user where the filter is:
|
|
271
|
+
*
|
|
272
|
+
* * owned by the user.
|
|
273
|
+
* * shared with a group that the user is a member of.
|
|
274
|
+
* * shared with a private project that the user has *Browse projects* [project
|
|
275
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for.
|
|
276
|
+
* * shared with a public project.
|
|
277
|
+
* * shared with the public.
|
|
278
|
+
*
|
|
279
|
+
* For example, if the user favorites a public filter that is subsequently made
|
|
280
|
+
* private that filter is not returned by this operation.
|
|
281
|
+
*
|
|
282
|
+
* @returns Returned if the request is successful.
|
|
283
|
+
*
|
|
284
|
+
* example: [
|
|
285
|
+
* {
|
|
286
|
+
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
287
|
+
* "description": "Lists all open bugs",
|
|
288
|
+
* "favourite": true,
|
|
289
|
+
* "favouritedCount": 0,
|
|
290
|
+
* "id": "10000",
|
|
291
|
+
* "jql": "type = Bug and resolution is empty",
|
|
292
|
+
* "name": "All Open Bugs",
|
|
293
|
+
* "owner": {
|
|
294
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
295
|
+
* "accountType": "atlassian",
|
|
296
|
+
* "active": false,
|
|
297
|
+
* "avatarUrls": {
|
|
298
|
+
* "16x16":
|
|
299
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
300
|
+
* "24x24":
|
|
301
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
302
|
+
* "32x32":
|
|
303
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
304
|
+
* "48x48":
|
|
305
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
306
|
+
* },
|
|
307
|
+
* "displayName": "Mia Krystof",
|
|
308
|
+
* "key": "",
|
|
309
|
+
* "name": "",
|
|
310
|
+
* "self":
|
|
311
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
312
|
+
* },
|
|
313
|
+
* "searchUrl":
|
|
314
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
315
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
316
|
+
* "sharePermissions": [],
|
|
317
|
+
* "subscriptions": {
|
|
318
|
+
* "end-index": 0,
|
|
319
|
+
* "items": [],
|
|
320
|
+
* "max-results": 0,
|
|
321
|
+
* "size": 0,
|
|
322
|
+
* "start-index": 0
|
|
323
|
+
* },
|
|
324
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
325
|
+
* },
|
|
326
|
+
* {
|
|
327
|
+
* "approximateLastUsed": null,
|
|
328
|
+
* "description": "Issues assigned to me",
|
|
329
|
+
* "favourite": true,
|
|
330
|
+
* "favouritedCount": 0,
|
|
331
|
+
* "id": "10010",
|
|
332
|
+
* "jql": "assignee = currentUser() and resolution is empty",
|
|
333
|
+
* "name": "My issues",
|
|
334
|
+
* "owner": {
|
|
335
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
336
|
+
* "accountType": "atlassian",
|
|
337
|
+
* "active": false,
|
|
338
|
+
* "avatarUrls": {
|
|
339
|
+
* "16x16":
|
|
340
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
341
|
+
* "24x24":
|
|
342
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
343
|
+
* "32x32":
|
|
344
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
345
|
+
* "48x48":
|
|
346
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
347
|
+
* },
|
|
348
|
+
* "displayName": "Mia Krystof",
|
|
349
|
+
* "key": "",
|
|
350
|
+
* "name": "",
|
|
351
|
+
* "self":
|
|
352
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
353
|
+
* },
|
|
354
|
+
* "searchUrl":
|
|
355
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
|
|
356
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
|
|
357
|
+
* "sharePermissions": [
|
|
358
|
+
* {
|
|
359
|
+
* "id": 10000,
|
|
360
|
+
* "type": "global"
|
|
361
|
+
* },
|
|
362
|
+
* {
|
|
363
|
+
* "id": 10010,
|
|
364
|
+
* "project": {
|
|
365
|
+
* "avatarUrls": {
|
|
366
|
+
* "16x16":
|
|
367
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
368
|
+
* "24x24":
|
|
369
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
370
|
+
* "32x32":
|
|
371
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
372
|
+
* "48x48":
|
|
373
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
374
|
+
* },
|
|
375
|
+
* "id": "10000",
|
|
376
|
+
* "insight": {
|
|
377
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
378
|
+
* "totalIssueCount": 100
|
|
379
|
+
* },
|
|
380
|
+
* "key": "EX",
|
|
381
|
+
* "name": "Example",
|
|
382
|
+
* "projectCategory": {
|
|
383
|
+
* "description": "First Project Category",
|
|
384
|
+
* "id": "10000",
|
|
385
|
+
* "name": "FIRST",
|
|
386
|
+
* "self":
|
|
387
|
+
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
388
|
+
* },
|
|
389
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
390
|
+
* "simplified": false,
|
|
391
|
+
* "style": "classic"
|
|
392
|
+
* },
|
|
393
|
+
* "type": "project"
|
|
394
|
+
* }
|
|
395
|
+
* ],
|
|
396
|
+
* "subscriptions": {
|
|
397
|
+
* "end-index": 0,
|
|
398
|
+
* "items": [],
|
|
399
|
+
* "max-results": 0,
|
|
400
|
+
* "size": 0,
|
|
401
|
+
* "start-index": 0
|
|
402
|
+
* },
|
|
403
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10010"
|
|
404
|
+
* }
|
|
405
|
+
* ]
|
|
406
|
+
* @path {GET} /rest/api/3/filter/favourite
|
|
407
|
+
* @scopes-current read:jira-work
|
|
408
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
409
|
+
* read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira,
|
|
410
|
+
* read:issue-type-hierarchy:jira
|
|
411
|
+
*/
|
|
412
|
+
getFavouriteFilters({ expand, }: {
|
|
413
|
+
/**
|
|
414
|
+
* Use [expand](#expansion) to include additional information about filter in the
|
|
415
|
+
* response. This parameter accepts a comma-separated list. Expand options include:
|
|
416
|
+
*
|
|
417
|
+
* * `sharedUsers` Returns the users that the filter is shared with. This
|
|
418
|
+
* includes users that can browse projects that the filter is shared with. If you
|
|
419
|
+
* don't specify `sharedUsers`, then the `sharedUsers` object is returned but it
|
|
420
|
+
* doesn't list any users. The list of users returned is limited to 1000, to
|
|
421
|
+
* access additional users append `[start-index:end-index]` to the expand request.
|
|
422
|
+
* For example, to access the next 1000 users, use
|
|
423
|
+
* `?expand=sharedUsers[1001:2000]`.
|
|
424
|
+
* * `subscriptions` Returns the users that are subscribed to the filter. If you
|
|
425
|
+
* don't specify `subscriptions`, the `subscriptions` object is returned but it
|
|
426
|
+
* doesn't list any subscriptions. The list of subscriptions returned is limited
|
|
427
|
+
* to 1000, to access additional subscriptions append `[start-index:end-index]` to
|
|
428
|
+
* the expand request. For example, to access the next 1000 subscriptions, use
|
|
429
|
+
* `?expand=subscriptions[1001:2000]`.
|
|
430
|
+
*/
|
|
431
|
+
expand?: string;
|
|
432
|
+
}): Promise<Filter[]>;
|
|
433
|
+
/**
|
|
434
|
+
* Returns a filter.
|
|
435
|
+
*
|
|
436
|
+
* This operation can be accessed anonymously.
|
|
437
|
+
*
|
|
438
|
+
* **[Permissions](#permissions) required:** None, however, the filter is only
|
|
439
|
+
* returned where it is:
|
|
440
|
+
*
|
|
441
|
+
* * owned by the user.
|
|
442
|
+
* * shared with a group that the user is a member of.
|
|
443
|
+
* * shared with a private project that the user has *Browse projects* [project
|
|
444
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for.
|
|
445
|
+
* * shared with a public project.
|
|
446
|
+
* * shared with the public.
|
|
447
|
+
*
|
|
448
|
+
* @returns Returned if the request is successful.
|
|
449
|
+
*
|
|
450
|
+
* example: {
|
|
451
|
+
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
452
|
+
* "description": "Lists all open bugs",
|
|
453
|
+
* "favourite": true,
|
|
454
|
+
* "favouritedCount": 0,
|
|
455
|
+
* "id": "10000",
|
|
456
|
+
* "jql": "type = Bug and resolution is empty",
|
|
457
|
+
* "name": "All Open Bugs",
|
|
458
|
+
* "owner": {
|
|
459
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
460
|
+
* "accountType": "atlassian",
|
|
461
|
+
* "active": false,
|
|
462
|
+
* "avatarUrls": {
|
|
463
|
+
* "16x16":
|
|
464
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
465
|
+
* "24x24":
|
|
466
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
467
|
+
* "32x32":
|
|
468
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
469
|
+
* "48x48":
|
|
470
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
471
|
+
* },
|
|
472
|
+
* "displayName": "Mia Krystof",
|
|
473
|
+
* "key": "",
|
|
474
|
+
* "name": "",
|
|
475
|
+
* "self":
|
|
476
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
477
|
+
* },
|
|
478
|
+
* "searchUrl":
|
|
479
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
480
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
481
|
+
* "sharePermissions": [],
|
|
482
|
+
* "subscriptions": {
|
|
483
|
+
* "end-index": 0,
|
|
484
|
+
* "items": [],
|
|
485
|
+
* "max-results": 0,
|
|
486
|
+
* "size": 0,
|
|
487
|
+
* "start-index": 0
|
|
488
|
+
* },
|
|
489
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
490
|
+
* }
|
|
491
|
+
* @path {GET} /rest/api/3/filter/{id}
|
|
492
|
+
* @scopes-current read:jira-work
|
|
493
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
494
|
+
* read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira,
|
|
495
|
+
* read:issue-type-hierarchy:jira
|
|
496
|
+
*/
|
|
497
|
+
getFilter({ id, expand, overrideSharePermissions, }: {
|
|
498
|
+
/** The ID of the filter to return. */
|
|
499
|
+
id: number;
|
|
500
|
+
/**
|
|
501
|
+
* Use [expand](#expansion) to include additional information about filter in the
|
|
502
|
+
* response. This parameter accepts a comma-separated list. Expand options include:
|
|
503
|
+
*
|
|
504
|
+
* * `sharedUsers` Returns the users that the filter is shared with. This
|
|
505
|
+
* includes users that can browse projects that the filter is shared with. If you
|
|
506
|
+
* don't specify `sharedUsers`, then the `sharedUsers` object is returned but it
|
|
507
|
+
* doesn't list any users. The list of users returned is limited to 1000, to
|
|
508
|
+
* access additional users append `[start-index:end-index]` to the expand request.
|
|
509
|
+
* For example, to access the next 1000 users, use
|
|
510
|
+
* `?expand=sharedUsers[1001:2000]`.
|
|
511
|
+
* * `subscriptions` Returns the users that are subscribed to the filter. If you
|
|
512
|
+
* don't specify `subscriptions`, the `subscriptions` object is returned but it
|
|
513
|
+
* doesn't list any subscriptions. The list of subscriptions returned is limited
|
|
514
|
+
* to 1000, to access additional subscriptions append `[start-index:end-index]` to
|
|
515
|
+
* the expand request. For example, to access the next 1000 subscriptions, use
|
|
516
|
+
* `?expand=subscriptions[1001:2000]`.
|
|
517
|
+
*/
|
|
518
|
+
expand?: string;
|
|
519
|
+
/**
|
|
520
|
+
* EXPERIMENTAL: Whether share permissions are overridden to enable filters with
|
|
521
|
+
* any share permissions to be returned. Available to users with *Administer Jira*
|
|
522
|
+
* [global permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
523
|
+
*/
|
|
524
|
+
overrideSharePermissions?: boolean;
|
|
525
|
+
}): Promise<Filter>;
|
|
526
|
+
/**
|
|
527
|
+
* Returns a [paginated](#pagination) list of filters. Use this operation to get:
|
|
528
|
+
*
|
|
529
|
+
* * specific filters, by defining `id` only.
|
|
530
|
+
* * filters that match all of the specified attributes. For example, all
|
|
531
|
+
* filters for a user with a particular word in their name. When multiple
|
|
532
|
+
* attributes are specified only filters matching all attributes are returned.
|
|
533
|
+
*
|
|
534
|
+
* This operation can be accessed anonymously.
|
|
535
|
+
*
|
|
536
|
+
* **[Permissions](#permissions) required:** None, however, only the following
|
|
537
|
+
* filters that match the query parameters are returned:
|
|
538
|
+
*
|
|
539
|
+
* * filters owned by the user.
|
|
540
|
+
* * filters shared with a group that the user is a member of.
|
|
541
|
+
* * filters shared with a private project that the user has *Browse projects*
|
|
542
|
+
* [project permission](https://confluence.atlassian.com/x/yodKLg) for.
|
|
543
|
+
* * filters shared with a public project.
|
|
544
|
+
* * filters shared with the public.
|
|
545
|
+
*
|
|
546
|
+
* @returns Returned if the request is successful.
|
|
547
|
+
*
|
|
548
|
+
* example: {
|
|
549
|
+
* "isLast": true,
|
|
550
|
+
* "maxResults": 100,
|
|
551
|
+
* "self":
|
|
552
|
+
* "https://your-domain.atlassian.net/rest/api/3/filter/search?accountId=&maxResults=50&filterName=&orderBy=name&startAt=0&expand=description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,subscriptions,approximateLastUsed",
|
|
553
|
+
* "startAt": 0,
|
|
554
|
+
* "total": 2,
|
|
555
|
+
* "values": [
|
|
556
|
+
* {
|
|
557
|
+
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
558
|
+
* "description": "Lists all open bugs",
|
|
559
|
+
* "editPermissions": [],
|
|
560
|
+
* "expand":
|
|
561
|
+
* "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,approximateLastUsed,subscriptions",
|
|
562
|
+
* "favourite": false,
|
|
563
|
+
* "favouritedCount": 0,
|
|
564
|
+
* "id": "10000",
|
|
565
|
+
* "jql": "type = Bug and resolution is empty",
|
|
566
|
+
* "name": "All Open Bugs",
|
|
567
|
+
* "owner": {
|
|
568
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
569
|
+
* "accountType": "atlassian",
|
|
570
|
+
* "active": false,
|
|
571
|
+
* "avatarUrls": {
|
|
572
|
+
* "16x16":
|
|
573
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
574
|
+
* "24x24":
|
|
575
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
576
|
+
* "32x32":
|
|
577
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
578
|
+
* "48x48":
|
|
579
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
580
|
+
* },
|
|
581
|
+
* "displayName": "Mia Krystof",
|
|
582
|
+
* "key": "",
|
|
583
|
+
* "name": "",
|
|
584
|
+
* "self":
|
|
585
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
586
|
+
* },
|
|
587
|
+
* "searchUrl":
|
|
588
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
589
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
590
|
+
* "sharePermissions": [],
|
|
591
|
+
* "subscriptions": [],
|
|
592
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
593
|
+
* },
|
|
594
|
+
* {
|
|
595
|
+
* "approximateLastUsed": null,
|
|
596
|
+
* "description": "Issues assigned to me",
|
|
597
|
+
* "editPermissions": [
|
|
598
|
+
* {
|
|
599
|
+
* "id": 10010,
|
|
600
|
+
* "project": {
|
|
601
|
+
* "avatarUrls": {
|
|
602
|
+
* "16x16":
|
|
603
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10002",
|
|
604
|
+
* "24x24":
|
|
605
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10002",
|
|
606
|
+
* "32x32":
|
|
607
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10002",
|
|
608
|
+
* "48x48":
|
|
609
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10002"
|
|
610
|
+
* },
|
|
611
|
+
* "deleted": true,
|
|
612
|
+
* "deletedBy": {
|
|
613
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
614
|
+
* "accountType": "atlassian",
|
|
615
|
+
* "active": false,
|
|
616
|
+
* "avatarUrls": {
|
|
617
|
+
* "16x16":
|
|
618
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
619
|
+
* "24x24":
|
|
620
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
621
|
+
* "32x32":
|
|
622
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
623
|
+
* "48x48":
|
|
624
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
625
|
+
* },
|
|
626
|
+
* "displayName": "Mia Krystof",
|
|
627
|
+
* "key": "",
|
|
628
|
+
* "name": "",
|
|
629
|
+
* "self":
|
|
630
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
631
|
+
* },
|
|
632
|
+
* "deletedDate": "2022-11-11T13:35:29.000+0000",
|
|
633
|
+
* "id": "10002",
|
|
634
|
+
* "insight": {
|
|
635
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
636
|
+
* "totalIssueCount": 100
|
|
637
|
+
* },
|
|
638
|
+
* "key": "MKY",
|
|
639
|
+
* "name": "Example",
|
|
640
|
+
* "projectCategory": {
|
|
641
|
+
* "description": "First Project Category",
|
|
642
|
+
* "id": "10000",
|
|
643
|
+
* "name": "FIRST",
|
|
644
|
+
* "self":
|
|
645
|
+
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
646
|
+
* },
|
|
647
|
+
* "retentionTillDate": "2023-01-10T13:35:29.000+0000",
|
|
648
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/MKY",
|
|
649
|
+
* "simplified": false,
|
|
650
|
+
* "style": "classic"
|
|
651
|
+
* },
|
|
652
|
+
* "role": {
|
|
653
|
+
* "self":
|
|
654
|
+
* "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
|
|
655
|
+
* "name": "Developers",
|
|
656
|
+
* "id": 10360,
|
|
657
|
+
* "description": "A project role that represents developers in a
|
|
658
|
+
* project",
|
|
659
|
+
* "actors": [
|
|
660
|
+
* {
|
|
661
|
+
* "actorGroup": {
|
|
662
|
+
* "name": "jira-developers",
|
|
663
|
+
* "displayName": "jira-developers",
|
|
664
|
+
* "groupId": "952d12c3-5b5b-4d04-bb32-44d383afc4b2"
|
|
665
|
+
* },
|
|
666
|
+
* "displayName": "jira-developers",
|
|
667
|
+
* "id": 10240,
|
|
668
|
+
* "name": "jira-developers",
|
|
669
|
+
* "type": "atlassian-group-role-actor"
|
|
670
|
+
* },
|
|
671
|
+
* {
|
|
672
|
+
* "actorUser": {
|
|
673
|
+
* "accountId": "5b10a2844c20165700ede21g"
|
|
674
|
+
* },
|
|
675
|
+
* "displayName": "Mia Krystof",
|
|
676
|
+
* "id": 10241,
|
|
677
|
+
* "type": "atlassian-user-role-actor"
|
|
678
|
+
* }
|
|
679
|
+
* ],
|
|
680
|
+
* "scope": {
|
|
681
|
+
* "project": {
|
|
682
|
+
* "id": "10000",
|
|
683
|
+
* "key": "KEY",
|
|
684
|
+
* "name": "Next Gen Project"
|
|
685
|
+
* },
|
|
686
|
+
* "type": "PROJECT"
|
|
687
|
+
* }
|
|
688
|
+
* },
|
|
689
|
+
* "type": "project"
|
|
690
|
+
* },
|
|
691
|
+
* {
|
|
692
|
+
* "group": {
|
|
693
|
+
* "groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
|
|
694
|
+
* "name": "jira-administrators",
|
|
695
|
+
* "self":
|
|
696
|
+
* "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
|
|
697
|
+
* },
|
|
698
|
+
* "id": 10010,
|
|
699
|
+
* "type": "group"
|
|
700
|
+
* }
|
|
701
|
+
* ],
|
|
702
|
+
* "expand":
|
|
703
|
+
* "description,owner,jql,searchUrl,viewUrl,favourite,favouritedCount,sharePermissions,editPermissions,isWritable,approximateLastUsed,subscriptions",
|
|
704
|
+
* "favourite": true,
|
|
705
|
+
* "favouritedCount": 123,
|
|
706
|
+
* "id": "10010",
|
|
707
|
+
* "jql": "assignee = currentUser() and resolution is empty",
|
|
708
|
+
* "name": "My issues",
|
|
709
|
+
* "owner": {
|
|
710
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
711
|
+
* "accountType": "atlassian",
|
|
712
|
+
* "active": false,
|
|
713
|
+
* "avatarUrls": {
|
|
714
|
+
* "16x16":
|
|
715
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
716
|
+
* "24x24":
|
|
717
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
718
|
+
* "32x32":
|
|
719
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
720
|
+
* "48x48":
|
|
721
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
722
|
+
* },
|
|
723
|
+
* "displayName": "Mia Krystof",
|
|
724
|
+
* "key": "",
|
|
725
|
+
* "name": "",
|
|
726
|
+
* "self":
|
|
727
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
728
|
+
* },
|
|
729
|
+
* "searchUrl":
|
|
730
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
|
|
731
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
|
|
732
|
+
* "sharePermissions": [
|
|
733
|
+
* {
|
|
734
|
+
* "id": 10000,
|
|
735
|
+
* "type": "global"
|
|
736
|
+
* },
|
|
737
|
+
* {
|
|
738
|
+
* "id": 10010,
|
|
739
|
+
* "project": {
|
|
740
|
+
* "avatarUrls": {
|
|
741
|
+
* "16x16":
|
|
742
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
743
|
+
* "24x24":
|
|
744
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
745
|
+
* "32x32":
|
|
746
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
747
|
+
* "48x48":
|
|
748
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
749
|
+
* },
|
|
750
|
+
* "id": "10000",
|
|
751
|
+
* "insight": {
|
|
752
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
753
|
+
* "totalIssueCount": 100
|
|
754
|
+
* },
|
|
755
|
+
* "key": "EX",
|
|
756
|
+
* "name": "Example",
|
|
757
|
+
* "projectCategory": {
|
|
758
|
+
* "description": "First Project Category",
|
|
759
|
+
* "id": "10000",
|
|
760
|
+
* "name": "FIRST",
|
|
761
|
+
* "self":
|
|
762
|
+
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
763
|
+
* },
|
|
764
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
765
|
+
* "simplified": false,
|
|
766
|
+
* "style": "classic"
|
|
767
|
+
* },
|
|
768
|
+
* "type": "project"
|
|
769
|
+
* }
|
|
770
|
+
* ],
|
|
771
|
+
* "subscriptions": [
|
|
772
|
+
* {
|
|
773
|
+
* "id": 1,
|
|
774
|
+
* "user": {
|
|
775
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
776
|
+
* "accountType": "atlassian",
|
|
777
|
+
* "active": true,
|
|
778
|
+
* "applicationRoles": {
|
|
779
|
+
* "items": [],
|
|
780
|
+
* "size": 1
|
|
781
|
+
* },
|
|
782
|
+
* "avatarUrls": {
|
|
783
|
+
* "16x16":
|
|
784
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
785
|
+
* "24x24":
|
|
786
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
787
|
+
* "32x32":
|
|
788
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
789
|
+
* "48x48":
|
|
790
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
791
|
+
* },
|
|
792
|
+
* "displayName": "Mia Krystof",
|
|
793
|
+
* "emailAddress": "mia@example.com",
|
|
794
|
+
* "groups": {
|
|
795
|
+
* "items": [],
|
|
796
|
+
* "size": 3
|
|
797
|
+
* },
|
|
798
|
+
* "key": "",
|
|
799
|
+
* "name": "",
|
|
800
|
+
* "self":
|
|
801
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
802
|
+
* "timeZone": "Australia/Sydney"
|
|
803
|
+
* }
|
|
804
|
+
* }
|
|
805
|
+
* ],
|
|
806
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10010"
|
|
807
|
+
* }
|
|
808
|
+
* ]
|
|
809
|
+
* }
|
|
810
|
+
* @path {GET} /rest/api/3/filter/search
|
|
811
|
+
* @scopes-current read:jira-work
|
|
812
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
813
|
+
* read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira,
|
|
814
|
+
* read:issue-type-hierarchy:jira
|
|
815
|
+
*/
|
|
816
|
+
getFiltersPaginated({ filterName, accountId, owner, groupname, groupId, projectId, id, orderBy, startAt, maxResults, expand, overrideSharePermissions, }: {
|
|
817
|
+
/** String used to perform a case-insensitive partial match with `name`. */
|
|
818
|
+
filterName?: string;
|
|
819
|
+
/**
|
|
820
|
+
* User account ID used to return filters with the matching `owner.accountId`.
|
|
821
|
+
* This parameter cannot be used with `owner`.
|
|
822
|
+
*/
|
|
823
|
+
accountId?: string;
|
|
824
|
+
/**
|
|
825
|
+
* This parameter is deprecated because of privacy changes. Use `accountId`
|
|
826
|
+
* instead. See the [migration
|
|
827
|
+
* guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
828
|
+
* for details. User name used to return filters with the matching `owner.name`.
|
|
829
|
+
* This parameter cannot be used with `accountId`.
|
|
830
|
+
*/
|
|
831
|
+
owner?: string;
|
|
832
|
+
/**
|
|
833
|
+
* As a group's name can change, use of `groupId` is recommended to identify a
|
|
834
|
+
* group. Group name used to returns filters that are shared with a group that
|
|
835
|
+
* matches `sharePermissions.group.groupname`. This parameter cannot be used with
|
|
836
|
+
* the `groupId` parameter.
|
|
837
|
+
*/
|
|
838
|
+
groupname?: string;
|
|
839
|
+
/**
|
|
840
|
+
* Group ID used to returns filters that are shared with a group that matches
|
|
841
|
+
* `sharePermissions.group.groupId`. This parameter cannot be used with the
|
|
842
|
+
* `groupname` parameter.
|
|
843
|
+
*/
|
|
844
|
+
groupId?: string;
|
|
845
|
+
/**
|
|
846
|
+
* Project ID used to returns filters that are shared with a project that matches
|
|
847
|
+
* `sharePermissions.project.id`.
|
|
848
|
+
*/
|
|
849
|
+
projectId?: number;
|
|
850
|
+
/**
|
|
851
|
+
* The list of filter IDs. To include multiple IDs, provide an ampersand-separated
|
|
852
|
+
* list. For example, `id=10000&id=10001`. Do not exceed 200 filter IDs.
|
|
853
|
+
*/
|
|
854
|
+
id?: number[];
|
|
855
|
+
/**
|
|
856
|
+
* [Order](#ordering) the results by a field:
|
|
857
|
+
*
|
|
858
|
+
* * `description` Sorts by filter description. Note that this sorting works
|
|
859
|
+
* independently of whether the expand to display the description field is in use.
|
|
860
|
+
* * `favourite_count` Sorts by the count of how many users have this filter as
|
|
861
|
+
* a favorite.
|
|
862
|
+
* * `is_favourite` Sorts by whether the filter is marked as a favorite.
|
|
863
|
+
* * `id` Sorts by filter ID.
|
|
864
|
+
* * `name` Sorts by filter name.
|
|
865
|
+
* * `owner` Sorts by the ID of the filter owner.
|
|
866
|
+
* * `is_shared` Sorts by whether the filter is shared.
|
|
867
|
+
*/
|
|
868
|
+
orderBy?: "description" | "-description" | "+description" | "favourite_count" | "-favourite_count" | "+favourite_count" | "id" | "-id" | "+id" | "is_favourite" | "-is_favourite" | "+is_favourite" | "name" | "-name" | "+name" | "owner" | "-owner" | "+owner" | "is_shared" | "-is_shared" | "+is_shared";
|
|
869
|
+
/** The index of the first item to return in a page of results (page offset). */
|
|
870
|
+
startAt?: number;
|
|
871
|
+
/** The maximum number of items to return per page. */
|
|
872
|
+
maxResults?: number;
|
|
873
|
+
/**
|
|
874
|
+
* Use [expand](#expansion) to include additional information about filter in the
|
|
875
|
+
* response. This parameter accepts a comma-separated list. Expand options include:
|
|
876
|
+
*
|
|
877
|
+
* * `description` Returns the description of the filter.
|
|
878
|
+
* * `favourite` Returns an indicator of whether the user has set the filter as
|
|
879
|
+
* a favorite.
|
|
880
|
+
* * `favouritedCount` Returns a count of how many users have set this filter as
|
|
881
|
+
* a favorite.
|
|
882
|
+
* * `jql` Returns the JQL query that the filter uses.
|
|
883
|
+
* * `owner` Returns the owner of the filter.
|
|
884
|
+
* * `searchUrl` Returns a URL to perform the filter's JQL query.
|
|
885
|
+
* * `sharePermissions` Returns the share permissions defined for the filter.
|
|
886
|
+
* * `editPermissions` Returns the edit permissions defined for the filter.
|
|
887
|
+
* * `isWritable` Returns whether the current user has permission to edit the
|
|
888
|
+
* filter.
|
|
889
|
+
* * `approximateLastUsed` \[Experimental\] Returns the approximate date and
|
|
890
|
+
* time when the filter was last evaluated.
|
|
891
|
+
* * `subscriptions` Returns the users that are subscribed to the filter.
|
|
892
|
+
* * `viewUrl` Returns a URL to view the filter.
|
|
893
|
+
*/
|
|
894
|
+
expand?: string;
|
|
895
|
+
/**
|
|
896
|
+
* EXPERIMENTAL: Whether share permissions are overridden to enable filters with
|
|
897
|
+
* any share permissions to be returned. Available to users with *Administer Jira*
|
|
898
|
+
* [global permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
899
|
+
*/
|
|
900
|
+
overrideSharePermissions?: boolean;
|
|
901
|
+
}): Promise<PageBeanFilterDetails>;
|
|
902
|
+
/**
|
|
903
|
+
* Returns the filters owned by the user. If `includeFavourites` is `true`, the
|
|
904
|
+
* user's visible favorite filters are also returned.
|
|
905
|
+
*
|
|
906
|
+
* **[Permissions](#permissions) required:** Permission to access Jira, however, a
|
|
907
|
+
* favorite filters is only visible to the user where the filter is:
|
|
908
|
+
*
|
|
909
|
+
* * owned by the user.
|
|
910
|
+
* * shared with a group that the user is a member of.
|
|
911
|
+
* * shared with a private project that the user has *Browse projects* [project
|
|
912
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for.
|
|
913
|
+
* * shared with a public project.
|
|
914
|
+
* * shared with the public.
|
|
915
|
+
*
|
|
916
|
+
* For example, if the user favorites a public filter that is subsequently made
|
|
917
|
+
* private that filter is not returned by this operation.
|
|
918
|
+
*
|
|
919
|
+
* @returns Returned if the request is successful.
|
|
920
|
+
*
|
|
921
|
+
* example: [
|
|
922
|
+
* {
|
|
923
|
+
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
924
|
+
* "description": "Lists all open bugs",
|
|
925
|
+
* "favourite": true,
|
|
926
|
+
* "favouritedCount": 0,
|
|
927
|
+
* "id": "10000",
|
|
928
|
+
* "jql": "type = Bug and resolution is empty",
|
|
929
|
+
* "name": "All Open Bugs",
|
|
930
|
+
* "owner": {
|
|
931
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
932
|
+
* "accountType": "atlassian",
|
|
933
|
+
* "active": false,
|
|
934
|
+
* "avatarUrls": {
|
|
935
|
+
* "16x16":
|
|
936
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
937
|
+
* "24x24":
|
|
938
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
939
|
+
* "32x32":
|
|
940
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
941
|
+
* "48x48":
|
|
942
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
943
|
+
* },
|
|
944
|
+
* "displayName": "Mia Krystof",
|
|
945
|
+
* "key": "",
|
|
946
|
+
* "name": "",
|
|
947
|
+
* "self":
|
|
948
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
949
|
+
* },
|
|
950
|
+
* "searchUrl":
|
|
951
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
952
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
953
|
+
* "sharePermissions": [],
|
|
954
|
+
* "subscriptions": {
|
|
955
|
+
* "end-index": 0,
|
|
956
|
+
* "items": [],
|
|
957
|
+
* "max-results": 0,
|
|
958
|
+
* "size": 0,
|
|
959
|
+
* "start-index": 0
|
|
960
|
+
* },
|
|
961
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
962
|
+
* },
|
|
963
|
+
* {
|
|
964
|
+
* "approximateLastUsed": null,
|
|
965
|
+
* "description": "Issues assigned to me",
|
|
966
|
+
* "favourite": true,
|
|
967
|
+
* "favouritedCount": 0,
|
|
968
|
+
* "id": "10010",
|
|
969
|
+
* "jql": "assignee = currentUser() and resolution is empty",
|
|
970
|
+
* "name": "My issues",
|
|
971
|
+
* "owner": {
|
|
972
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
973
|
+
* "accountType": "atlassian",
|
|
974
|
+
* "active": false,
|
|
975
|
+
* "avatarUrls": {
|
|
976
|
+
* "16x16":
|
|
977
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
978
|
+
* "24x24":
|
|
979
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
980
|
+
* "32x32":
|
|
981
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
982
|
+
* "48x48":
|
|
983
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
984
|
+
* },
|
|
985
|
+
* "displayName": "Mia Krystof",
|
|
986
|
+
* "key": "",
|
|
987
|
+
* "name": "",
|
|
988
|
+
* "self":
|
|
989
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
990
|
+
* },
|
|
991
|
+
* "searchUrl":
|
|
992
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=assignee+in+%28currentUser%28%29%29+and+resolution+is+empty",
|
|
993
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10010",
|
|
994
|
+
* "sharePermissions": [
|
|
995
|
+
* {
|
|
996
|
+
* "id": 10000,
|
|
997
|
+
* "type": "global"
|
|
998
|
+
* },
|
|
999
|
+
* {
|
|
1000
|
+
* "id": 10010,
|
|
1001
|
+
* "project": {
|
|
1002
|
+
* "avatarUrls": {
|
|
1003
|
+
* "16x16":
|
|
1004
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=xsmall&pid=10000",
|
|
1005
|
+
* "24x24":
|
|
1006
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=small&pid=10000",
|
|
1007
|
+
* "32x32":
|
|
1008
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=medium&pid=10000",
|
|
1009
|
+
* "48x48":
|
|
1010
|
+
* "https://your-domain.atlassian.net/secure/projectavatar?size=large&pid=10000"
|
|
1011
|
+
* },
|
|
1012
|
+
* "id": "10000",
|
|
1013
|
+
* "insight": {
|
|
1014
|
+
* "lastIssueUpdateTime": "2021-04-22T05:37:05.000+0000",
|
|
1015
|
+
* "totalIssueCount": 100
|
|
1016
|
+
* },
|
|
1017
|
+
* "key": "EX",
|
|
1018
|
+
* "name": "Example",
|
|
1019
|
+
* "projectCategory": {
|
|
1020
|
+
* "description": "First Project Category",
|
|
1021
|
+
* "id": "10000",
|
|
1022
|
+
* "name": "FIRST",
|
|
1023
|
+
* "self":
|
|
1024
|
+
* "https://your-domain.atlassian.net/rest/api/3/projectCategory/10000"
|
|
1025
|
+
* },
|
|
1026
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/project/EX",
|
|
1027
|
+
* "simplified": false,
|
|
1028
|
+
* "style": "classic"
|
|
1029
|
+
* },
|
|
1030
|
+
* "type": "project"
|
|
1031
|
+
* }
|
|
1032
|
+
* ],
|
|
1033
|
+
* "subscriptions": {
|
|
1034
|
+
* "end-index": 0,
|
|
1035
|
+
* "items": [],
|
|
1036
|
+
* "max-results": 0,
|
|
1037
|
+
* "size": 0,
|
|
1038
|
+
* "start-index": 0
|
|
1039
|
+
* },
|
|
1040
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10010"
|
|
1041
|
+
* }
|
|
1042
|
+
* ]
|
|
1043
|
+
* @path {GET} /rest/api/3/filter/my
|
|
1044
|
+
* @scopes-current read:jira-work
|
|
1045
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
1046
|
+
* read:user:jira, read:jql:jira, read:application-role:jira, read:avatar:jira,
|
|
1047
|
+
* read:issue-type-hierarchy:jira
|
|
1048
|
+
*/
|
|
1049
|
+
getMyFilters({ expand, includeFavourites, }: {
|
|
1050
|
+
/**
|
|
1051
|
+
* Use [expand](#expansion) to include additional information about filter in the
|
|
1052
|
+
* response. This parameter accepts a comma-separated list. Expand options include:
|
|
1053
|
+
*
|
|
1054
|
+
* * `sharedUsers` Returns the users that the filter is shared with. This
|
|
1055
|
+
* includes users that can browse projects that the filter is shared with. If you
|
|
1056
|
+
* don't specify `sharedUsers`, then the `sharedUsers` object is returned but it
|
|
1057
|
+
* doesn't list any users. The list of users returned is limited to 1000, to
|
|
1058
|
+
* access additional users append `[start-index:end-index]` to the expand request.
|
|
1059
|
+
* For example, to access the next 1000 users, use
|
|
1060
|
+
* `?expand=sharedUsers[1001:2000]`.
|
|
1061
|
+
* * `subscriptions` Returns the users that are subscribed to the filter. If you
|
|
1062
|
+
* don't specify `subscriptions`, the `subscriptions` object is returned but it
|
|
1063
|
+
* doesn't list any subscriptions. The list of subscriptions returned is limited
|
|
1064
|
+
* to 1000, to access additional subscriptions append `[start-index:end-index]` to
|
|
1065
|
+
* the expand request. For example, to access the next 1000 subscriptions, use
|
|
1066
|
+
* `?expand=subscriptions[1001:2000]`.
|
|
1067
|
+
*/
|
|
1068
|
+
expand?: string;
|
|
1069
|
+
/** Include the user's favorite filters in the response. */
|
|
1070
|
+
includeFavourites?: boolean;
|
|
1071
|
+
}): Promise<Filter[]>;
|
|
1072
|
+
/**
|
|
1073
|
+
* Reset the user's column configuration for the filter to the default.
|
|
1074
|
+
*
|
|
1075
|
+
* **[Permissions](#permissions) required:** Permission to access Jira, however,
|
|
1076
|
+
* columns are only reset for:
|
|
1077
|
+
*
|
|
1078
|
+
* * filters owned by the user.
|
|
1079
|
+
* * filters shared with a group that the user is a member of.
|
|
1080
|
+
* * filters shared with a private project that the user has *Browse projects*
|
|
1081
|
+
* [project permission](https://confluence.atlassian.com/x/yodKLg) for.
|
|
1082
|
+
* * filters shared with a public project.
|
|
1083
|
+
* * filters shared with the public.
|
|
1084
|
+
*
|
|
1085
|
+
* @path {DELETE} /rest/api/3/filter/{id}/columns
|
|
1086
|
+
* @scopes-beta delete:filter.column:jira
|
|
1087
|
+
* @scopes-current write:jira-work
|
|
1088
|
+
*/
|
|
1089
|
+
resetColumns({ id, }: {
|
|
1090
|
+
/** The ID of the filter. */
|
|
1091
|
+
id: number;
|
|
1092
|
+
}): Promise<void>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Sets the columns for a filter. Only navigable fields can be set as columns. Use
|
|
1095
|
+
* [Get fields](#api-rest-api-3-field-get) to get the list fields in Jira. A
|
|
1096
|
+
* navigable field has `navigable` set to `true`.
|
|
1097
|
+
*
|
|
1098
|
+
* The parameters for this resource are expressed as HTML form data. For example,
|
|
1099
|
+
* in curl:
|
|
1100
|
+
*
|
|
1101
|
+
* `curl -X PUT -d columns=summary -d columns=description
|
|
1102
|
+
* https://your-domain.atlassian.net/rest/api/3/filter/10000/columns`
|
|
1103
|
+
*
|
|
1104
|
+
* **[Permissions](#permissions) required:** Permission to access Jira, however,
|
|
1105
|
+
* columns are only set for:
|
|
1106
|
+
*
|
|
1107
|
+
* * filters owned by the user.
|
|
1108
|
+
* * filters shared with a group that the user is a member of.
|
|
1109
|
+
* * filters shared with a private project that the user has *Browse projects*
|
|
1110
|
+
* [project permission](https://confluence.atlassian.com/x/yodKLg) for.
|
|
1111
|
+
* * filters shared with a public project.
|
|
1112
|
+
* * filters shared with the public.
|
|
1113
|
+
*
|
|
1114
|
+
* @returns Returned if the request is successful.
|
|
1115
|
+
* @path {PUT} /rest/api/3/filter/{id}/columns
|
|
1116
|
+
* @scopes-current write:jira-work
|
|
1117
|
+
* @scopes-beta write:filter.column:jira
|
|
1118
|
+
*/
|
|
1119
|
+
setColumns({ id, mediaType, columnRequestBody, }: {
|
|
1120
|
+
/** The ID of the filter. */
|
|
1121
|
+
id: number;
|
|
1122
|
+
} & ({
|
|
1123
|
+
mediaType?: "application/json";
|
|
1124
|
+
/**
|
|
1125
|
+
* The IDs of the fields to set as columns. In the form data, specify each field
|
|
1126
|
+
* as `columns=id`, where `id` is the *id* of a field (as seen in the response for
|
|
1127
|
+
* [Get fields](#api-rest-api-<ver>-field-get)). For example, `columns=summary`.
|
|
1128
|
+
*/
|
|
1129
|
+
columnRequestBody: ColumnRequestBody;
|
|
1130
|
+
} | {
|
|
1131
|
+
mediaType: "multipart/form-data";
|
|
1132
|
+
/**
|
|
1133
|
+
* The IDs of the fields to set as columns. In the form data, specify each field
|
|
1134
|
+
* as `columns=id`, where `id` is the *id* of a field (as seen in the response for
|
|
1135
|
+
* [Get fields](#api-rest-api-<ver>-field-get)). For example, `columns=summary`.
|
|
1136
|
+
*/
|
|
1137
|
+
columnRequestBody: ColumnRequestBody;
|
|
1138
|
+
})): Promise<unknown>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Add a filter as a favorite for the user.
|
|
1141
|
+
*
|
|
1142
|
+
* **[Permissions](#permissions) required:** Permission to access Jira, however,
|
|
1143
|
+
* the user can only favorite:
|
|
1144
|
+
*
|
|
1145
|
+
* * filters owned by the user.
|
|
1146
|
+
* * filters shared with a group that the user is a member of.
|
|
1147
|
+
* * filters shared with a private project that the user has *Browse projects*
|
|
1148
|
+
* [project permission](https://confluence.atlassian.com/x/yodKLg) for.
|
|
1149
|
+
* * filters shared with a public project.
|
|
1150
|
+
* * filters shared with the public.
|
|
1151
|
+
*
|
|
1152
|
+
* @returns Returned if the request is successful.
|
|
1153
|
+
*
|
|
1154
|
+
* example: {
|
|
1155
|
+
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
1156
|
+
* "description": "Lists all open bugs",
|
|
1157
|
+
* "favourite": true,
|
|
1158
|
+
* "favouritedCount": 0,
|
|
1159
|
+
* "id": "10000",
|
|
1160
|
+
* "jql": "type = Bug and resolution is empty",
|
|
1161
|
+
* "name": "All Open Bugs",
|
|
1162
|
+
* "owner": {
|
|
1163
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1164
|
+
* "accountType": "atlassian",
|
|
1165
|
+
* "active": false,
|
|
1166
|
+
* "avatarUrls": {
|
|
1167
|
+
* "16x16":
|
|
1168
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1169
|
+
* "24x24":
|
|
1170
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1171
|
+
* "32x32":
|
|
1172
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1173
|
+
* "48x48":
|
|
1174
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1175
|
+
* },
|
|
1176
|
+
* "displayName": "Mia Krystof",
|
|
1177
|
+
* "key": "",
|
|
1178
|
+
* "name": "",
|
|
1179
|
+
* "self":
|
|
1180
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1181
|
+
* },
|
|
1182
|
+
* "searchUrl":
|
|
1183
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
1184
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
1185
|
+
* "sharePermissions": [],
|
|
1186
|
+
* "subscriptions": {
|
|
1187
|
+
* "end-index": 0,
|
|
1188
|
+
* "items": [],
|
|
1189
|
+
* "max-results": 0,
|
|
1190
|
+
* "size": 0,
|
|
1191
|
+
* "start-index": 0
|
|
1192
|
+
* },
|
|
1193
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
1194
|
+
* }
|
|
1195
|
+
* @path {PUT} /rest/api/3/filter/{id}/favourite
|
|
1196
|
+
* @scopes-current write:jira-work
|
|
1197
|
+
* @scopes-beta read:filter:jira, read:group:jira, read:project:jira, read:project-role:jira,
|
|
1198
|
+
* read:user:jira, write:filter:jira, read:jql:jira, read:application-role:jira,
|
|
1199
|
+
* read:avatar:jira, read:issue-type-hierarchy:jira
|
|
1200
|
+
*/
|
|
1201
|
+
setFavouriteForFilter({ id, expand, }: {
|
|
1202
|
+
/** The ID of the filter. */
|
|
1203
|
+
id: number;
|
|
1204
|
+
/**
|
|
1205
|
+
* Use [expand](#expansion) to include additional information about filter in the
|
|
1206
|
+
* response. This parameter accepts a comma-separated list. Expand options include:
|
|
1207
|
+
*
|
|
1208
|
+
* * `sharedUsers` Returns the users that the filter is shared with. This
|
|
1209
|
+
* includes users that can browse projects that the filter is shared with. If you
|
|
1210
|
+
* don't specify `sharedUsers`, then the `sharedUsers` object is returned but it
|
|
1211
|
+
* doesn't list any users. The list of users returned is limited to 1000, to
|
|
1212
|
+
* access additional users append `[start-index:end-index]` to the expand request.
|
|
1213
|
+
* For example, to access the next 1000 users, use
|
|
1214
|
+
* `?expand=sharedUsers[1001:2000]`.
|
|
1215
|
+
* * `subscriptions` Returns the users that are subscribed to the filter. If you
|
|
1216
|
+
* don't specify `subscriptions`, the `subscriptions` object is returned but it
|
|
1217
|
+
* doesn't list any subscriptions. The list of subscriptions returned is limited
|
|
1218
|
+
* to 1000, to access additional subscriptions append `[start-index:end-index]` to
|
|
1219
|
+
* the expand request. For example, to access the next 1000 subscriptions, use
|
|
1220
|
+
* `?expand=subscriptions[1001:2000]`.
|
|
1221
|
+
*/
|
|
1222
|
+
expand?: string;
|
|
1223
|
+
}): Promise<Filter>;
|
|
1224
|
+
/**
|
|
1225
|
+
* Updates a filter. Use this operation to update a filter's name, description,
|
|
1226
|
+
* JQL, or sharing.
|
|
1227
|
+
*
|
|
1228
|
+
* **[Permissions](#permissions) required:** Permission to access Jira, however
|
|
1229
|
+
* the user must own the filter.
|
|
1230
|
+
*
|
|
1231
|
+
* @returns Returned if the request is successful.
|
|
1232
|
+
*
|
|
1233
|
+
* example: {
|
|
1234
|
+
* "approximateLastUsed": "2023-03-01T13:15:00.000+0000",
|
|
1235
|
+
* "description": "Lists all open bugs",
|
|
1236
|
+
* "favourite": true,
|
|
1237
|
+
* "favouritedCount": 0,
|
|
1238
|
+
* "id": "10000",
|
|
1239
|
+
* "jql": "type = Bug and resolution is empty",
|
|
1240
|
+
* "name": "All Open Bugs",
|
|
1241
|
+
* "owner": {
|
|
1242
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
1243
|
+
* "accountType": "atlassian",
|
|
1244
|
+
* "active": false,
|
|
1245
|
+
* "avatarUrls": {
|
|
1246
|
+
* "16x16":
|
|
1247
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
1248
|
+
* "24x24":
|
|
1249
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
1250
|
+
* "32x32":
|
|
1251
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
1252
|
+
* "48x48":
|
|
1253
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
1254
|
+
* },
|
|
1255
|
+
* "displayName": "Mia Krystof",
|
|
1256
|
+
* "key": "",
|
|
1257
|
+
* "name": "",
|
|
1258
|
+
* "self":
|
|
1259
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
1260
|
+
* },
|
|
1261
|
+
* "searchUrl":
|
|
1262
|
+
* "https://your-domain.atlassian.net/rest/api/3/search?jql=type%20%3D%20Bug%20and%20resolutino%20is%20empty",
|
|
1263
|
+
* "self": "https://your-domain.atlassian.net/rest/api/3/filter/10000",
|
|
1264
|
+
* "sharePermissions": [],
|
|
1265
|
+
* "subscriptions": {
|
|
1266
|
+
* "end-index": 0,
|
|
1267
|
+
* "items": [],
|
|
1268
|
+
* "max-results": 0,
|
|
1269
|
+
* "size": 0,
|
|
1270
|
+
* "start-index": 0
|
|
1271
|
+
* },
|
|
1272
|
+
* "viewUrl": "https://your-domain.atlassian.net/issues/?filter=10000"
|
|
1273
|
+
* }
|
|
1274
|
+
* @path {PUT} /rest/api/3/filter/{id}
|
|
1275
|
+
* @scopes-current write:jira-work
|
|
1276
|
+
* @scopes-beta write:filter:jira, read:filter:jira, read:group:jira, read:project:jira,
|
|
1277
|
+
* read:project-role:jira, read:user:jira, read:jql:jira,
|
|
1278
|
+
* read:application-role:jira, read:avatar:jira, read:issue-type-hierarchy:jira
|
|
1279
|
+
*/
|
|
1280
|
+
updateFilter({ id, expand, overrideSharePermissions, filter, }: {
|
|
1281
|
+
/** The ID of the filter to update. */
|
|
1282
|
+
id: number;
|
|
1283
|
+
/**
|
|
1284
|
+
* Use [expand](#expansion) to include additional information about filter in the
|
|
1285
|
+
* response. This parameter accepts a comma-separated list. Expand options include:
|
|
1286
|
+
*
|
|
1287
|
+
* * `sharedUsers` Returns the users that the filter is shared with. This
|
|
1288
|
+
* includes users that can browse projects that the filter is shared with. If you
|
|
1289
|
+
* don't specify `sharedUsers`, then the `sharedUsers` object is returned but it
|
|
1290
|
+
* doesn't list any users. The list of users returned is limited to 1000, to
|
|
1291
|
+
* access additional users append `[start-index:end-index]` to the expand request.
|
|
1292
|
+
* For example, to access the next 1000 users, use
|
|
1293
|
+
* `?expand=sharedUsers[1001:2000]`.
|
|
1294
|
+
* * `subscriptions` Returns the users that are subscribed to the filter. If you
|
|
1295
|
+
* don't specify `subscriptions`, the `subscriptions` object is returned but it
|
|
1296
|
+
* doesn't list any subscriptions. The list of subscriptions returned is limited
|
|
1297
|
+
* to 1000, to access additional subscriptions append `[start-index:end-index]` to
|
|
1298
|
+
* the expand request. For example, to access the next 1000 subscriptions, use
|
|
1299
|
+
* `?expand=subscriptions[1001:2000]`.
|
|
1300
|
+
*/
|
|
1301
|
+
expand?: string;
|
|
1302
|
+
/**
|
|
1303
|
+
* EXPERIMENTAL: Whether share permissions are overridden to enable the addition
|
|
1304
|
+
* of any share permissions to filters. Available to users with *Administer Jira*
|
|
1305
|
+
* [global permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
1306
|
+
*/
|
|
1307
|
+
overrideSharePermissions?: boolean;
|
|
1308
|
+
/**
|
|
1309
|
+
* The filter to update.
|
|
1310
|
+
*
|
|
1311
|
+
* @example {
|
|
1312
|
+
* "description": "Lists all open bugs",
|
|
1313
|
+
* "jql": "type = Bug and resolution is empty",
|
|
1314
|
+
* "name": "All Open Bugs"
|
|
1315
|
+
* }
|
|
1316
|
+
*/
|
|
1317
|
+
filter: Filter;
|
|
1318
|
+
}): Promise<Filter>;
|
|
1319
|
+
static initialize(): void;
|
|
1320
|
+
}
|