@thestarware/atlascli-jira 1.2.2 → 1.2.4
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/lib/commands/announcement-banner/get.js +1 -1
- package/lib/commands/announcement-banner/update.js +1 -1
- package/lib/commands/application-role/get-all.js +2 -2
- package/lib/commands/application-role/get.js +1 -1
- package/lib/commands/application-role/update.js +1 -1
- package/lib/commands/attachment/add.js +1 -1
- package/lib/commands/attachment/delete.js +1 -1
- package/lib/commands/attachment/get-content.js +1 -1
- package/lib/commands/attachment/get-jira-settings.js +1 -1
- package/lib/commands/attachment/get-metadata-for-zip.js +1 -1
- package/lib/commands/attachment/get-metadata.js +1 -1
- package/lib/commands/attachment/get-thumbnails.js +1 -1
- package/lib/commands/audit-record/get-associated.js +1 -1
- package/lib/commands/audit-record/get-changed.js +1 -1
- package/lib/commands/avatar/delete-universal-avatar.js +1 -1
- package/lib/commands/avatar/delete-user-avatar.js +1 -1
- package/lib/commands/avatar/get-all-user-avatar.js +1 -1
- package/lib/commands/avatar/get-image-by-id.js +1 -1
- package/lib/commands/avatar/get-image-by-owner.js +1 -1
- package/lib/commands/avatar/get-image-by-type.js +1 -1
- package/lib/commands/avatar/get-system-avatars.js +1 -1
- package/lib/commands/avatar/get-universal-avatars.js +1 -1
- package/lib/commands/avatar/set-user-avatar.js +1 -1
- package/lib/commands/avatar/upload-universal-avatar.js +1 -1
- package/lib/commands/avatar/upload-user-avatar.js +1 -1
- package/lib/commands/comment/add.js +1 -1
- package/lib/commands/comment/delete.js +1 -1
- package/lib/commands/comment/get-for-issue.js +1 -1
- package/lib/commands/comment/get-with-ids.js +1 -1
- package/lib/commands/comment/get.js +1 -1
- package/lib/commands/comment/update.js +1 -1
- package/lib/commands/comment-property/delete-property.js +1 -1
- package/lib/commands/comment-property/get-property-keys.js +1 -1
- package/lib/commands/comment-property/get-property.js +1 -1
- package/lib/commands/comment-property/set-property.js +1 -1
- package/lib/commands/config/add.js +1 -1
- package/lib/commands/config/delete.js +1 -1
- package/lib/commands/config/get-default.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set-default.js +1 -1
- package/lib/commands/dashboard/add-edit-permission.js +1 -1
- package/lib/commands/dashboard/add-share-permission.js +1 -1
- package/lib/commands/dashboard/copy.js +1 -1
- package/lib/commands/dashboard/create.js +1 -1
- package/lib/commands/dashboard/delete.js +1 -1
- package/lib/commands/dashboard/get-all.js +1 -1
- package/lib/commands/dashboard/get-permissions.js +1 -1
- package/lib/commands/dashboard/get.js +1 -1
- package/lib/commands/dashboard/search.js +1 -1
- package/lib/commands/dashboard/update.js +1 -1
- package/lib/commands/dashboard-gadget/add.js +1 -1
- package/lib/commands/dashboard-gadget/get-availables.js +1 -1
- package/lib/commands/dashboard-gadget/remove.js +1 -1
- package/lib/commands/dashboard-gadget/search.js +1 -1
- package/lib/commands/dashboard-gadget/update.js +1 -1
- package/lib/commands/dashboard-item-property/delete.js +1 -1
- package/lib/commands/dashboard-item-property/get-keys.js +1 -1
- package/lib/commands/dashboard-item-property/get.js +1 -1
- package/lib/commands/dashboard-item-property/set.js +1 -1
- package/lib/commands/filter/add-favourite.js +1 -1
- package/lib/commands/filter/change-owner.js +1 -1
- package/lib/commands/filter/create.js +1 -1
- package/lib/commands/filter/delete.js +1 -1
- package/lib/commands/filter/get-columns.js +1 -1
- package/lib/commands/filter/get-details.js +1 -1
- package/lib/commands/filter/get-favourites.js +1 -1
- package/lib/commands/filter/get-my.js +1 -1
- package/lib/commands/filter/get.js +1 -1
- package/lib/commands/filter/remove-favourite.js +1 -1
- package/lib/commands/filter/reset-columns.js +1 -1
- package/lib/commands/filter/search.js +1 -1
- package/lib/commands/filter/set-columns.js +1 -1
- package/lib/commands/filter/update.js +1 -1
- package/lib/commands/filter-sharing/add-edit-permission.js +1 -1
- package/lib/commands/filter-sharing/add-share-permission.js +1 -1
- package/lib/commands/filter-sharing/delete-permission.js +1 -1
- package/lib/commands/filter-sharing/get-default-scope.js +1 -1
- package/lib/commands/filter-sharing/get-edit-permissions.js +1 -1
- package/lib/commands/filter-sharing/get-permission.js +1 -1
- package/lib/commands/filter-sharing/get-share-permissions.js +1 -1
- package/lib/commands/filter-sharing/set-default-scope.js +1 -1
- package/lib/commands/group/add-user.js +1 -1
- package/lib/commands/group/create.js +1 -1
- package/lib/commands/group/find-groups.js +1 -1
- package/lib/commands/group/get-all.js +1 -1
- package/lib/commands/group/get-users.js +1 -1
- package/lib/commands/group/get.js +1 -1
- package/lib/commands/group/remove-user.js +1 -1
- package/lib/commands/group/remove.js +1 -1
- package/lib/commands/group-and-user-picker/find-groups.js +1 -1
- package/lib/commands/group-and-user-picker/find-users.js +1 -1
- package/lib/commands/issue/archive.js +1 -1
- package/lib/commands/issue/assign.js +1 -1
- package/lib/commands/issue/create.js +1 -1
- package/lib/commands/issue/delete.js +1 -1
- package/lib/commands/issue/edit.js +1 -1
- package/lib/commands/issue/get-changelogs.js +1 -1
- package/lib/commands/issue/get-create-metadata.js +1 -1
- package/lib/commands/issue/get-edit-metadata.js +1 -1
- package/lib/commands/issue/get-events.js +1 -1
- package/lib/commands/issue/get-transitions.js +1 -1
- package/lib/commands/issue/get.js +1 -1
- package/lib/commands/issue/restore.js +1 -1
- package/lib/commands/issue/send-notifications.js +1 -1
- package/lib/commands/issue/transition.js +1 -1
- package/lib/commands/issue-field/create.js +1 -1
- package/lib/commands/issue-field/delete.js +1 -1
- package/lib/commands/issue-field/get-all.js +1 -1
- package/lib/commands/issue-field/move-trash.js +1 -1
- package/lib/commands/issue-field/restore-trash.js +1 -1
- package/lib/commands/issue-field/search-trash.js +1 -1
- package/lib/commands/issue-field/search.js +1 -1
- package/lib/commands/issue-field/update.js +1 -1
- package/lib/commands/issue-field-configuration/assign-issue-type.js +1 -1
- package/lib/commands/issue-field-configuration/assign-scheme-to-project.js +1 -1
- package/lib/commands/issue-field-configuration/create-scheme.js +1 -1
- package/lib/commands/issue-field-configuration/create.js +1 -1
- package/lib/commands/issue-field-configuration/delete-scheme.js +1 -1
- package/lib/commands/issue-field-configuration/delete.js +1 -1
- package/lib/commands/issue-field-configuration/get-all-issue-type-items.js +1 -1
- package/lib/commands/issue-field-configuration/get-all-schemes.js +1 -1
- package/lib/commands/issue-field-configuration/get-all.js +1 -1
- package/lib/commands/issue-field-configuration/get-items.js +1 -1
- package/lib/commands/issue-field-configuration/get-project-schemes.js +1 -1
- package/lib/commands/issue-field-configuration/remove-issue-types.js +1 -1
- package/lib/commands/issue-field-configuration/update-items.js +1 -1
- package/lib/commands/issue-field-configuration/update-scheme.js +1 -1
- package/lib/commands/issue-field-configuration/update.js +1 -1
- package/lib/commands/issue-field-context/add-issue-types.js +1 -1
- package/lib/commands/issue-field-context/assign-to-projects.js +1 -1
- package/lib/commands/issue-field-context/create.js +1 -1
- package/lib/commands/issue-field-context/delete.js +1 -1
- package/lib/commands/issue-field-context/get-all.js +1 -1
- package/lib/commands/issue-field-context/get-contexts-for-projects-and-issue-types.js +1 -1
- package/lib/commands/issue-field-context/get-default-values.js +1 -1
- package/lib/commands/issue-field-context/get-issue-types.js +1 -1
- package/lib/commands/issue-field-context/get-project-mappings.js +1 -1
- package/lib/commands/issue-field-context/remove-from-projects.js +1 -1
- package/lib/commands/issue-field-context/remove-issue-types.js +1 -1
- package/lib/commands/issue-field-context/set-default-values.js +1 -1
- package/lib/commands/issue-field-context/update.js +1 -1
- package/lib/commands/issue-field-option/create-for-context.js +1 -1
- package/lib/commands/issue-field-option/delete-for-context.js +1 -1
- package/lib/commands/issue-field-option/get-for-context.js +1 -1
- package/lib/commands/issue-field-option/get.js +1 -1
- package/lib/commands/issue-field-option/reorder-for-context.js +1 -1
- package/lib/commands/issue-field-option/update-for-context.js +1 -1
- package/lib/commands/issue-link/create.js +1 -1
- package/lib/commands/issue-link/delete.js +1 -1
- package/lib/commands/issue-link/get.js +1 -1
- package/lib/commands/issue-link-type/create.js +1 -1
- package/lib/commands/issue-link-type/delete.js +1 -1
- package/lib/commands/issue-link-type/get-all.js +1 -1
- package/lib/commands/issue-link-type/get.js +1 -1
- package/lib/commands/issue-link-type/update.js +1 -1
- package/lib/commands/issue-navigator-setting/get-columns.js +1 -1
- package/lib/commands/issue-navigator-setting/set-columns.js +1 -1
- package/lib/commands/issue-priority/create.js +1 -1
- package/lib/commands/issue-priority/delete.js +1 -1
- package/lib/commands/issue-priority/move.js +1 -1
- package/lib/commands/issue-priority/search.js +1 -1
- package/lib/commands/issue-priority/set-default.js +1 -1
- package/lib/commands/issue-priority/update.js +1 -1
- package/lib/commands/issue-property/delete-bulk.js +1 -1
- package/lib/commands/issue-property/delete.js +1 -1
- package/lib/commands/issue-property/get-keys.js +1 -1
- package/lib/commands/issue-property/get.js +1 -1
- package/lib/commands/issue-property/set-bulk.js +1 -1
- package/lib/commands/issue-property/set-by-issue-bulk.js +1 -1
- package/lib/commands/issue-property/set-by-list-bulk.js +1 -1
- package/lib/commands/issue-property/set.js +1 -1
- package/lib/commands/issue-remote-link/create.js +1 -1
- package/lib/commands/issue-remote-link/delete-by-global-id.js +1 -1
- package/lib/commands/issue-remote-link/delete.js +1 -1
- package/lib/commands/issue-remote-link/get-all.js +1 -1
- package/lib/commands/issue-remote-link/get.js +1 -1
- package/lib/commands/issue-remote-link/update.js +1 -1
- package/lib/commands/issue-resolution/create.js +1 -1
- package/lib/commands/issue-resolution/delete.js +1 -1
- package/lib/commands/issue-resolution/get-all.js +1 -1
- package/lib/commands/issue-resolution/get.js +1 -1
- package/lib/commands/issue-resolution/move.js +1 -1
- package/lib/commands/issue-resolution/search.js +1 -1
- package/lib/commands/issue-resolution/set-default.js +1 -1
- package/lib/commands/issue-resolution/update.js +1 -1
- package/lib/commands/issue-search/get-picker-suggestions.js +1 -1
- package/lib/commands/issue-search/search.js +1 -1
- package/lib/commands/issue-search/test-jql.js +1 -1
- package/lib/commands/issue-security-level/get-members.js +1 -1
- package/lib/commands/issue-security-level/get.js +1 -1
- package/lib/commands/issue-security-scheme/associate-security-scheme.js +1 -1
- package/lib/commands/issue-security-scheme/get-all.js +1 -1
- package/lib/commands/issue-security-scheme/get-levels.js +1 -1
- package/lib/commands/issue-security-scheme/get.js +1 -1
- package/lib/commands/issue-type/create.js +1 -1
- package/lib/commands/issue-type/delete.js +1 -1
- package/lib/commands/issue-type/get-all-for-projects.js +1 -1
- package/lib/commands/issue-type/get-all.js +1 -1
- package/lib/commands/issue-type/get-alternatives.js +1 -1
- package/lib/commands/issue-type/get.js +1 -1
- package/lib/commands/issue-type/set-avatar.js +1 -1
- package/lib/commands/issue-type/update.js +1 -1
- package/lib/commands/issue-type/upload-avatar.js +1 -1
- package/lib/commands/issue-type-property/delete.js +1 -1
- package/lib/commands/issue-type-property/get-keys.js +1 -1
- package/lib/commands/issue-type-property/get.js +1 -1
- package/lib/commands/issue-type-property/set.js +1 -1
- package/lib/commands/issue-type-scheme/add-issue-types.js +1 -1
- package/lib/commands/issue-type-scheme/assign-to-project.js +1 -1
- package/lib/commands/issue-type-scheme/create.js +1 -1
- package/lib/commands/issue-type-scheme/delete.js +1 -1
- package/lib/commands/issue-type-scheme/get-for-projects.js +1 -1
- package/lib/commands/issue-type-scheme/get-issue-types.js +1 -1
- package/lib/commands/issue-type-scheme/get-mappings.js +1 -1
- package/lib/commands/issue-type-scheme/get-projects.js +1 -1
- package/lib/commands/issue-type-scheme/move-issue-types.js +1 -1
- package/lib/commands/issue-type-scheme/remove-all-projects.js +1 -1
- package/lib/commands/issue-type-scheme/remove-issue-type.js +1 -1
- package/lib/commands/issue-type-scheme/remove-project.js +1 -1
- package/lib/commands/issue-type-scheme/search.js +1 -1
- package/lib/commands/issue-type-scheme/set-projects.js +1 -1
- package/lib/commands/issue-type-scheme/update.js +1 -1
- package/lib/commands/issue-type-screen-scheme/add-mappings.js +1 -1
- package/lib/commands/issue-type-screen-scheme/assign-to-project.js +1 -1
- package/lib/commands/issue-type-screen-scheme/create.js +1 -1
- package/lib/commands/issue-type-screen-scheme/delete.js +1 -1
- package/lib/commands/issue-type-screen-scheme/get-for-projects.js +1 -1
- package/lib/commands/issue-type-screen-scheme/get-items.js +1 -1
- package/lib/commands/issue-type-screen-scheme/get-projects.js +1 -1
- package/lib/commands/issue-type-screen-scheme/remove-mappings.js +1 -1
- package/lib/commands/issue-type-screen-scheme/search.js +1 -1
- package/lib/commands/issue-type-screen-scheme/set-default-screen.js +1 -1
- package/lib/commands/issue-type-screen-scheme/update.js +1 -1
- package/lib/commands/issue-vote/add.js +1 -1
- package/lib/commands/issue-vote/delete.js +1 -1
- package/lib/commands/issue-vote/get-all.js +1 -1
- package/lib/commands/issue-watcher/add.js +1 -1
- package/lib/commands/issue-watcher/delete.js +1 -1
- package/lib/commands/issue-watcher/get-all.js +1 -1
- package/lib/commands/issue-watcher/get-bulk.js +1 -1
- package/lib/commands/jira-expression/analyse.js +1 -1
- package/lib/commands/jira-expression/evaluate.js +1 -1
- package/lib/commands/jira-settings/get-advanced.js +1 -1
- package/lib/commands/jira-settings/get-globals.js +1 -1
- package/lib/commands/jira-settings/get-properties.js +1 -1
- package/lib/commands/jira-settings/set-property.js +1 -1
- package/lib/commands/jql/convert-user-identifiers.js +1 -1
- package/lib/commands/jql/get-auto-complete-suggestions.js +1 -1
- package/lib/commands/jql/get-reference-data.js +1 -1
- package/lib/commands/jql/parse.js +1 -1
- package/lib/commands/jql/sanitize.js +1 -1
- package/lib/commands/label/get-all.js +1 -1
- package/lib/commands/license/get.js +1 -1
- package/lib/commands/myself/change-password.js +1 -1
- package/lib/commands/myself/delete-preference.js +1 -1
- package/lib/commands/myself/get-locale.js +1 -1
- package/lib/commands/myself/get-preference.js +1 -1
- package/lib/commands/myself/get.js +1 -1
- package/lib/commands/myself/set-preference.js +1 -1
- package/lib/commands/myself/update-user.js +1 -1
- package/lib/commands/notification-scheme/add.js +1 -1
- package/lib/commands/notification-scheme/create.js +1 -1
- package/lib/commands/notification-scheme/delete-notification.js +1 -1
- package/lib/commands/notification-scheme/delete.js +1 -1
- package/lib/commands/notification-scheme/get-all.js +1 -1
- package/lib/commands/notification-scheme/get-projects.js +1 -1
- package/lib/commands/notification-scheme/get.js +1 -1
- package/lib/commands/notification-scheme/update.js +1 -1
- package/lib/commands/permission/check-global-permission.js +1 -1
- package/lib/commands/permission/check-issue-permission.js +1 -1
- package/lib/commands/permission/check-project-permission.js +1 -1
- package/lib/commands/permission/get-all.js +1 -1
- package/lib/commands/permission/get-my.js +1 -1
- package/lib/commands/permission/get-permitted.js +1 -1
- package/lib/commands/permission-scheme/create-grant.js +1 -1
- package/lib/commands/permission-scheme/create-scheme.js +1 -1
- package/lib/commands/permission-scheme/delete-grant.js +1 -1
- package/lib/commands/permission-scheme/delete-scheme.js +1 -1
- package/lib/commands/permission-scheme/get-all-grants.js +1 -1
- package/lib/commands/permission-scheme/get-all.js +1 -1
- package/lib/commands/permission-scheme/get-grant.js +1 -1
- package/lib/commands/permission-scheme/get.js +1 -1
- package/lib/commands/project/archive.js +1 -1
- package/lib/commands/project/create.js +1 -1
- package/lib/commands/project/delete.js +1 -1
- package/lib/commands/project/get-all-issue-types.js +1 -1
- package/lib/commands/project/get-all.js +1 -1
- package/lib/commands/project/get-issue-type-hierarchy.js +1 -1
- package/lib/commands/project/get-notification-schema.js +1 -1
- package/lib/commands/project/get.js +1 -1
- package/lib/commands/project/project.js +1 -1
- package/lib/commands/project/restore.js +1 -1
- package/lib/commands/project/search.js +1 -1
- package/lib/commands/project/unarchive.js +1 -1
- package/lib/commands/project/update.js +1 -1
- package/lib/commands/project-avatar/delete.js +1 -1
- package/lib/commands/project-avatar/get-all.js +1 -1
- package/lib/commands/project-avatar/set.js +1 -1
- package/lib/commands/project-avatar/upload.js +1 -1
- package/lib/commands/project-category/create.js +1 -1
- package/lib/commands/project-category/delete.js +1 -1
- package/lib/commands/project-category/get-all.js +1 -1
- package/lib/commands/project-category/get.js +1 -1
- package/lib/commands/project-category/update.js +1 -1
- package/lib/commands/project-component/create.js +1 -1
- package/lib/commands/project-component/delete.js +1 -1
- package/lib/commands/project-component/get-all.js +1 -1
- package/lib/commands/project-component/get-issues-count.js +1 -1
- package/lib/commands/project-component/get.js +1 -1
- package/lib/commands/project-component/search.js +1 -1
- package/lib/commands/project-component/update.js +1 -1
- package/lib/commands/project-email/get-sender.js +1 -1
- package/lib/commands/project-email/set-sender.js +1 -1
- package/lib/commands/project-feature/get.js +1 -1
- package/lib/commands/project-feature/set.js +1 -1
- package/lib/commands/project-key-and-name-validation/get-valid-key.js +1 -1
- package/lib/commands/project-key-and-name-validation/get-valid-name.js +1 -1
- package/lib/commands/project-key-and-name-validation/validate-key.js +1 -1
- package/lib/commands/project-permission-scheme/get-issue-security-levels.js +1 -1
- package/lib/commands/project-permission-scheme/get-issue-security-scheme-levels.js +1 -1
- package/lib/commands/project-permission-scheme/get-issue-security-scheme.js +1 -1
- package/lib/commands/project-permission-scheme/get-permissions.js +1 -1
- package/lib/commands/project-permission-scheme/get.js +1 -1
- package/lib/commands/project-permission-scheme/set.js +1 -1
- package/lib/commands/project-property/delete.js +1 -1
- package/lib/commands/project-property/get-keys.js +1 -1
- package/lib/commands/project-property/get.js +1 -1
- package/lib/commands/project-property/set.js +1 -1
- package/lib/commands/project-role/create.js +1 -1
- package/lib/commands/project-role/delete.js +1 -1
- package/lib/commands/project-role/get-all.js +1 -1
- package/lib/commands/project-role/get-role.js +1 -1
- package/lib/commands/project-role/get-roles-and-details.js +1 -1
- package/lib/commands/project-role/get-roles.js +1 -1
- package/lib/commands/project-role/get.js +1 -1
- package/lib/commands/project-role/project-role.js +1 -1
- package/lib/commands/project-role/update-partial.js +1 -1
- package/lib/commands/project-role/update.js +1 -1
- package/lib/commands/project-role-actor/add-actors.js +1 -1
- package/lib/commands/project-role-actor/add-default-actors.js +1 -1
- package/lib/commands/project-role-actor/delete-actors.js +1 -1
- package/lib/commands/project-role-actor/delete-default-actors.js +1 -1
- package/lib/commands/project-role-actor/get.js +1 -1
- package/lib/commands/project-role-actor/set-actors.js +1 -1
- package/lib/commands/project-type/check-accessible.js +1 -1
- package/lib/commands/project-type/get-all.js +1 -1
- package/lib/commands/project-type/get-licensed.js +1 -1
- package/lib/commands/project-type/get.js +1 -1
- package/lib/commands/project-type/update.js +1 -1
- package/lib/commands/project-version/create.js +1 -1
- package/lib/commands/project-version/delete-and-replace.js +1 -1
- package/lib/commands/project-version/get-all.js +1 -1
- package/lib/commands/project-version/get-related-issue-count.js +1 -1
- package/lib/commands/project-version/get-unresolved-issue-count.js +1 -1
- package/lib/commands/project-version/get.js +1 -1
- package/lib/commands/project-version/merge.js +1 -1
- package/lib/commands/project-version/move.js +1 -1
- package/lib/commands/project-version/search.js +1 -1
- package/lib/commands/project-version/update.js +1 -1
- package/lib/commands/screen/add-field-to-default-screen.js +1 -1
- package/lib/commands/screen/create.js +1 -1
- package/lib/commands/screen/delete.js +1 -1
- package/lib/commands/screen/get-all.js +1 -1
- package/lib/commands/screen/get-available-fields.js +1 -1
- package/lib/commands/screen/get-field-screens.js +1 -1
- package/lib/commands/screen/get-workflows.js +1 -1
- package/lib/commands/screen/update.js +1 -1
- package/lib/commands/screen-scheme/create.js +1 -1
- package/lib/commands/screen-scheme/delete.js +1 -1
- package/lib/commands/screen-scheme/get-all.js +1 -1
- package/lib/commands/screen-scheme/update.js +1 -1
- package/lib/commands/screen-tab/create.js +1 -1
- package/lib/commands/screen-tab/delete.js +1 -1
- package/lib/commands/screen-tab/get-all.js +1 -1
- package/lib/commands/screen-tab/move.js +1 -1
- package/lib/commands/screen-tab/update.js +1 -1
- package/lib/commands/screen-tab-field/add.js +1 -1
- package/lib/commands/screen-tab-field/get-all.js +1 -1
- package/lib/commands/screen-tab-field/move.js +1 -1
- package/lib/commands/screen-tab-field/remove.js +1 -1
- package/lib/commands/server-info/get.js +1 -1
- package/lib/commands/server-info/jmx.js +1 -1
- package/lib/commands/status/create.js +1 -1
- package/lib/commands/status/delete.js +1 -1
- package/lib/commands/status/get-usages.js +1 -1
- package/lib/commands/status/get.js +1 -1
- package/lib/commands/status/search.js +1 -1
- package/lib/commands/status/status-command.js +1 -1
- package/lib/commands/status/update.js +1 -1
- package/lib/commands/task/cancel.js +1 -1
- package/lib/commands/task/get.js +1 -1
- package/lib/commands/time-tracking/get-all.js +1 -1
- package/lib/commands/time-tracking/get-setting.js +1 -1
- package/lib/commands/time-tracking/get.js +1 -1
- package/lib/commands/time-tracking/select.js +1 -1
- package/lib/commands/time-tracking/set.js +1 -1
- package/lib/commands/user/add-user-to-application.js +1 -1
- package/lib/commands/user/change-password.js +1 -1
- package/lib/commands/user/create.js +1 -1
- package/lib/commands/user/delete.js +1 -1
- package/lib/commands/user/get-all.js +1 -1
- package/lib/commands/user/get-default-columns.js +1 -1
- package/lib/commands/user/get-email.js +1 -1
- package/lib/commands/user/get-user-groups.js +1 -1
- package/lib/commands/user/get.js +1 -1
- package/lib/commands/user/remove-user-from-application.js +1 -1
- package/lib/commands/user/reset-default-columns.js +1 -1
- package/lib/commands/user/set-default-columns.js +1 -1
- package/lib/commands/user/update.js +1 -1
- package/lib/commands/user/user-command.js +1 -1
- package/lib/commands/user-property/delete.js +1 -1
- package/lib/commands/user-property/get-all-keys.js +1 -1
- package/lib/commands/user-property/get-user-property.js +1 -1
- package/lib/commands/user-property/set.js +1 -1
- package/lib/commands/user-search/accounts-with-query.js +1 -1
- package/lib/commands/user-search/assignable-users-bulk.js +1 -1
- package/lib/commands/user-search/assignable-users.js +1 -1
- package/lib/commands/user-search/find.js +1 -1
- package/lib/commands/user-search/with-permission.js +1 -1
- package/lib/commands/user-search/with-query.js +1 -1
- package/lib/commands/workflow/create.js +1 -1
- package/lib/commands/workflow/delete.js +1 -1
- package/lib/commands/workflow/get-projects.js +1 -1
- package/lib/commands/workflow/get-schemes.js +1 -1
- package/lib/commands/workflow/get-statuses-properties.js +1 -1
- package/lib/commands/workflow/get-statuses.js +1 -1
- package/lib/commands/workflow/get-transitions-rules.js +1 -1
- package/lib/commands/workflow/get-transitions.js +1 -1
- package/lib/commands/workflow/search.js +1 -1
- package/lib/commands/workflow-scheme/create.js +1 -1
- package/lib/commands/workflow-scheme/delete-default-workflow.js +1 -1
- package/lib/commands/workflow-scheme/delete-issue-types-for-workflow.js +1 -1
- package/lib/commands/workflow-scheme/delete-workflow-for-issue-type.js +1 -1
- package/lib/commands/workflow-scheme/delete.js +1 -1
- package/lib/commands/workflow-scheme/get-all.js +1 -1
- package/lib/commands/workflow-scheme/get-default-workflow.js +1 -1
- package/lib/commands/workflow-scheme/get-issue-types-for-workflows.js +1 -1
- package/lib/commands/workflow-scheme/get-workflow-for-issue-type.js +1 -1
- package/lib/commands/workflow-scheme/get.js +1 -1
- package/lib/commands/workflow-scheme/set-issue-types-for-workflow.js +1 -1
- package/lib/commands/workflow-scheme/set-workflow-for-issue-type.js +1 -1
- package/lib/commands/workflow-scheme/update-default-workflow.js +1 -1
- package/lib/commands/workflow-scheme/update.js +1 -1
- package/lib/commands/workflow-scheme-draft/create.js +1 -1
- package/lib/commands/workflow-scheme-draft/delete-default-workflow.js +1 -1
- package/lib/commands/workflow-scheme-draft/delete-issue-types-for-workflow.js +1 -1
- package/lib/commands/workflow-scheme-draft/delete-workflow-for-issue-type.js +1 -1
- package/lib/commands/workflow-scheme-draft/delete.js +1 -1
- package/lib/commands/workflow-scheme-draft/get-default-workflow.js +1 -1
- package/lib/commands/workflow-scheme-draft/get-issue-types-for-workflows.js +1 -1
- package/lib/commands/workflow-scheme-draft/get-workflow-for-issue-type.js +1 -1
- package/lib/commands/workflow-scheme-draft/get.js +1 -1
- package/lib/commands/workflow-scheme-draft/publish.js +1 -1
- package/lib/commands/workflow-scheme-draft/set-issue-types-for-workflow.js +1 -1
- package/lib/commands/workflow-scheme-draft/set-workflow-for-issue-type.js +1 -1
- package/lib/commands/workflow-scheme-draft/update-default-workflow.js +1 -1
- package/lib/commands/workflow-scheme-draft/update.js +1 -1
- package/lib/commands/workflow-scheme-project-association/assign.js +1 -1
- package/lib/commands/workflow-scheme-project-association/get-all.js +1 -1
- package/lib/commands/workflow-status/get-all.js +1 -1
- package/lib/commands/workflow-status/get.js +1 -1
- package/lib/commands/workflow-status-category/get-all.js +1 -1
- package/lib/commands/workflow-status-category/get.js +1 -1
- package/lib/commands/workflow-transition-property/create.js +1 -1
- package/lib/commands/workflow-transition-property/delete.js +1 -1
- package/lib/commands/workflow-transition-property/get.js +1 -1
- package/lib/commands/workflow-transition-property/update.js +1 -1
- package/lib/commands/worklog/add.js +1 -1
- package/lib/commands/worklog/delete.js +1 -1
- package/lib/commands/worklog/get-deleted.js +1 -1
- package/lib/commands/worklog/get-for-issue.js +1 -1
- package/lib/commands/worklog/get-updated.js +1 -1
- package/lib/commands/worklog/get-with-ids.js +1 -1
- package/lib/commands/worklog/get.js +1 -1
- package/lib/commands/worklog/update.js +1 -1
- package/lib/commands/worklog-property/delete.js +1 -1
- package/lib/commands/worklog-property/get-keys.js +1 -1
- package/lib/commands/worklog-property/get.js +1 -1
- package/lib/commands/worklog-property/set-property.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class DeleteIssueField extends atlascli_common_1.BaseCommandWithCloudOrServerSite{async runWithCloudSite(e,s){var i=(await this.parse(DeleteIssueField)).flags,t=(1<i.id.length&&this.error("You can only delete multiple custom field on the same request on Server/DC."),await s.fieldManager.deleteCustomField(i.id[0]));this.display(i,t),i.silent||await this.showProgressBar(t,s,"Deleting customfield...")}async runWithServerSite(e,s){var i=(await this.parse(DeleteIssueField)).flags,s=(i.silent&&this.error("Progress bar is available only for Cloud. Therefore you can not specify the silent flag."),await s.fieldManager.deleteCustomFields({ids:i.id}));this.log(s.message)}}(exports.default=DeleteIssueField).description="Deletes issue field. CLOUD ONLY -> This operation is asynchronous. You can use `jira task:get` command to obtain any updates.",DeleteIssueField.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"Field Id.",multiple:!0,required:!0}),silent:core_1.Flags.boolean({description:"If you activate this flag progress bar will not be shown."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let atlascli_common_1=require("@thestarware/atlascli-common"),mapper_utils_1=require("@thestarware/atlascli-common/lib/util/mapper-utils");class GetAll extends atlascli_common_1.CommandWithSite{async runWithSite(t){var e=(await this.parse(GetAll)).flags,a=await this.getJira(t,e).fieldManager.getFields();this.displayAlternativeForTable(e,a,a.map(e=>GetAll.convertFieldDetails(e,t.cloud)))}static convertFieldDetails(e,t){return Object.assign(Object.assign(Object.assign(Object.assign({},e),{clauseNames:e.clauseNames.join(",")}),(0,mapper_utils_1.withPrefix)(e.schema,"schema")),t?(0,mapper_utils_1.mapToScope)(e):{})}}(exports.default=GetAll).description="Returns system and custom issue fields.",GetAll.flags=Object.assign({},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class MoveTrash extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,a){var s=(await this.parse(MoveTrash)).flags;await a.fieldManager.moveToTrash(s.id)}}(exports.default=MoveTrash).description="Moves a issue field to trash.",MoveTrash.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"Field Id.",required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class RestoreTrash extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var a=(await this.parse(RestoreTrash)).flags;await s.fieldManager.restoreFromTrash(a.id)}}(exports.default=RestoreTrash).description="Restores a issue field from trash.",RestoreTrash.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"Field Id.",required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core"),mapper_utils_1=require("@thestarware/atlascli-common/lib/util/mapper-utils");class SearchTrash extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,a){var s=(await this.parse(SearchTrash)).flags,i=this.removeFlagsFromBase(s),t=i.all,i=tslib_1.__rest(i,["all"]),l=await a.fieldManager.getFieldsTrashPaginated(i);t&&(l.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(l,i,a.fieldManager.getFieldsTrashPaginated.bind(a.fieldManager))),this.displayAlternativeForTable(s,i,l.values.map(e=>Object.assign(Object.assign({},e),(0,mapper_utils_1.withPrefix)(e.schema,"schema"))))}}(exports.default=SearchTrash).description="Searchs for issue fields which are in the trash. This command is only applicable to Jira Cloud",SearchTrash.flags=Object.assign(Object.assign(Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({description:"Field Id",multiple:!0})}),(0,atlascli_common_1.getSearchFlags)()),{orderBy:core_1.Flags.string({description:"",options:["name","trashedDate","plannedDeletionDate"]}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core"),mapper_utils_1=require("@thestarware/atlascli-common/lib/util/mapper-utils");class Search extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,a){var s=(await this.parse(Search)).flags,t=this.removeFlagsFromBase(s),i=t.all,t=tslib_1.__rest(t,["all"]),l=await a.fieldManager.getFieldsPaginated(t);i&&(l.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(l,t,a.fieldManager.getFieldsPaginated.bind(a.fieldManager))),this.displayAlternativeForTable(s,l,l.values.map(e=>Object.assign(Object.assign({},e),(0,mapper_utils_1.withPrefix)(e.schema,"schema"))))}}(exports.default=Search).description="Searchs for custom fields. This command is only applicable to Jira Cloud",Search.flags=Object.assign(Object.assign(Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"Field Id",multiple:!0}),type:core_1.Flags.string({description:"Type of custom field",multiple:!0,options:["system","custom"]})}),(0,atlascli_common_1.getSearchFlags)()),{orderBy:core_1.Flags.string({description:"",options:["name","contextsCount","lastUsed","screensCount"]}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core");class Update extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var s=(await this.parse(Update)).flags,t=s.id,s=tslib_1.__rest(s,["id"]);await i.fieldManager.updateIssueField(t,s)}}(exports.default=Update).description="Updates a custom field.",Update.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"Field Id.",required:!0}),name:core_1.Flags.string({description:"The name of the custom field, which is displayed in Jira. This is not the unique identifier."}),searcherKey:core_1.Flags.string({description:"The searcher defines the way the field is searched in Jira. Get more details:\nhttps://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-fields/#api-rest-api-3-field-fieldid-put"}),description:core_1.Flags.string({description:"The description of the custom field, which is displayed in Jira."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class AssingIssueType extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var i=(await this.parse(AssingIssueType)).flags,i=this.removeFlagsFromBase(i),t=i.schemeId,i=tslib_1.__rest(i,["schemeId"]);await s.fieldConfigurationManager.assingIssueType(t,{mappings:[i]})}}(exports.default=AssingIssueType).description="Assigns issue types to field configurations on field configuration scheme.",AssingIssueType.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{issueTypeId:core_1.Flags.string({description:"The ID of the issue type or default. When set to default this field configuration issue type item applies to all issue types without a field configuration.",required:!0}),schemeId:core_1.Flags.string({description:"The ID of the field configuration scheme.",required:!0}),fieldConfigurationId:core_1.Flags.string({description:"The ID of the field configuration.",required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class AssignFieldConfigScheme extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var t=(await this.parse(AssignFieldConfigScheme)).flags,t=this.removeFlagsFromBase(t);t.projectId=(await(0,project_util_1.getProject)(i,t.project)).projectId,delete t.project,await i.fieldConfigurationManager.assignFieldConfigSchemeToProject(t)}}(exports.default=AssignFieldConfigScheme).description="Assings field configuration scheme to a project.",AssignFieldConfigScheme.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{project:core_1.Flags.string({char:"p",description:"Project Id or key.",required:!0}),fieldConfigurationSchemeId:core_1.Flags.string({description:"The ID of the field configuration scheme. If the field configuration scheme ID is null, the operation assigns the default field configuration scheme."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class CreateFieldConfigScheme extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var a=(await this.parse(CreateFieldConfigScheme)).flags,t=this.removeFlagsFromBase(a),i=await i.fieldConfigurationManager.createScheme(t);this.display(a,i)}}(exports.default=CreateFieldConfigScheme).description="Creates a field configuration scheme.",CreateFieldConfigScheme.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{name:core_1.Flags.string({char:"n",description:"The name of the field configuration. Must be unique.",required:!0}),description:core_1.Flags.string({description:"The description of the field configuration scheme."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class CreateFieldConfig extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var a=(await this.parse(CreateFieldConfig)).flags,t=this.removeFlagsFromBase(a),i=await i.fieldConfigurationManager.create(t);this.display(a,i)}}(exports.default=CreateFieldConfig).description="Creates an issue field configuration.",CreateFieldConfig.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{name:core_1.Flags.string({char:"n",description:"The name of the field configuration. Must be unique.",required:!0}),description:core_1.Flags.string({description:"The description of the field configuration."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class DeleteFieldConfigScheme extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var t=(await this.parse(DeleteFieldConfigScheme)).flags;await i.fieldConfigurationManager.deleteScheme(t.schemeId)}}(exports.default=DeleteFieldConfigScheme).description="Deletes an issue field configuration scheme.",DeleteFieldConfigScheme.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{schemeId:core_1.Flags.string({char:"i",description:"The ID of the field configuration scheme.",required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class DeleteFieldConfig extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var t=(await this.parse(DeleteFieldConfig)).flags;await i.fieldConfigurationManager.delete(t.id)}}(exports.default=DeleteFieldConfig).description="Deletes an issue field configuration.",DeleteFieldConfig.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"The ID of the field configuration.",required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetAllIssueTypeItems extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var t=(await this.parse(GetAllIssueTypeItems)).flags,a=this.removeFlagsFromBase(t),i=a.all,a=tslib_1.__rest(a,["all"]),l=await s.fieldConfigurationManager.getAllIssueTypeItems(a);i&&(l.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(l,a,s.fieldConfigurationManager.getAllIssueTypeItems.bind(s.fieldConfigurationManager))),this.display(t,l.values)}}(exports.default=GetAllIssueTypeItems).description="Gets all field configuration issue type items.",GetAllIssueTypeItems.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldConfigurationSchemeId:core_1.Flags.string({char:"i",description:"The list of field configuration scheme IDs.",multiple:!0}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return."}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetAllSchemes extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var s=(await this.parse(GetAllSchemes)).flags,a=this.removeFlagsFromBase(s),l=a.all,a=tslib_1.__rest(a,["all"]),i=await t.fieldConfigurationManager.getAllSchemes(a);l&&(i.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(i,a,t.fieldConfigurationManager.getAllSchemes.bind(t.fieldConfigurationManager))),this.display(s,i.values)}}(exports.default=GetAllSchemes).description="Gets all field configuration schemes.",GetAllSchemes.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"The list of field configuration IDs. You can provide multiple IDs.",multiple:!0}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return."}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetAllIssueFieldConfig extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var s=(await this.parse(GetAllIssueFieldConfig)).flags,t=this.removeFlagsFromBase(s),a=t.all,t=tslib_1.__rest(t,["all"]),l=await i.fieldConfigurationManager.getAll(t);a&&(l.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(l,t,i.fieldConfigurationManager.getAll.bind(i.fieldConfigurationManager))),this.display(s,l.values)}}(exports.default=GetAllIssueFieldConfig).description="Gets all issue field configurations.",GetAllIssueFieldConfig.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"The list of field configuration IDs. You can provide multiple IDs.",multiple:!0}),query:core_1.Flags.string({char:"q",description:"The query string used to match against field configuration names and descriptions."}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return."}),isDefault:core_1.Flags.boolean({description:"If true returns default field configurations only."}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetIssueFieldConfigItems extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var i=(await this.parse(GetIssueFieldConfigItems)).flags,s=this.removeFlagsFromBase(i),{id:a,all:l}=s,s=tslib_1.__rest(s,["id","all"]),o=await t.fieldConfigurationManager.getItems(a,s);l&&(o.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(o,s,t.fieldConfigurationManager.getItems.bind(t.fieldConfigurationManager,a))),this.display(i,o.values)}}(exports.default=GetIssueFieldConfigItems).description="Gets all fields for a configuration.",GetIssueFieldConfigItems.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"The list of field configuration IDs. You can provide multiple IDs.",multiple:!0}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return.",required:!1}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class GetProjectSchemes extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var i=(await this.parse(GetProjectSchemes)).flags,o=this.removeFlagsFromBase(i),r=o.all,o=tslib_1.__rest(o,["all"]),a=await(0,project_util_1.getProject)(t,o.project),a=(o.projectId=a.projectId,delete o.project,await t.fieldConfigurationManager.getProjectSchemes(o));r&&(a.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(a,o,t.fieldConfigurationManager.getProjectSchemes.bind(t.fieldConfigurationManager))),this.display(i,this.fieldConfigAndProjectMapper(a.values))}fieldConfigAndProjectMapper(e){let i=[];return e.forEach(t=>{t.projectIds.forEach(e=>{i.push({projectId:e,SchemeId:t.fieldConfigurationScheme?t.fieldConfigurationScheme.id:"",SchemeName:t.fieldConfigurationScheme?t.fieldConfigurationScheme.name:"",Description:t.fieldConfigurationScheme?t.fieldConfigurationScheme.description:""})})}),i}}(exports.default=GetProjectSchemes).description="Gets field configuration schemes and, for each scheme, a list of the projects that use it.",GetProjectSchemes.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{project:core_1.Flags.string({char:"p",description:"The list of project Ids or keys. You can provide multiple IDs or keys. ",multiple:!0}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return."}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class RemoveIssueType extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var i=(await this.parse(RemoveIssueType)).flags,i=this.removeFlagsFromBase(i),t=i.schemeId,i=tslib_1.__rest(i,["schemeId"]);await s.fieldConfigurationManager.removeIssueTypes(t,i)}}(exports.default=RemoveIssueType).description="Removes issue types from field configurations on field configuration scheme.",RemoveIssueType.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{issueTypeIds:core_1.Flags.string({description:"The list of issue type IDs. Must contain unique values not longer than 255 characters and not be empty. Maximum of 100 IDs.",multiple:!0,required:!0}),schemeId:core_1.Flags.string({description:"The ID of the field configuration scheme.",required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class UpdateFieldConfigItems extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var t=(await this.parse(UpdateFieldConfigItems)).flags,[t,o]=this.modifyFlags(t);await i.fieldConfigurationManager.updateItems(t,o)}modifyFlags(e){var e=this.removeFlagsFromBase(e),i=e.configID,e=tslib_1.__rest(e,["configID"]);return e.id=e.fieldID,delete e.fieldID,[i,{fieldConfigurationItems:[e]}]}}(exports.default=UpdateFieldConfigItems).description="Updates fields in a field configuration. The properties of the field configuration fields provided override the existing values.",UpdateFieldConfigItems.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{configID:core_1.Flags.string({char:"i",description:"The ID of the field configuration.",required:!0}),fieldID:core_1.Flags.string({description:"The ID of the issue field.",required:!0}),isHidden:core_1.Flags.boolean({description:"Whether the field is hidden in the field configuration."}),isRequired:core_1.Flags.boolean({description:"Whether the field is required in the field configuration."}),description:core_1.Flags.string({description:"The description of the field configuration."}),renderer:core_1.Flags.string({description:"The renderer type for the field within the field configuration."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class UpdateFieldConfigScheme extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var t=(await this.parse(UpdateFieldConfigScheme)).flags,t=this.removeFlagsFromBase(t),a=t.schemeId,t=tslib_1.__rest(t,["schemeId"]);await i.fieldConfigurationManager.updateScheme(a,t)}}(exports.default=UpdateFieldConfigScheme).description="Updates a field configuration scheme.",UpdateFieldConfigScheme.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{schemeId:core_1.Flags.string({char:"i",description:"The ID of the field configuration scheme.",required:!0}),name:core_1.Flags.string({char:"n",description:"The name of the field configuration. Must be unique."}),description:core_1.Flags.string({description:"The description of the field configuration scheme."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class UpdateFieldConfig extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var t=(await this.parse(UpdateFieldConfig)).flags,t=this.removeFlagsFromBase(t),a=t.id,t=tslib_1.__rest(t,["id"]);await i.fieldConfigurationManager.update(a,t)}}(exports.default=UpdateFieldConfig).description="Updates an issue field configurations.",UpdateFieldConfig.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{id:core_1.Flags.string({char:"i",description:"The ID of the field configuration.",required:!0}),name:core_1.Flags.string({char:"n",description:"The name of the field configuration. Must be unique."}),description:core_1.Flags.string({description:"The description of the field configuration."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class AddIssueTypes extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var t=(await this.parse(AddIssueTypes)).flags,t=this.removeFlagsFromBase(t),{fieldId:i,contextId:d}=t,t=tslib_1.__rest(t,["fieldId","contextId"]);await s.fieldContextManager.addIssueTypes(i,d,t)}}(exports.default=AddIssueTypes).description="Adds issue types to a custom field context, appending the issue types to the issue types list.",AddIssueTypes.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"TThe ID of the context.",required:!0}),issueTypeIds:core_1.Flags.string({description:"The list of issue type IDs.",multiple:!0,required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class AssignContextToProjects extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var o=(await this.parse(AssignContextToProjects)).flags,o=this.removeFlagsFromBase(o),{fieldId:s,contextId:i}=o,o=tslib_1.__rest(o,["fieldId","contextId"]),r=await(0,project_util_1.getProject)(t,o.project);o.projectIds=r.projectId,delete o.project,await t.fieldContextManager.assignContextToProjects(s,i,o)}}(exports.default=AssignContextToProjects).description="Assigns a custom field context to projects.",AssignContextToProjects.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context.",required:!0}),project:core_1.Flags.string({description:"The list of project IDs or keys.",multiple:!0,required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class CreateFieldContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var i=(await this.parse(CreateFieldContext)).flags,s=this.removeFlagsFromBase(i),o=s.fieldId,s=tslib_1.__rest(s,["fieldId"]),r=await(0,project_util_1.getProject)(t,s.project),r=(s.projectId=r.projectId,delete s.project,await t.fieldContextManager.create(o,s));this.display(i,r)}}(exports.default=CreateFieldContext).description="Creates an issue field context. If projectIds is empty, a global context is created. A global context is one that applies to all project. If issueTypeIds is empty, the context applies to all issue types.",CreateFieldContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({char:"i",description:"The ID of the custom field.",required:!0}),name:core_1.Flags.string({char:"n",description:"The name of the field context. Must be unique.",required:!0}),description:core_1.Flags.string({description:"The description of the field context."}),project:core_1.Flags.string({char:"p",description:"The list of project IDs or keys associated with the context. If the list is empty, the context is global.",multiple:!0}),issueTypeIds:core_1.Flags.string({description:"The list of issue types IDs for the context. If the list is empty, the context refers to all issue types.",multiple:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class DeleteFieldContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var i=(await this.parse(DeleteFieldContext)).flags;await t.fieldContextManager.delete(i.fieldId,i.contextId)}}(exports.default=DeleteFieldContext).description="Deletes an issue field context.",DeleteFieldContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context.",required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class IssueFieldContextGetAll extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var s=(await this.parse(IssueFieldContextGetAll)).flags,l=this.removeFlagsFromBase(s),{fieldId:a,all:o}=l,l=tslib_1.__rest(l,["fieldId","all"]),i=await t.fieldContextManager.getContexts(a,l);o&&(i.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(i,l,t.fieldContextManager.getContexts.bind(t.fieldContextManager,a))),this.display(s,i.values)}}(exports.default=IssueFieldContextGetAll).description="Gets all issue field contexts.",IssueFieldContextGetAll.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({char:"i",description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The list of context IDs. You can provide multiple IDs.",multiple:!0}),isAnyIssueType:core_1.Flags.boolean({description:"Whether to return contexts that apply to all issue types."}),isGlobalContext:core_1.Flags.boolean({description:"Whether to return contexts that apply to all projects."}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return."}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetDefaultValueContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var s=(await this.parse(GetDefaultValueContext)).flags,a=this.removeFlagsFromBase(s),i=a.fieldId,a=tslib_1.__rest(a,["fieldId"]),t=await t.fieldContextManager.getContextsForProjectsAndIssueTypes(i,{startAt:a.startAt,maxResults:a.maxResults},{mappings:(0,atlascli_common_1.commaSeperatedListOfKeyValuePairsToJsonObjectArrayMapper)(a.mappings,"mappings",["issueTypeId","projectId"])});this.display(s,t.values)}}(exports.default=GetDefaultValueContext).description="Gets project and issue type mappings and, for each mapping, the ID of a custom field context that applies to the project and issue type.",GetDefaultValueContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({char:"i",description:"The ID of the custom field.",required:!0}),mappings:core_1.Flags.string({description:"The project and issue type mappings. Example use case: --mappings=projectId=10000,issueTypeId=10000",multiple:!0,required:!0}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetDefaultValueContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var a=(await this.parse(GetDefaultValueContext)).flags,l=this.removeFlagsFromBase(a),{fieldId:s,all:i}=l,l=tslib_1.__rest(l,["fieldId","all"]),o=await t.fieldContextManager.getContextsDefaultValue(s,l);i&&(o.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(o,l,t.fieldContextManager.getContextsDefaultValue.bind(t.fieldContextManager,s))),this.display(a,o.values)}}(exports.default=GetDefaultValueContext).description="Gets defaults for a custom field. The results can be filtered by contextId, otherwise all values are returned. If no defaults are set for a context, nothing is returned.",GetDefaultValueContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({char:"i",description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The list of context IDs. You can provide multiple IDs.",multiple:!0}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return."}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetIssueTypes extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var s=(await this.parse(GetIssueTypes)).flags,a=this.removeFlagsFromBase(s),{fieldId:i,all:l}=a,a=tslib_1.__rest(a,["fieldId","all"]),o=await t.fieldContextManager.getIssueTypes(i,a);l&&(o.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(o,a,t.fieldContextManager.getIssueTypes.bind(t.fieldContextManager,i))),this.display(s,o.values)}}(exports.default=GetIssueTypes).description="Gets list of context to issue type mappings for a custom field. The result can be filtered by contextId",GetIssueTypes.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({char:"i",description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The list of context IDs. You can provide multiple IDs.",multiple:!0}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return."}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetProjectMappings extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var s=(await this.parse(GetProjectMappings)).flags,a=this.removeFlagsFromBase(s),{fieldId:i,all:o}=a,a=tslib_1.__rest(a,["fieldId","all"]),r=await t.fieldContextManager.getProjectMappings(i,a);o&&(r.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(r,a,t.fieldContextManager.getProjectMappings.bind(t.fieldContextManager,i))),this.responseMapper(r.values),this.display(s,r.values)}responseMapper(e){e.map(e=>(void 0===e.projectId&&(e.projectId=""),void 0===e.isGlobalContext&&(e.isGlobalContext="false"),e))}}(exports.default=GetProjectMappings).description="Gets list of context to project mappings for a custom field. The result can be filtered by contextId",GetProjectMappings.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({char:"i",description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The list of context IDs. You can provide multiple IDs.",multiple:!0}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of groups to return."}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class RemoveContextFromProjects extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var o=(await this.parse(RemoveContextFromProjects)).flags,o=this.removeFlagsFromBase(o),{fieldId:r,contextId:i}=o,o=tslib_1.__rest(o,["fieldId","contextId"]),s=await(0,project_util_1.getProject)(t,o.project);o.projectId=s.projectId,delete o.project,await t.fieldContextManager.removeContextFromProjects(r,i,o)}}(exports.default=RemoveContextFromProjects).description="Removes a custom field context from projects.",RemoveContextFromProjects.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context.",required:!0}),project:core_1.Flags.string({char:"p",description:"The list of project IDs or keys.",multiple:!0,required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class RemoveIssueTypes extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var t=(await this.parse(RemoveIssueTypes)).flags,t=this.removeFlagsFromBase(t),{fieldId:i,contextId:o}=t,t=tslib_1.__rest(t,["fieldId","contextId"]);await s.fieldContextManager.removeIssueTypes(i,o,t)}}(exports.default=RemoveIssueTypes).description="Removes issue types from a custom field context. A custom field context without any issue types applies to all issue types",RemoveIssueTypes.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context.",required:!0}),issueTypeIds:core_1.Flags.string({description:"The list of issue type IDs.",multiple:!0,required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class SetDefaultValueContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var a=(await this.parse(SetDefaultValueContext)).flags,a=this.removeFlagsFromBase(a),l=a.fieldId,a=tslib_1.__rest(a,["fieldId"]);a.defaultValues=this.jsonParser(a.defaultValues),await t.fieldContextManager.setContextsDefaultValue(l,a)}jsonParser(e){let t=[];return e.forEach(e=>{t.push(JSON.parse(e.replace(/'/g,'"')))}),t}}(exports.default=SetDefaultValueContext).description="Sets default for contexts of a custom field.",SetDefaultValueContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({char:"i",description:"The ID of the custom field.",required:!0}),defaultValues:core_1.Flags.string({description:"Default values to update. (Note: Please provide json object to this flag. For available defaultValues: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-contexts/#api-rest-api-3-field-fieldid-context-defaultvalue-put)\n Avalible Json value should be like: \"{'type': 'grouppciker.single', 'contextId': '10000'}\" (Keys and values should be written in single quotes.)",multiple:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class UpdateFieldContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var i=(await this.parse(UpdateFieldContext)).flags,i=this.removeFlagsFromBase(i),{fieldId:o,contextId:s}=i,i=tslib_1.__rest(i,["fieldId","contextId"]);await t.fieldContextManager.update(o,s,i)}}(exports.default=UpdateFieldContext).description="Updates an issue field context.",UpdateFieldContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context.",required:!0}),name:core_1.Flags.string({char:"n",description:"The name of the field context. Must be unique.",required:!0}),description:core_1.Flags.string({description:"The description of the field context."})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class CreateForContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var o=(await this.parse(CreateForContext)).flags,i=this.removeFlagsFromBase(o),{fieldId:s,contextId:a}=i,i=tslib_1.__rest(i,["fieldId","contextId"]),t=await t.fieldOptionManager.createFieldOptionForContext(s,a,{options:(0,atlascli_common_1.commaSeperatedListOfKeyValuePairsToJsonObjectArrayMapper)(i.options,"options",["value","optionId","disabled"])});this.display(o,t.options)}}(exports.default=CreateForContext).description="Creates options and, where the custom select field is of the type Select List (cascading), cascading options for a custom select field. The options are added to a context of the field.",CreateForContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context.",required:!0}),options:core_1.Flags.string({description:"Details of options to create. You can use this flag multiple times to add more option. Example use case: --options:value=optionValue,optionId=1000,disabled=true",multiple:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class DeleteForContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var o=(await this.parse(DeleteForContext)).flags;await t.fieldOptionManager.deleteFieldOptionForContext(o.fieldId,o.contextId,o.optionId)}}(exports.default=DeleteForContext).description="Deletes a custom field option. Options with cascading options cannot be deleted without deleting the cascading options first.",DeleteForContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context from which an option should be deleted.",required:!0}),optionId:core_1.Flags.string({description:"The ID of the option to delete.",required:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetForContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var o=(await this.parse(GetForContext)).flags,i=this.removeFlagsFromBase(o),{fieldId:s,contextId:a,all:r}=i,i=tslib_1.__rest(i,["fieldId","contextId","all"]),l=await t.fieldOptionManager.getFieldOptionsForContext(s,a,i);r&&(l.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(l,i,t.fieldOptionManager.getFieldOptionsForContext.bind(t.fieldOptionManager,s,a))),this.display(o,l.values)}}(exports.default=GetForContext).description="Gets all custom field option for a context.",GetForContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context.",required:!0}),optionId:core_1.Flags.string({description:"The ID of the option."}),onlyOptions:core_1.Flags.boolean({description:"Whether only options are returned."}),startAt:core_1.Flags.integer({description:"The index of the first item to return in a page of results (page offset)."}),maxResults:core_1.Flags.integer({description:"The maximum number of items to return per page."}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class Get extends atlascli_common_1.CommandWithSite{async runWithSite(t){var e=[];let{flags:i,argv:o}=await this.parse(Get),s=this.getJira(t,i);e.push(...i.optionId||[]),e.push(...Array.isArray(o)?o:"string"==typeof o?[o]:[]),0===e.length&&this.error("No custom field option id is specified.");t=e.sort().map(t=>s.fieldOptionManager.getCustomFieldOption(t));await Promise.all(t).then(t=>{0<t.length&&this.display(i,t)})}}(exports.default=Get).strict=!1,Get.description="Gets custom field option.",Get.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{optionId:core_1.Flags.string({char:"i",description:"The ID of the custom field option.",multiple:!0})}),Get.args=[{name:"optionId",description:"The ID of the custom field option."}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class ReorderForContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,o){var t=(await this.parse(ReorderForContext)).flags,i=this.removeFlagsFromBase(t),{fieldId:s,contextId:r}=i,i=tslib_1.__rest(i,["fieldId","contextId"]);await o.fieldOptionManager.reorderFieldOptionsForContext(s,r,{after:t.after,position:t.position,customFieldOptionIds:i.customFieldOptionId})}}(exports.default=ReorderForContext).description="Changes the order of custom field options or cascading options in a context.",ReorderForContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context.",required:!0}),customFieldOptionId:core_1.Flags.string({description:"ID of custom field options to move. You can provide multiple ID by repeating this flag. The order of the custom field option IDs in the list is the order they are given after the move. The list must contain custom field options or cascading options, but not both.",required:!0,multiple:!0}),after:core_1.Flags.string({description:"The ID of the custom field option or cascading option to place the moved options after. Required if position isn't provided.",dependsOn:["position"]}),position:core_1.Flags.string({description:"The position the custom field options should be moved to. Required if after isn't provided.",dependsOn:["after"],options:["First","Last"]})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class UpdateForContext extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var o=(await this.parse(UpdateForContext)).flags,i=this.removeFlagsFromBase(o),{fieldId:a,contextId:s}=i,i=tslib_1.__rest(i,["fieldId","contextId"]),t=await t.fieldOptionManager.updateFieldOptionForContext(a,s,{options:(0,atlascli_common_1.commaSeperatedListOfKeyValuePairsToJsonObjectArrayMapper)(i.options,"options",["value","id","disabled"])});this.display(o,t.options)}}(exports.default=UpdateForContext).description="Updates the options of a custom field. If any of the options are not found, no options are updated. Options where the values in the request match the current values aren't updated and aren't reported in the response.",UpdateForContext.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{fieldId:core_1.Flags.string({description:"The ID of the custom field.",required:!0}),contextId:core_1.Flags.string({description:"The ID of the context.",required:!0}),options:core_1.Flags.string({description:"Details of options to create. You can use this flag multiple times to add more option. Example use case: --options:value=optionValue,id=1000,disabled=true",multiple:!0})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common"),comments_1=require("@thestarware/atlassian-typescript-client/lib/jira/common/comments"),create_1=require("../issue/create");class CreateIssueLink extends atlascli_common_1.CommandWithSite{async runWithSite(e){var{flags:s,args:i}=await this.parse(CreateIssueLink),a=this.getJira(e,s),t=this.removeFlagsFromBase(s),r=t.show,t=tslib_1.__rest(t,["show"]);r?this.showSampleCreateRequest(s,e):await this.createIssueLink(s,t,i,a,e)}async createIssueLink(e,s,i,a,t){var r=Object.values(s).every(e=>void 0===e);let o=i.issueLinkBody;if(r&&void 0===o){if(!(o=JSON.parse(await(0,atlascli_common_1.readStdin)()))||0===o.length)throw new Error("You should provide a valid JSON for the issue! You can use `jira issue-link:create --show` command to generate a valid JSON body.")}else o=this.createRequestBodyFromFlags(s,t);await a.issueLinkManager.createIssueLink(o);i=await a.issueLinkManager.getIssueLinkInfo(o.inwardIssue.key);this.display(e,i.body.fields.issuelinks[0])}createRequestBodyFromFlags(e,a){let t={type:{},inwardIssue:{},outwardIssue:{}};return Object.entries(e).forEach(e=>{let s=e[1];switch(e[0]){case"issueLinkTypeName":t.type.name=s;break;case"issueLinkTypeID":t.type.id=s;break;case"comment":t.comment={},a.cloud&&(s=(0,atlascli_common_1.stringToADF)(s)),t.comment.body=s;break;case"inwardIssue":case"outwardIssue":var i=(0,atlascli_common_1.commaSeperatedListOfKeyValuePairsToJsonObjectArrayMapper)(s,e[0],["id","key"])[0];t[e[0]]=i;break;case"commentVisibility":t.comment.visibility=(0,atlascli_common_1.commaSeperatedListOfKeyValuePairsToJsonObjectArrayMapper)(s,e[0],["type","value","identifier"])[0];break;case"commentProperty":t.comment.properties=(0,atlascli_common_1.commaSeperatedListOfKeyValuePairsToJsonObjectArrayMapper)(s,e[0],["key","value"])}}),t}showSampleCreateRequest(e,s){var i={type:{},inwardIssue:{},outwardIssue:{},comment:{visibility:{type:comments_1.VisibilityType.GROUP,value:"jira-software-users"}}};e.json=!0,i.inwardIssue.key="HSP-1",i.outwardIssue.key="MKY-1",i.type.name="Duplicate",i.comment.body=s.cloud?create_1.richTextSampleData:"Sample Paragraph.",this.display(e,i)}}(exports.default=CreateIssueLink).description="Creates a link between two issues. You can also provide request body as JSON using STDIN without specifying any flags.",CreateIssueLink.flags=Object.assign({show:core_1.Flags.boolean({description:"Prepare a sample JSON output for issue link creation."}),issueLinkTypeID:core_1.Flags.string({description:"The ID of the issue link type. Find a list of issue link types with 'jira issue-link-type:get-all' command."}),issueLinkTypeName:core_1.Flags.string({description:"The name of the issue link type. Find a list of issue link types with 'jira issue-link-type:get-all' command."}),inwardIssue:core_1.Flags.string({description:"The ID or key of a linked issue. KEYS: [id, key]\nExample usage: --inwardIssue=key=HYP-1 or --inwardIssue=id=10000"}),outwardIssue:core_1.Flags.string({description:"The ID or key of a linked issue. KEYS: [id, key]\nExample usage: --outwardIssue=key=HYP-1 or --outwardIssue=id=10000"}),comment:core_1.Flags.string({description:"A comment."}),commentVisibility:core_1.Flags.string({description:"The group or role to which this comment is visible. KEYS: [type, identifier, value]\nExample usage: --commentVisibility=type=group,value=jira-software-users",dependsOn:["comment"]}),commentProperty:core_1.Flags.string({description:"A comment property. You can use this flag multiple times to provide more properties. KEYS: [key, value]\nExample usage: --commentProperty=key=XX,value=XXXX",dependsOn:["comment"]})},atlascli_common_1.CommandWithSite.flags),CreateIssueLink.args=[{name:"issueLinkBody",description:"Issue Link creation request in JSON format."}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class Delete extends atlascli_common_1.CommandWithSite{async runWithSite(e){var{flags:i,args:s}=await this.parse(Delete),e=this.getJira(e,i),s=s.linkId||i.linkId;s||this.error("You have to specify the id of an issue link."),await e.issueLinkManager.deleteIssueLink(s)}}(exports.default=Delete).description="Deletes an issue link.",Delete.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{linkId:core_1.Flags.string({char:"i",description:"The ID of the issue link."})}),Delete.args=[{name:"linkId",description:"The ID of the issue link."}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class Get extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=[];let{flags:i,argv:t}=await this.parse(Get),a=this.getJira(e,i);s.push(...i.linkId||[]),s.push(...Array.isArray(t)?t:"string"==typeof t?[t]:[]),0===s.length&&this.error("No issue link id is specified.");e=s.sort().map(e=>a.issueLinkManager.getIssueLink(e));await Promise.all(e).then(e=>{0<e.length&&(this.linkMapper(e),this.display(i,e))})}linkMapper(e){(e=Array.isArray(e)?e:[e]).map(e=>(e.typeId=e.type.id,e.typeName=e.type.name,e.inwardIssueKey=e.inwardIssue.key,e.outwardIssueKey=e.outwardIssue.key,e))}}(exports.default=Get).strict=!1,Get.description="Gets an issue link.",Get.flags=Object.assign(Object.assign({},atlascli_common_1.CommandWithSite.flags),{linkId:core_1.Flags.string({char:"i",description:"The ID of the issue link.",multiple:!0})}),Get.args=[{name:"linkId",description:"The ID of the issue link."}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class Create extends atlascli_common_1.CommandWithSite{async runWithSite(e){var i=(await this.parse(Create)).flags,e=this.getJira(e,i),t=this.removeFlagsFromBase(i),e=await e.issueLinkTypeManager.createIssueLinkType(Object.assign({},t));this.display(i,e)}}(exports.default=Create).description="Creates an issue link type.",Create.flags=Object.assign({name:core_1.Flags.string({char:"n",description:"The name of the issue link type. Required on create when id is not provided. Otherwise, read only.",required:!0}),inward:core_1.Flags.string({description:"The description of the issue link type inward link.",required:!0}),outward:core_1.Flags.string({description:"The description of the issue link type outward link.",required:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core");class Delete extends atlascli_common_1.CommandWithSite{async runWithSite(e){var i=(await this.parse(Delete)).flags;await this.getJira(e,i).issueLinkTypeManager.deleteIssueLinkType(i.issueLinkTypeId)}}(exports.default=Delete).description="Deletes an issue link type.",Delete.flags=Object.assign({issueLinkTypeId:core_1.Flags.string({char:"i",description:"The ID of the issue link type.",required:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let atlascli_common_1=require("@thestarware/atlascli-common");class GetAll extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(GetAll)).flags,e=await this.getJira(e,s).issueLinkTypeManager.getIssueLinkTypes();this.display(s,e.issueLinkTypes)}}(exports.default=GetAll).description="Gets all issue link types.",GetAll.flags=Object.assign({},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core");class Get extends atlascli_common_1.CommandWithSite{async runWithSite(e){var i=[];let{flags:s,argv:t}=await this.parse(Get),a=this.getJira(e,s);i.push(...s.issueLinkTypeId||[]),i.push(...Array.isArray(t)?t:"string"==typeof t?[t]:[]),0===i.length&&this.error("No issue link type id is specified.");e=i.sort().map(e=>a.issueLinkTypeManager.getIssueLinkType(e));await Promise.all(e).then(e=>{0<e.length&&this.display(s,e)})}}(exports.default=Get).strict=!1,Get.description="Gets an issue link type.",Get.flags=Object.assign({issueLinkTypeId:core_1.Flags.string({char:"i",description:"The ID of the issue link type.",multiple:!0})},atlascli_common_1.CommandWithSite.flags),Get.args=[{name:"issueLinkTypeId",description:"The ID of the issue link type."}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class Update extends atlascli_common_1.CommandWithSite{async runWithSite(e){var i=(await this.parse(Update)).flags,e=this.getJira(e,i),s=this.removeFlagsFromBase(i),t=s.issueLinkTypeId,s=tslib_1.__rest(s,["issueLinkTypeId"]),e=await e.issueLinkTypeManager.updateIssueLinkType(t,Object.assign({},s));this.display(i,e)}}(exports.default=Update).description="Updates an issue link type.",Update.flags=Object.assign({issueLinkTypeId:core_1.Flags.string({char:"i",description:"The ID of the issue link type.",required:!0}),name:core_1.Flags.string({char:"n",description:"The name of the issue link type."}),inward:core_1.Flags.string({description:"The description of the issue link type inward link."}),outward:core_1.Flags.string({description:"The description of the issue link type outward link."})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let atlascli_common_1=require("@thestarware/atlascli-common");class GetColumns extends atlascli_common_1.CommandWithSite{async runWithSite(t){var e=(await this.parse(GetColumns)).flags,t=await this.getJira(t,e).issueNavigatorSettingsManager.getColumns();this.display(e,t)}}(exports.default=GetColumns).description="Returns the default issue navigator columns.",GetColumns.flags=Object.assign({},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class SetColumns extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(SetColumns)).flags;await this.getJira(e,t).issueNavigatorSettingsManager.setColumns(t.columnKey)}}(exports.default=SetColumns).description="Sets the default issue navigator columns.",SetColumns.flags=Object.assign({columnKey:core_1.Flags.string({multiple:!0,char:"c",description:"The key of column. You can repeat this flag for setting multiple columns.",required:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class CreateIssuePriority extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(i,e){var r=(await this.parse(CreateIssuePriority)).flags,t=this.removeFlagsFromBase(this.modifyIconUrl(r)),e=await e.issuePriorityManager.createPriority(t);await this.display(r,e)}modifyIconUrl(i){return i.iconUrl=`/images/icons/priorities/${i.icon}.png`,delete i.icon,i}}(exports.default=CreateIssuePriority).description="Creates an issue priority.",CreateIssuePriority.flags=Object.assign({name:core_1.Flags.string({char:"n",description:"The name of the priority. Must be unique.",required:!0}),description:core_1.Flags.string({description:"The description of the priority."}),icon:core_1.Flags.string({char:"i",options:["blocker","critical","high","highest","low","lowest","major","medium","minor","trivial"],description:"An icon for the priority.",required:!0}),statusColor:core_1.Flags.string({char:"k",description:'The status color of the priority in 3-digit or 6-digit hexadecimal format. For example: -k="FFFF00"',required:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class DeleteIssuePriority extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var s=(await this.parse(DeleteIssuePriority)).flags,t=this.removeFlagsFromBase(s),r=t.id,t=tslib_1.__rest(t,["id"]),r=await i.issuePriorityManager.deletePriority(r,t);this.display(s,r),s.silent||await this.showProgressBar(r,i,"The issue priority is deleting...")}}(exports.default=DeleteIssuePriority).description="Deletes an issue priority.",DeleteIssuePriority.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue priority.",required:!0}),replaceWith:core_1.Flags.string({char:"r",description:"The ID of the issue priority that will replace the currently selected resolution.",required:!0}),silent:core_1.Flags.boolean({description:"If you activate this flag progress bar will not be shown."})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class MoveIssuePriority extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,i){var s=(await this.parse(MoveIssuePriority)).flags,r=tslib_1.__rest(this.removeFlagsFromBase(s),[]);r.ids=s.issues.split(","),delete r.issues,await i.issuePriorityManager.movePriority(r)}}(exports.default=MoveIssuePriority).description="Changes the order of issue priorities.",MoveIssuePriority.flags=Object.assign({issues:core_1.Flags.string({char:"i",description:"The list of issue IDs to be reordered. Cannot contain duplicates nor after ID.",required:!0}),after:core_1.Flags.string({char:"a",description:"The ID of the priority. Required if position isn't provided."}),position:core_1.Flags.string({char:"p",description:"The position for issue priorities to be moved to. Required if after isn't provided."})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class SearchIssuePriorities extends atlascli_common_1.BaseCommandWithCloudOrServerSite{async runWithCloudSite(e,i){var r=(await this.parse(SearchIssuePriorities)).flags,s=this.removeFlagsFromBase(r),a=s.all,s=tslib_1.__rest(s,["all"]),t=(s.id=null==(t=r.id)?void 0:t.split(","),await i.issuePriorityManager.searchPriorities(s));a&&(t.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(t,s,i.issuePriorityManager.searchPriorities.bind(i.issuePriorityManager))),this.display(r,t.values)}async runWithServerSite(e,i){var r=(await this.parse(SearchIssuePriorities)).flags,s=this.removeFlagsFromBase(r),a=s.all,s=tslib_1.__rest(s,["all"]),t=await(0,project_util_1.getProject)(i,s.project),t=(s.projectIds=t.projectId,delete s.project,await i.issuePriorityManager.searchPriorities(s));a&&(t.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(t,s,i.issuePriorityManager.searchPriorities.bind(i.issuePriorityManager))),this.display(r,t.values)}}(exports.default=SearchIssuePriorities).description="Search issue-priorities.",SearchIssuePriorities.flags=Object.assign(Object.assign(Object.assign({},(0,atlascli_common_1.getStartAtAndMaxFlags)()),{id:core_1.Flags.string({char:"i",description:'The list of priority IDs. To include multiple IDs, provide an comma-separated list. For example, -i="2,3".'}),onlyDefault:core_1.Flags.boolean({description:"Only default priority returned, for cloud only",default:!1}),query:core_1.Flags.string({description:"Whether only the default priority is returned."}),project:core_1.Flags.string({char:"p",description:"For server only. For example, -p = 10200",multiple:!0}),all:core_1.Flags.boolean({description:"Whether all responses are returned.",default:!1,exclusive:["startAt","maxResults"]})}),atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class SetDefaultIssuePriority extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var i=(await this.parse(SetDefaultIssuePriority)).flags,i=await this.removeFlagsFromBase(i),i=(i.id||(i.id=null),this.removeFlagsFromBase(i));await t.issuePriorityManager.setDefaultPriority(i)}}(exports.default=SetDefaultIssuePriority).description="Sets default issue priority.",SetDefaultIssuePriority.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the new default issue priority. Must be an existing ID or null. Setting this to null erases the default priority setting."})},atlascli_common_1.CommandWithSite.flags);
|