@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,782 @@
|
|
|
1
|
+
import { CommonHttpService } from "../core/common-http-service";
|
|
2
|
+
import { type FoundUsers, type PageBeanUser, type User } from "../models/common";
|
|
3
|
+
import { type PageBeanUserKey } from "../models/user-search";
|
|
4
|
+
/**
|
|
5
|
+
* This resource represents various ways to search for and find users. Use it to
|
|
6
|
+
* obtain list of users including users assignable to projects and issues, users
|
|
7
|
+
* with permissions, user lists for pickup fields, and user lists generated using
|
|
8
|
+
* structured queries. Note that the operations in this resource only return users
|
|
9
|
+
* found within the first 1000 users.
|
|
10
|
+
*/
|
|
11
|
+
export declare class UserSearchService extends CommonHttpService {
|
|
12
|
+
/**
|
|
13
|
+
* Returns a list of users that can be assigned to an issue. Use this operation to
|
|
14
|
+
* find the list of users who can be assigned to:
|
|
15
|
+
*
|
|
16
|
+
* * a new issue, by providing the `projectKeyOrId`.
|
|
17
|
+
* * an updated issue, by providing the `issueKey`.
|
|
18
|
+
* * to an issue during a transition (workflow action), by providing the
|
|
19
|
+
* `issueKey` and the transition id in `actionDescriptorId`. You can obtain the
|
|
20
|
+
* IDs of an issue's valid transitions using the `transitions` option in the
|
|
21
|
+
* `expand` parameter of [ Get issue](#api-rest-api-3-issue-issueIdOrKey-get).
|
|
22
|
+
*
|
|
23
|
+
* In all these cases, you can pass an account ID to determine if a user can be
|
|
24
|
+
* assigned to an issue. The user is returned in the response if they can be
|
|
25
|
+
* assigned to the issue or issue transition.
|
|
26
|
+
*
|
|
27
|
+
* This operation takes the users in the range defined by `startAt` and
|
|
28
|
+
* `maxResults`, up to the thousandth user, and then returns only the users from
|
|
29
|
+
* that range that can be assigned the issue. This means the operation usually
|
|
30
|
+
* returns fewer users than specified in `maxResults`. To get all the users who
|
|
31
|
+
* can be assigned the issue, use [Get all
|
|
32
|
+
* users](#api-rest-api-3-users-search-get) and filter the records in your code.
|
|
33
|
+
*
|
|
34
|
+
* Privacy controls are applied to the response based on the users' preferences.
|
|
35
|
+
* This could mean, for example, that the user's email address is hidden. See the
|
|
36
|
+
* [Profile visibility
|
|
37
|
+
* overview](https://developer.atlassian.com/cloud/jira/platform/profile-visibility/)
|
|
38
|
+
* for more details.
|
|
39
|
+
*
|
|
40
|
+
* **[Permissions](#permissions) required:** *Browse users and groups* [global
|
|
41
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg) or *Assign issues*
|
|
42
|
+
* [project permission](https://confluence.atlassian.com/x/yodKLg)
|
|
43
|
+
*
|
|
44
|
+
* @returns Returned if the request is successful.
|
|
45
|
+
*
|
|
46
|
+
* example: {
|
|
47
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
48
|
+
* "accountType": "atlassian",
|
|
49
|
+
* "active": true,
|
|
50
|
+
* "applicationRoles": {
|
|
51
|
+
* "items": [],
|
|
52
|
+
* "size": 1
|
|
53
|
+
* },
|
|
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
|
+
* "emailAddress": "mia@example.com",
|
|
66
|
+
* "groups": {
|
|
67
|
+
* "items": [],
|
|
68
|
+
* "size": 3
|
|
69
|
+
* },
|
|
70
|
+
* "key": "",
|
|
71
|
+
* "name": "",
|
|
72
|
+
* "self":
|
|
73
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
|
|
74
|
+
* "timeZone": "Australia/Sydney"
|
|
75
|
+
* }
|
|
76
|
+
* @path {GET} /rest/api/3/user/assignable/search
|
|
77
|
+
* @scopes-current read:jira-user
|
|
78
|
+
* @scopes-beta read:issue:jira, read:project:jira, read:user:jira, read:application-role:jira,
|
|
79
|
+
* read:avatar:jira, read:group:jira
|
|
80
|
+
*/
|
|
81
|
+
findAssignableUsers({ query, sessionId, username, accountId, project, issueKey, startAt, maxResults, actionDescriptorId, recommend, }: {
|
|
82
|
+
/**
|
|
83
|
+
* A query string that is matched against user attributes, such as `displayName`,
|
|
84
|
+
* and `emailAddress`, to find relevant users. The string can match the prefix of
|
|
85
|
+
* the attribute's value. For example, *query=john* matches a user with a
|
|
86
|
+
* `displayName` of *John Smith* and a user with an `emailAddress` of
|
|
87
|
+
* *johnson@example.com*. Required, unless `username` or `accountId` is specified.
|
|
88
|
+
*/
|
|
89
|
+
query?: string;
|
|
90
|
+
/** The sessionId of this request. SessionId is the same until the assignee is set. */
|
|
91
|
+
sessionId?: string;
|
|
92
|
+
/**
|
|
93
|
+
* This parameter is no longer available. See the [deprecation
|
|
94
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
95
|
+
* for details.
|
|
96
|
+
*/
|
|
97
|
+
username?: string;
|
|
98
|
+
/**
|
|
99
|
+
* A query string that is matched exactly against user `accountId`. Required,
|
|
100
|
+
* unless `query` is specified.
|
|
101
|
+
*/
|
|
102
|
+
accountId?: string;
|
|
103
|
+
/**
|
|
104
|
+
* The project ID or project key (case sensitive). Required, unless `issueKey` is
|
|
105
|
+
* specified.
|
|
106
|
+
*/
|
|
107
|
+
project?: string;
|
|
108
|
+
/** The key of the issue. Required, unless `project` is specified. */
|
|
109
|
+
issueKey?: string;
|
|
110
|
+
/** The index of the first item to return in a page of results (page offset). */
|
|
111
|
+
startAt?: number;
|
|
112
|
+
/**
|
|
113
|
+
* The maximum number of items to return. This operation may return less than the
|
|
114
|
+
* maximum number of items even if more are available. The operation fetches users
|
|
115
|
+
* up to the maximum and then, from the fetched users, returns only the users that
|
|
116
|
+
* can be assigned to the issue.
|
|
117
|
+
*/
|
|
118
|
+
maxResults?: number;
|
|
119
|
+
/** The ID of the transition. */
|
|
120
|
+
actionDescriptorId?: number;
|
|
121
|
+
recommend?: boolean;
|
|
122
|
+
}): Promise<User[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Returns a list of users who can be assigned issues in one or more projects. The
|
|
125
|
+
* list may be restricted to users whose attributes match a string.
|
|
126
|
+
*
|
|
127
|
+
* This operation takes the users in the range defined by `startAt` and
|
|
128
|
+
* `maxResults`, up to the thousandth user, and then returns only the users from
|
|
129
|
+
* that range that can be assigned issues in the projects. This means the
|
|
130
|
+
* operation usually returns fewer users than specified in `maxResults`. To get
|
|
131
|
+
* all the users who can be assigned issues in the projects, use [Get all
|
|
132
|
+
* users](#api-rest-api-3-users-search-get) and filter the records in your code.
|
|
133
|
+
*
|
|
134
|
+
* Privacy controls are applied to the response based on the users' preferences.
|
|
135
|
+
* This could mean, for example, that the user's email address is hidden. See the
|
|
136
|
+
* [Profile visibility
|
|
137
|
+
* overview](https://developer.atlassian.com/cloud/jira/platform/profile-visibility/)
|
|
138
|
+
* for more details.
|
|
139
|
+
*
|
|
140
|
+
* This operation can be accessed anonymously.
|
|
141
|
+
*
|
|
142
|
+
* **[Permissions](#permissions) required:** None.
|
|
143
|
+
*
|
|
144
|
+
* @returns Returned if the request is successful.
|
|
145
|
+
*
|
|
146
|
+
* example: [
|
|
147
|
+
* {
|
|
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
|
+
* {
|
|
168
|
+
* "accountId": "5b10ac8d82e05b22cc7d4ef5",
|
|
169
|
+
* "accountType": "atlassian",
|
|
170
|
+
* "active": false,
|
|
171
|
+
* "avatarUrls": {
|
|
172
|
+
* "16x16":
|
|
173
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=16&s=16",
|
|
174
|
+
* "24x24":
|
|
175
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=24&s=24",
|
|
176
|
+
* "32x32":
|
|
177
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=32&s=32",
|
|
178
|
+
* "48x48":
|
|
179
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=48&s=48"
|
|
180
|
+
* },
|
|
181
|
+
* "displayName": "Emma Richards",
|
|
182
|
+
* "key": "",
|
|
183
|
+
* "name": "",
|
|
184
|
+
* "self":
|
|
185
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10ac8d82e05b22cc7d4ef5"
|
|
186
|
+
* }
|
|
187
|
+
* ]
|
|
188
|
+
* @path {GET} /rest/api/3/user/assignable/multiProjectSearch
|
|
189
|
+
* @scopes-current read:jira-user
|
|
190
|
+
* @scopes-beta read:project:jira, read:user:jira, read:application-role:jira,
|
|
191
|
+
* read:avatar:jira, read:group:jira
|
|
192
|
+
*/
|
|
193
|
+
findBulkAssignableUsers({ query, username, accountId, projectKeys, startAt, maxResults, }: {
|
|
194
|
+
/**
|
|
195
|
+
* A query string that is matched against user attributes, such as `displayName`
|
|
196
|
+
* and `emailAddress`, to find relevant users. The string can match the prefix of
|
|
197
|
+
* the attribute's value. For example, *query=john* matches a user with a
|
|
198
|
+
* `displayName` of *John Smith* and a user with an `emailAddress` of
|
|
199
|
+
* *johnson@example.com*. Required, unless `accountId` is specified.
|
|
200
|
+
*/
|
|
201
|
+
query?: string;
|
|
202
|
+
/**
|
|
203
|
+
* This parameter is no longer available. See the [deprecation
|
|
204
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
205
|
+
* for details.
|
|
206
|
+
*/
|
|
207
|
+
username?: string;
|
|
208
|
+
/**
|
|
209
|
+
* A query string that is matched exactly against user `accountId`. Required,
|
|
210
|
+
* unless `query` is specified.
|
|
211
|
+
*/
|
|
212
|
+
accountId?: string;
|
|
213
|
+
/**
|
|
214
|
+
* A list of project keys (case sensitive). This parameter accepts a
|
|
215
|
+
* comma-separated list.
|
|
216
|
+
*/
|
|
217
|
+
projectKeys: string;
|
|
218
|
+
/** The index of the first item to return in a page of results (page offset). */
|
|
219
|
+
startAt?: number;
|
|
220
|
+
/** The maximum number of items to return per page. */
|
|
221
|
+
maxResults?: number;
|
|
222
|
+
}): Promise<User[]>;
|
|
223
|
+
/**
|
|
224
|
+
* Finds users with a structured query and returns a [paginated](#pagination) list
|
|
225
|
+
* of user keys.
|
|
226
|
+
*
|
|
227
|
+
* This operation takes the users in the range defined by `startAt` and
|
|
228
|
+
* `maxResults`, up to the thousandth user, and then returns only the users from
|
|
229
|
+
* that range that match the structured query. This means the operation usually
|
|
230
|
+
* returns fewer users than specified in `maxResults`. To get all the users who
|
|
231
|
+
* match the structured query, use [Get all
|
|
232
|
+
* users](#api-rest-api-3-users-search-get) and filter the records in your code.
|
|
233
|
+
*
|
|
234
|
+
* **[Permissions](#permissions) required:** *Browse users and groups* [global
|
|
235
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
236
|
+
*
|
|
237
|
+
* The query statements are:
|
|
238
|
+
*
|
|
239
|
+
* * `is assignee of PROJ` Returns the users that are assignees of at least one
|
|
240
|
+
* issue in project *PROJ*.
|
|
241
|
+
* * `is assignee of (PROJ-1, PROJ-2)` Returns users that are assignees on the
|
|
242
|
+
* issues *PROJ-1* or *PROJ-2*.
|
|
243
|
+
* * `is reporter of (PROJ-1, PROJ-2)` Returns users that are reporters on the
|
|
244
|
+
* issues *PROJ-1* or *PROJ-2*.
|
|
245
|
+
* * `is watcher of (PROJ-1, PROJ-2)` Returns users that are watchers on the
|
|
246
|
+
* issues *PROJ-1* or *PROJ-2*.
|
|
247
|
+
* * `is voter of (PROJ-1, PROJ-2)` Returns users that are voters on the issues
|
|
248
|
+
* *PROJ-1* or *PROJ-2*.
|
|
249
|
+
* * `is commenter of (PROJ-1, PROJ-2)` Returns users that have posted a comment
|
|
250
|
+
* on the issues *PROJ-1* or *PROJ-2*.
|
|
251
|
+
* * `is transitioner of (PROJ-1, PROJ-2)` Returns users that have performed a
|
|
252
|
+
* transition on issues *PROJ-1* or *PROJ-2*.
|
|
253
|
+
* * `[propertyKey].entity.property.path is "property value"` Returns users with
|
|
254
|
+
* the entity property value.
|
|
255
|
+
*
|
|
256
|
+
* The list of issues can be extended as needed, as in *(PROJ-1, PROJ-2, ...
|
|
257
|
+
* PROJ-n)*. Statements can be combined using the `AND` and `OR` operators to form
|
|
258
|
+
* more complex queries. For example:
|
|
259
|
+
*
|
|
260
|
+
* `is assignee of PROJ AND [propertyKey].entity.property.path is "property value"`
|
|
261
|
+
*
|
|
262
|
+
* @returns Returned if the request is successful.
|
|
263
|
+
* @path {GET} /rest/api/3/user/search/query/key
|
|
264
|
+
* @scopes-current read:jira-user
|
|
265
|
+
* @scopes-beta read:comment:jira, read:issue:jira, read:issue.vote:jira,
|
|
266
|
+
* read:issue.watcher:jira, read:project:jira, read:user.property:jira,
|
|
267
|
+
* read:user:jira
|
|
268
|
+
*/
|
|
269
|
+
findUserKeysByQuery({ query, startAt, maxResult, }: {
|
|
270
|
+
/** The search query. */
|
|
271
|
+
query: string;
|
|
272
|
+
/** The index of the first item to return in a page of results (page offset). */
|
|
273
|
+
startAt?: number;
|
|
274
|
+
/** The maximum number of items to return per page. */
|
|
275
|
+
maxResult?: number;
|
|
276
|
+
}): Promise<PageBeanUserKey>;
|
|
277
|
+
/**
|
|
278
|
+
* Returns a list of active users that match the search string and property.
|
|
279
|
+
*
|
|
280
|
+
* This operation first applies a filter to match the search string and property,
|
|
281
|
+
* and then takes the filtered users in the range defined by `startAt` and
|
|
282
|
+
* `maxResults`, up to the thousandth user. To get all the users who match the
|
|
283
|
+
* search string and property, use [Get all
|
|
284
|
+
* users](#api-rest-api-3-users-search-get) and filter the records in your code.
|
|
285
|
+
*
|
|
286
|
+
* This operation can be accessed anonymously.
|
|
287
|
+
*
|
|
288
|
+
* Privacy controls are applied to the response based on the users' preferences.
|
|
289
|
+
* This could mean, for example, that the user's email address is hidden. See the
|
|
290
|
+
* [Profile visibility
|
|
291
|
+
* overview](https://developer.atlassian.com/cloud/jira/platform/profile-visibility/)
|
|
292
|
+
* for more details.
|
|
293
|
+
*
|
|
294
|
+
* **[Permissions](#permissions) required:** *Browse users and groups* [global
|
|
295
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg). Anonymous calls or
|
|
296
|
+
* calls by users without the required permission return empty search results.
|
|
297
|
+
*
|
|
298
|
+
* @returns Returned if the request is successful.
|
|
299
|
+
*
|
|
300
|
+
* example: [
|
|
301
|
+
* {
|
|
302
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
303
|
+
* "accountType": "atlassian",
|
|
304
|
+
* "active": false,
|
|
305
|
+
* "avatarUrls": {
|
|
306
|
+
* "16x16":
|
|
307
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
308
|
+
* "24x24":
|
|
309
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
310
|
+
* "32x32":
|
|
311
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
312
|
+
* "48x48":
|
|
313
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
314
|
+
* },
|
|
315
|
+
* "displayName": "Mia Krystof",
|
|
316
|
+
* "key": "",
|
|
317
|
+
* "name": "",
|
|
318
|
+
* "self":
|
|
319
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
320
|
+
* },
|
|
321
|
+
* {
|
|
322
|
+
* "accountId": "5b10ac8d82e05b22cc7d4ef5",
|
|
323
|
+
* "accountType": "atlassian",
|
|
324
|
+
* "active": false,
|
|
325
|
+
* "avatarUrls": {
|
|
326
|
+
* "16x16":
|
|
327
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=16&s=16",
|
|
328
|
+
* "24x24":
|
|
329
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=24&s=24",
|
|
330
|
+
* "32x32":
|
|
331
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=32&s=32",
|
|
332
|
+
* "48x48":
|
|
333
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=48&s=48"
|
|
334
|
+
* },
|
|
335
|
+
* "displayName": "Emma Richards",
|
|
336
|
+
* "key": "",
|
|
337
|
+
* "name": "",
|
|
338
|
+
* "self":
|
|
339
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10ac8d82e05b22cc7d4ef5"
|
|
340
|
+
* }
|
|
341
|
+
* ]
|
|
342
|
+
* @path {GET} /rest/api/3/user/search
|
|
343
|
+
* @scopes-current read:jira-user
|
|
344
|
+
* @scopes-beta read:user:jira, read:user.property:jira, read:application-role:jira,
|
|
345
|
+
* read:avatar:jira, read:group:jira
|
|
346
|
+
*/
|
|
347
|
+
findUsers({ query, username, accountId, startAt, maxResults, property, }: {
|
|
348
|
+
/**
|
|
349
|
+
* A query string that is matched against user attributes ( `displayName`, and
|
|
350
|
+
* `emailAddress`) to find relevant users. The string can match the prefix of the
|
|
351
|
+
* attribute's value. For example, *query=john* matches a user with a
|
|
352
|
+
* `displayName` of *John Smith* and a user with an `emailAddress` of
|
|
353
|
+
* *johnson@example.com*. Required, unless `accountId` or `property` is specified.
|
|
354
|
+
*/
|
|
355
|
+
query?: string;
|
|
356
|
+
username?: string;
|
|
357
|
+
/**
|
|
358
|
+
* A query string that is matched exactly against a user `accountId`. Required,
|
|
359
|
+
* unless `query` or `property` is specified.
|
|
360
|
+
*/
|
|
361
|
+
accountId?: string;
|
|
362
|
+
/**
|
|
363
|
+
* The index of the first item to return in a page of filtered results (page
|
|
364
|
+
* offset).
|
|
365
|
+
*/
|
|
366
|
+
startAt?: number;
|
|
367
|
+
/** The maximum number of items to return per page. */
|
|
368
|
+
maxResults?: number;
|
|
369
|
+
/**
|
|
370
|
+
* A query string used to search properties. Property keys are specified by path,
|
|
371
|
+
* so property keys containing dot (.) or equals (=) characters cannot be used.
|
|
372
|
+
* The query string cannot be specified using a JSON object. Example: To search
|
|
373
|
+
* for the value of `nested` from `{"something":{"nested":1,"other":2}}` use
|
|
374
|
+
* `thepropertykey.something.nested=1`. Required, unless `accountId` or `query` is
|
|
375
|
+
* specified.
|
|
376
|
+
*/
|
|
377
|
+
property?: string;
|
|
378
|
+
}): Promise<User[]>;
|
|
379
|
+
/**
|
|
380
|
+
* Finds users with a structured query and returns a [paginated](#pagination) list
|
|
381
|
+
* of user details.
|
|
382
|
+
*
|
|
383
|
+
* This operation takes the users in the range defined by `startAt` and
|
|
384
|
+
* `maxResults`, up to the thousandth user, and then returns only the users from
|
|
385
|
+
* that range that match the structured query. This means the operation usually
|
|
386
|
+
* returns fewer users than specified in `maxResults`. To get all the users who
|
|
387
|
+
* match the structured query, use [Get all
|
|
388
|
+
* users](#api-rest-api-3-users-search-get) and filter the records in your code.
|
|
389
|
+
*
|
|
390
|
+
* **[Permissions](#permissions) required:** *Browse users and groups* [global
|
|
391
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg).
|
|
392
|
+
*
|
|
393
|
+
* The query statements are:
|
|
394
|
+
*
|
|
395
|
+
* * `is assignee of PROJ` Returns the users that are assignees of at least one
|
|
396
|
+
* issue in project *PROJ*.
|
|
397
|
+
* * `is assignee of (PROJ-1, PROJ-2)` Returns users that are assignees on the
|
|
398
|
+
* issues *PROJ-1* or *PROJ-2*.
|
|
399
|
+
* * `is reporter of (PROJ-1, PROJ-2)` Returns users that are reporters on the
|
|
400
|
+
* issues *PROJ-1* or *PROJ-2*.
|
|
401
|
+
* * `is watcher of (PROJ-1, PROJ-2)` Returns users that are watchers on the
|
|
402
|
+
* issues *PROJ-1* or *PROJ-2*.
|
|
403
|
+
* * `is voter of (PROJ-1, PROJ-2)` Returns users that are voters on the issues
|
|
404
|
+
* *PROJ-1* or *PROJ-2*.
|
|
405
|
+
* * `is commenter of (PROJ-1, PROJ-2)` Returns users that have posted a comment
|
|
406
|
+
* on the issues *PROJ-1* or *PROJ-2*.
|
|
407
|
+
* * `is transitioner of (PROJ-1, PROJ-2)` Returns users that have performed a
|
|
408
|
+
* transition on issues *PROJ-1* or *PROJ-2*.
|
|
409
|
+
* * `[propertyKey].entity.property.path is "property value"` Returns users with
|
|
410
|
+
* the entity property value.
|
|
411
|
+
*
|
|
412
|
+
* The list of issues can be extended as needed, as in *(PROJ-1, PROJ-2, ...
|
|
413
|
+
* PROJ-n)*. Statements can be combined using the `AND` and `OR` operators to form
|
|
414
|
+
* more complex queries. For example:
|
|
415
|
+
*
|
|
416
|
+
* `is assignee of PROJ AND [propertyKey].entity.property.path is "property value"`
|
|
417
|
+
*
|
|
418
|
+
* @returns Returned if the request is successful.
|
|
419
|
+
* @path {GET} /rest/api/3/user/search/query
|
|
420
|
+
* @scopes-current read:jira-user
|
|
421
|
+
* @scopes-beta read:comment:jira, read:issue:jira, read:issue.vote:jira,
|
|
422
|
+
* read:issue.watcher:jira, read:project:jira, read:user:jira,
|
|
423
|
+
* read:user.property:jira, read:application-role:jira, read:avatar:jira,
|
|
424
|
+
* read:group:jira
|
|
425
|
+
*/
|
|
426
|
+
findUsersByQuery({ query, startAt, maxResults, }: {
|
|
427
|
+
/** The search query. */
|
|
428
|
+
query: string;
|
|
429
|
+
/** The index of the first item to return in a page of results (page offset). */
|
|
430
|
+
startAt?: number;
|
|
431
|
+
/** The maximum number of items to return per page. */
|
|
432
|
+
maxResults?: number;
|
|
433
|
+
}): Promise<PageBeanUser>;
|
|
434
|
+
/**
|
|
435
|
+
* Returns a list of users whose attributes match the query term. The returned
|
|
436
|
+
* object includes the `html` field where the matched query term is highlighted
|
|
437
|
+
* with the HTML strong tag. A list of account IDs can be provided to exclude
|
|
438
|
+
* users from the results.
|
|
439
|
+
*
|
|
440
|
+
* This operation takes the users in the range defined by `maxResults`, up to the
|
|
441
|
+
* thousandth user, and then returns only the users from that range that match the
|
|
442
|
+
* query term. This means the operation usually returns fewer users than specified
|
|
443
|
+
* in `maxResults`. To get all the users who match the query term, use [Get all
|
|
444
|
+
* users](#api-rest-api-3-users-search-get) and filter the records in your code.
|
|
445
|
+
*
|
|
446
|
+
* Privacy controls are applied to the response based on the users' preferences.
|
|
447
|
+
* This could mean, for example, that the user's email address is hidden. See the
|
|
448
|
+
* [Profile visibility
|
|
449
|
+
* overview](https://developer.atlassian.com/cloud/jira/platform/profile-visibility/)
|
|
450
|
+
* for more details.
|
|
451
|
+
*
|
|
452
|
+
* This operation can be accessed anonymously.
|
|
453
|
+
*
|
|
454
|
+
* **[Permissions](#permissions) required:** *Browse users and groups* [global
|
|
455
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg). Anonymous calls and
|
|
456
|
+
* calls by users without the required permission return search results for an
|
|
457
|
+
* exact name match only.
|
|
458
|
+
*
|
|
459
|
+
* @returns Returned if the request is successful.
|
|
460
|
+
*
|
|
461
|
+
* example: {
|
|
462
|
+
* "header": "Showing 20 of 25 matching groups",
|
|
463
|
+
* "total": 25,
|
|
464
|
+
* "users": [
|
|
465
|
+
* {
|
|
466
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
467
|
+
* "accountType": "atlassian",
|
|
468
|
+
* "avatarUrl":
|
|
469
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
470
|
+
* "displayName": "Mia Krystof",
|
|
471
|
+
* "html": "<strong>Mi</strong>a Krystof - <strong>mi</strong>a@example.com
|
|
472
|
+
* (<strong>mi</strong>a)",
|
|
473
|
+
* "key": "mia",
|
|
474
|
+
* "name": "mia"
|
|
475
|
+
* }
|
|
476
|
+
* ]
|
|
477
|
+
* }
|
|
478
|
+
* @path {GET} /rest/api/3/user/picker
|
|
479
|
+
* @scopes-current read:jira-user
|
|
480
|
+
* @scopes-beta read:user:jira
|
|
481
|
+
*/
|
|
482
|
+
findUsersForPicker({ query, maxResults, showAvatar, exclude, excludeAccountIds, avatarSize, excludeConnectUsers, }: {
|
|
483
|
+
/**
|
|
484
|
+
* A query string that is matched against user attributes, such as `displayName`,
|
|
485
|
+
* and `emailAddress`, to find relevant users. The string can match the prefix of
|
|
486
|
+
* the attribute's value. For example, *query=john* matches a user with a
|
|
487
|
+
* `displayName` of *John Smith* and a user with an `emailAddress` of
|
|
488
|
+
* *johnson@example.com*.
|
|
489
|
+
*/
|
|
490
|
+
query: string;
|
|
491
|
+
/**
|
|
492
|
+
* The maximum number of items to return. The total number of matched users is
|
|
493
|
+
* returned in `total`.
|
|
494
|
+
*/
|
|
495
|
+
maxResults?: number;
|
|
496
|
+
/** Include the URI to the user's avatar. */
|
|
497
|
+
showAvatar?: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* This parameter is no longer available. See the [deprecation
|
|
500
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
501
|
+
* for details.
|
|
502
|
+
*/
|
|
503
|
+
exclude?: string[];
|
|
504
|
+
/**
|
|
505
|
+
* A list of account IDs to exclude from the search results. This parameter
|
|
506
|
+
* accepts a comma-separated list. Multiple account IDs can also be provided using
|
|
507
|
+
* an ampersand-separated list. For example,
|
|
508
|
+
* `excludeAccountIds=5b10a2844c20165700ede21g,5b10a0effa615349cb016cd8&excludeAccountIds=5b10ac8d82e05b22cc7d4ef5`.
|
|
509
|
+
* Cannot be provided with `exclude`.
|
|
510
|
+
*/
|
|
511
|
+
excludeAccountIds?: string[];
|
|
512
|
+
avatarSize?: string;
|
|
513
|
+
excludeConnectUsers?: boolean;
|
|
514
|
+
}): Promise<FoundUsers>;
|
|
515
|
+
/**
|
|
516
|
+
* Returns a list of users who fulfill these criteria:
|
|
517
|
+
*
|
|
518
|
+
* * their user attributes match a search string.
|
|
519
|
+
* * they have a set of permissions for a project or issue.
|
|
520
|
+
*
|
|
521
|
+
* If no search string is provided, a list of all users with the permissions is
|
|
522
|
+
* returned.
|
|
523
|
+
*
|
|
524
|
+
* This operation takes the users in the range defined by `startAt` and
|
|
525
|
+
* `maxResults`, up to the thousandth user, and then returns only the users from
|
|
526
|
+
* that range that match the search string and have permission for the project or
|
|
527
|
+
* issue. This means the operation usually returns fewer users than specified in
|
|
528
|
+
* `maxResults`. To get all the users who match the search string and have
|
|
529
|
+
* permission for the project or issue, use [Get all
|
|
530
|
+
* users](#api-rest-api-3-users-search-get) and filter the records in your code.
|
|
531
|
+
*
|
|
532
|
+
* Privacy controls are applied to the response based on the users' preferences.
|
|
533
|
+
* This could mean, for example, that the user's email address is hidden. See the
|
|
534
|
+
* [Profile visibility
|
|
535
|
+
* overview](https://developer.atlassian.com/cloud/jira/platform/profile-visibility/)
|
|
536
|
+
* for more details.
|
|
537
|
+
*
|
|
538
|
+
* This operation can be accessed anonymously.
|
|
539
|
+
*
|
|
540
|
+
* **[Permissions](#permissions) required:**
|
|
541
|
+
*
|
|
542
|
+
* * *Administer Jira* [global
|
|
543
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg), to get users for any
|
|
544
|
+
* project.
|
|
545
|
+
* * *Administer Projects* [project
|
|
546
|
+
* permission](https://confluence.atlassian.com/x/yodKLg) for a project, to get
|
|
547
|
+
* users for that project.
|
|
548
|
+
*
|
|
549
|
+
* @returns Returned if the request is successful.
|
|
550
|
+
*
|
|
551
|
+
* example: [
|
|
552
|
+
* {
|
|
553
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
554
|
+
* "accountType": "atlassian",
|
|
555
|
+
* "active": false,
|
|
556
|
+
* "avatarUrls": {
|
|
557
|
+
* "16x16":
|
|
558
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
559
|
+
* "24x24":
|
|
560
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
561
|
+
* "32x32":
|
|
562
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
563
|
+
* "48x48":
|
|
564
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
565
|
+
* },
|
|
566
|
+
* "displayName": "Mia Krystof",
|
|
567
|
+
* "key": "",
|
|
568
|
+
* "name": "",
|
|
569
|
+
* "self":
|
|
570
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
571
|
+
* },
|
|
572
|
+
* {
|
|
573
|
+
* "accountId": "5b10ac8d82e05b22cc7d4ef5",
|
|
574
|
+
* "accountType": "atlassian",
|
|
575
|
+
* "active": false,
|
|
576
|
+
* "avatarUrls": {
|
|
577
|
+
* "16x16":
|
|
578
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=16&s=16",
|
|
579
|
+
* "24x24":
|
|
580
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=24&s=24",
|
|
581
|
+
* "32x32":
|
|
582
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=32&s=32",
|
|
583
|
+
* "48x48":
|
|
584
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=48&s=48"
|
|
585
|
+
* },
|
|
586
|
+
* "displayName": "Emma Richards",
|
|
587
|
+
* "key": "",
|
|
588
|
+
* "name": "",
|
|
589
|
+
* "self":
|
|
590
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10ac8d82e05b22cc7d4ef5"
|
|
591
|
+
* }
|
|
592
|
+
* ]
|
|
593
|
+
* @path {GET} /rest/api/3/user/permission/search
|
|
594
|
+
* @scopes-current read:jira-user
|
|
595
|
+
* @scopes-beta read:issue:jira, read:project:jira, read:user:jira, read:application-role:jira,
|
|
596
|
+
* read:avatar:jira, read:group:jira
|
|
597
|
+
*/
|
|
598
|
+
findUsersWithAllPermissions({ query, username, accountId, permissions, issueKey, projectKey, startAt, maxResults, }: {
|
|
599
|
+
/**
|
|
600
|
+
* A query string that is matched against user attributes, such as `displayName`
|
|
601
|
+
* and `emailAddress`, to find relevant users. The string can match the prefix of
|
|
602
|
+
* the attribute's value. For example, *query=john* matches a user with a
|
|
603
|
+
* `displayName` of *John Smith* and a user with an `emailAddress` of
|
|
604
|
+
* *johnson@example.com*. Required, unless `accountId` is specified.
|
|
605
|
+
*/
|
|
606
|
+
query?: string;
|
|
607
|
+
/**
|
|
608
|
+
* This parameter is no longer available. See the [deprecation
|
|
609
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
610
|
+
* for details.
|
|
611
|
+
*/
|
|
612
|
+
username?: string;
|
|
613
|
+
/**
|
|
614
|
+
* A query string that is matched exactly against user `accountId`. Required,
|
|
615
|
+
* unless `query` is specified.
|
|
616
|
+
*/
|
|
617
|
+
accountId?: string;
|
|
618
|
+
/**
|
|
619
|
+
* A comma separated list of permissions. Permissions can be specified as any:
|
|
620
|
+
*
|
|
621
|
+
* * permission returned by [Get all
|
|
622
|
+
* permissions](#api-rest-api-3-permissions-get).
|
|
623
|
+
* * custom project permission added by Connect apps.
|
|
624
|
+
* * (deprecated) one of the following:
|
|
625
|
+
*
|
|
626
|
+
* * ASSIGNABLE\_USER
|
|
627
|
+
* * ASSIGN\_ISSUE
|
|
628
|
+
* * ATTACHMENT\_DELETE\_ALL
|
|
629
|
+
* * ATTACHMENT\_DELETE\_OWN
|
|
630
|
+
* * BROWSE
|
|
631
|
+
* * CLOSE\_ISSUE
|
|
632
|
+
* * COMMENT\_DELETE\_ALL
|
|
633
|
+
* * COMMENT\_DELETE\_OWN
|
|
634
|
+
* * COMMENT\_EDIT\_ALL
|
|
635
|
+
* * COMMENT\_EDIT\_OWN
|
|
636
|
+
* * COMMENT\_ISSUE
|
|
637
|
+
* * CREATE\_ATTACHMENT
|
|
638
|
+
* * CREATE\_ISSUE
|
|
639
|
+
* * DELETE\_ISSUE
|
|
640
|
+
* * EDIT\_ISSUE
|
|
641
|
+
* * LINK\_ISSUE
|
|
642
|
+
* * MANAGE\_WATCHER\_LIST
|
|
643
|
+
* * MODIFY\_REPORTER
|
|
644
|
+
* * MOVE\_ISSUE
|
|
645
|
+
* * PROJECT\_ADMIN
|
|
646
|
+
* * RESOLVE\_ISSUE
|
|
647
|
+
* * SCHEDULE\_ISSUE
|
|
648
|
+
* * SET\_ISSUE\_SECURITY
|
|
649
|
+
* * TRANSITION\_ISSUE
|
|
650
|
+
* * VIEW\_VERSION\_CONTROL
|
|
651
|
+
* * VIEW\_VOTERS\_AND\_WATCHERS
|
|
652
|
+
* * VIEW\_WORKFLOW\_READONLY
|
|
653
|
+
* * WORKLOG\_DELETE\_ALL
|
|
654
|
+
* * WORKLOG\_DELETE\_OWN
|
|
655
|
+
* * WORKLOG\_EDIT\_ALL
|
|
656
|
+
* * WORKLOG\_EDIT\_OWN
|
|
657
|
+
* * WORK\_ISSUE
|
|
658
|
+
*/
|
|
659
|
+
permissions: string;
|
|
660
|
+
/** The issue key for the issue. */
|
|
661
|
+
issueKey?: string;
|
|
662
|
+
/** The project key for the project (case sensitive). */
|
|
663
|
+
projectKey?: string;
|
|
664
|
+
/** The index of the first item to return in a page of results (page offset). */
|
|
665
|
+
startAt?: number;
|
|
666
|
+
/** The maximum number of items to return per page. */
|
|
667
|
+
maxResults?: number;
|
|
668
|
+
}): Promise<User[]>;
|
|
669
|
+
/**
|
|
670
|
+
* Returns a list of users who fulfill these criteria:
|
|
671
|
+
*
|
|
672
|
+
* * their user attributes match a search string.
|
|
673
|
+
* * they have permission to browse issues.
|
|
674
|
+
*
|
|
675
|
+
* Use this resource to find users who can browse:
|
|
676
|
+
*
|
|
677
|
+
* * an issue, by providing the `issueKey`.
|
|
678
|
+
* * any issue in a project, by providing the `projectKey`.
|
|
679
|
+
*
|
|
680
|
+
* This operation takes the users in the range defined by `startAt` and
|
|
681
|
+
* `maxResults`, up to the thousandth user, and then returns only the users from
|
|
682
|
+
* that range that match the search string and have permission to browse issues.
|
|
683
|
+
* This means the operation usually returns fewer users than specified in
|
|
684
|
+
* `maxResults`. To get all the users who match the search string and have
|
|
685
|
+
* permission to browse issues, use [Get all
|
|
686
|
+
* users](#api-rest-api-3-users-search-get) and filter the records in your code.
|
|
687
|
+
*
|
|
688
|
+
* Privacy controls are applied to the response based on the users' preferences.
|
|
689
|
+
* This could mean, for example, that the user's email address is hidden. See the
|
|
690
|
+
* [Profile visibility
|
|
691
|
+
* overview](https://developer.atlassian.com/cloud/jira/platform/profile-visibility/)
|
|
692
|
+
* for more details.
|
|
693
|
+
*
|
|
694
|
+
* This operation can be accessed anonymously.
|
|
695
|
+
*
|
|
696
|
+
* **[Permissions](#permissions) required:** *Browse users and groups* [global
|
|
697
|
+
* permission](https://confluence.atlassian.com/x/x4dKLg). Anonymous calls and
|
|
698
|
+
* calls by users without the required permission return empty search results.
|
|
699
|
+
*
|
|
700
|
+
* @returns Returned if the request is successful.
|
|
701
|
+
*
|
|
702
|
+
* example: [
|
|
703
|
+
* {
|
|
704
|
+
* "accountId": "5b10a2844c20165700ede21g",
|
|
705
|
+
* "accountType": "atlassian",
|
|
706
|
+
* "active": false,
|
|
707
|
+
* "avatarUrls": {
|
|
708
|
+
* "16x16":
|
|
709
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=16&s=16",
|
|
710
|
+
* "24x24":
|
|
711
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=24&s=24",
|
|
712
|
+
* "32x32":
|
|
713
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=32&s=32",
|
|
714
|
+
* "48x48":
|
|
715
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/MK-5.png?size=48&s=48"
|
|
716
|
+
* },
|
|
717
|
+
* "displayName": "Mia Krystof",
|
|
718
|
+
* "key": "",
|
|
719
|
+
* "name": "",
|
|
720
|
+
* "self":
|
|
721
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g"
|
|
722
|
+
* },
|
|
723
|
+
* {
|
|
724
|
+
* "accountId": "5b10ac8d82e05b22cc7d4ef5",
|
|
725
|
+
* "accountType": "atlassian",
|
|
726
|
+
* "active": false,
|
|
727
|
+
* "avatarUrls": {
|
|
728
|
+
* "16x16":
|
|
729
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=16&s=16",
|
|
730
|
+
* "24x24":
|
|
731
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=24&s=24",
|
|
732
|
+
* "32x32":
|
|
733
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=32&s=32",
|
|
734
|
+
* "48x48":
|
|
735
|
+
* "https://avatar-management--avatars.server-location.prod.public.atl-paas.net/initials/AA-3.png?size=48&s=48"
|
|
736
|
+
* },
|
|
737
|
+
* "displayName": "Emma Richards",
|
|
738
|
+
* "key": "",
|
|
739
|
+
* "name": "",
|
|
740
|
+
* "self":
|
|
741
|
+
* "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10ac8d82e05b22cc7d4ef5"
|
|
742
|
+
* }
|
|
743
|
+
* ]
|
|
744
|
+
* @path {GET} /rest/api/3/user/viewissue/search
|
|
745
|
+
* @scopes-current read:jira-user
|
|
746
|
+
* @scopes-beta read:issue:jira, read:project:jira, read:user:jira, read:application-role:jira,
|
|
747
|
+
* read:avatar:jira, read:group:jira
|
|
748
|
+
*/
|
|
749
|
+
findUsersWithBrowsePermission({ query, username, accountId, issueKey, projectKey, startAt, maxResults, }: {
|
|
750
|
+
/**
|
|
751
|
+
* A query string that is matched against user attributes, such as `displayName`
|
|
752
|
+
* and `emailAddress`, to find relevant users. The string can match the prefix of
|
|
753
|
+
* the attribute's value. For example, *query=john* matches a user with a
|
|
754
|
+
* `displayName` of *John Smith* and a user with an `emailAddress` of
|
|
755
|
+
* *johnson@example.com*. Required, unless `accountId` is specified.
|
|
756
|
+
*/
|
|
757
|
+
query?: string;
|
|
758
|
+
/**
|
|
759
|
+
* This parameter is no longer available. See the [deprecation
|
|
760
|
+
* notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/)
|
|
761
|
+
* for details.
|
|
762
|
+
*/
|
|
763
|
+
username?: string;
|
|
764
|
+
/**
|
|
765
|
+
* A query string that is matched exactly against user `accountId`. Required,
|
|
766
|
+
* unless `query` is specified.
|
|
767
|
+
*/
|
|
768
|
+
accountId?: string;
|
|
769
|
+
/** The issue key for the issue. Required, unless `projectKey` is specified. */
|
|
770
|
+
issueKey?: string;
|
|
771
|
+
/**
|
|
772
|
+
* The project key for the project (case sensitive). Required, unless `issueKey`
|
|
773
|
+
* is specified.
|
|
774
|
+
*/
|
|
775
|
+
projectKey?: string;
|
|
776
|
+
/** The index of the first item to return in a page of results (page offset). */
|
|
777
|
+
startAt?: number;
|
|
778
|
+
/** The maximum number of items to return per page. */
|
|
779
|
+
maxResults?: number;
|
|
780
|
+
}): Promise<User[]>;
|
|
781
|
+
static initialize(): void;
|
|
782
|
+
}
|