@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 tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class UpdateIssuePriority extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(i,e){var r=(await this.parse(UpdateIssuePriority)).flags,r=this.removeFlagsFromBase(r),t=r.id,r=tslib_1.__rest(r,["id"]),r=this.modifyIconUrl(r);await e.issuePriorityManager.updatePriority(t,r)}modifyIconUrl(i){return i.iconUrl=`/images/icons/priorities/${i.icon}.png`,delete i.icon,i}}(exports.default=UpdateIssuePriority).description="My description",UpdateIssuePriority.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue priority.",required:!0}),name:core_1.Flags.string({char:"n",description:"The description of the priority."}),description:core_1.Flags.string({char:"d",description:"The description of the priority."}),icon:core_1.Flags.string({options:["blocker","critical","high","highest","low","lowest","major","medium","minor","trivial"],description:"An icon for the priority. Built in icons can also be used.",required:!0}),statusColor:core_1.Flags.string({char:"k",description:"The status color of the priority in 3-digit or 6-digit hexadecimal format."})},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"),set_1=require("./set");class DeleteIssuePropertyBulk extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var{flags:t,args:o}=await this.parse(DeleteIssuePropertyBulk);if(t.show)t.json=!0,this.display(t,{entityIds:[1e4,10001],currentValue:"deprecated value"});else{void 0===t.key&&this.error("Missing required flag:\n --key KEY The key of the property.\nSee more help with --help");let e=o.jsonBody;if(void 0===e&&(!(e=await(0,atlascli_common_1.readStdin)())||0===e.length))throw new Error("You should provide a valid JSON for the issue! You can use `jira issue-property:set-bulk --show` command to generate a valid JSON body.");o=await s.issuePropertyManager.bulkDeleteIssueProperty(t.key,(0,set_1.isJson)(e)?JSON.parse(e):e);this.display(t,o),t.silent||await this.showProgressBar(o,s,"Setting properties...")}}}(exports.default=DeleteIssuePropertyBulk).description="Deletes a property value from multiple issues. The issues to be updated can be specified by filter criteria. This operation is asynchronous. You can use `jira task:get` command to obtain any updates.",DeleteIssuePropertyBulk.flags=Object.assign({key:core_1.Flags.string({description:"The key of the property. (Required)"}),show:core_1.Flags.boolean({description:"Prepare a sample JSON output for command."}),silent:core_1.Flags.boolean({description:"If you activate this flag progress bar will not be shown and you won't wait for the process. If you want to get details about task you can simply call `jira task:get` command."})},atlascli_common_1.CommandWithSite.flags),DeleteIssuePropertyBulk.args=[{name:"jsonBody",description:"Bulk delete 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 DeleteProperty extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(DeleteProperty)).flags;await this.getJira(e,t).issuePropertyManager.deleteIssueProperty(t.issue,t.key)}}(exports.default=DeleteProperty).description="Deletes an issue's property.",DeleteProperty.flags=Object.assign({issue:core_1.Flags.string({description:"The key or ID of the issue.",required:!0}),key:core_1.Flags.string({description:"The key of the property.",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 GetIssuePropertyKeys extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(GetIssuePropertyKeys)).flags,e=await this.getJira(e,s).issuePropertyManager.getIssuePropertyKeys(s.issue);this.display(s,e.keys)}}(exports.default=GetIssuePropertyKeys).description="Gets the URLs and keys of an issue's properties. This operation can be accessed anonymously.",GetIssuePropertyKeys.flags=Object.assign({issue:core_1.Flags.string({description:"The key or ID of the issue.",required:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.modifyPropertyResponseForDisplay=void 0;let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");function modifyPropertyResponseForDisplay(e){return e.value=JSON.stringify(e.value),e}exports.modifyPropertyResponseForDisplay=modifyPropertyResponseForDisplay;class GetIssueProperty extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(GetIssueProperty)).flags,e=await this.getJira(e,s).issuePropertyManager.getIssueProperty(s.issue,s.key);this.display(s,modifyPropertyResponseForDisplay(e))}}(exports.default=GetIssueProperty).description="Gets the key and value of an issue's property.",GetIssueProperty.flags=Object.assign({issue:core_1.Flags.string({description:"The key or ID of the issue.",required:!0}),key:core_1.Flags.string({description:"The key of the property.",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"),set_1=require("./set");class SetIssuePropertyBulk extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var{flags:o,args:t}=await this.parse(SetIssuePropertyBulk);if(o.show)this.showSampleJsonBody(o);else{void 0===o.key&&this.error("Missing required flag:\n --key KEY The key of the property.\nSee more help with --help");let e=t.jsonBody;if(void 0===e&&(!(e=await(0,atlascli_common_1.readStdin)())||0===e.length))throw new Error("You should provide a valid JSON for the issue! You can use `jira issue-property:set-bulk --show` command to generate a valid JSON body.");t=await s.issuePropertyManager.bulkSetIssueProperty(o.key,(0,set_1.isJson)(e)?JSON.parse(e):e);this.display(o,t),o.silent||await this.showProgressBar(t,s,"Setting properties...")}}showSampleJsonBody(e){var s={expression:"Jira Expression",value:{owner:"admin",weight:100},filter:{hasProperty:!0,entityIds:[10100,10010],currentValue:{owner:"admin",weight:50}}};e.json=!0,this.display(e,s)}}(exports.default=SetIssuePropertyBulk).description="Sets a property value on multiple issues. This operation is asynchronous. You can use `jira task:get` command to obtain any updates.",SetIssuePropertyBulk.flags=Object.assign({key:core_1.Flags.string({description:"The key of the property. (Required)"}),show:core_1.Flags.boolean({description:"Prepare a sample JSON output for command."}),silent:core_1.Flags.boolean({description:"If you activate this flag progress bar will not be shown and you won't wait for the process. If you want to get details about task you can simply call `jira task:get` command."})},atlascli_common_1.CommandWithSite.flags),SetIssuePropertyBulk.args=[{name:"jsonBody",description:"Bulk set 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"),set_1=require("./set");class BulkSetIssuePropertiesByIssue extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(s,e){var{flags:t,args:o}=await this.parse(BulkSetIssuePropertiesByIssue);if(t.show)this.showSampleJsonBody(t);else{let s=o.jsonBody;if(void 0===s&&(!(s=await(0,atlascli_common_1.readStdin)())||0===s.length))throw new Error("You should provide a valid JSON for the issue! You can use `jira issue-property:set-by-issue-bulk --show` command to generate a valid JSON body.");o=await e.issuePropertyManager.bulkSetIssuePropertiesByIssue((0,set_1.isJson)(s)?JSON.parse(s):s);this.display(t,o),t.silent||await this.showProgressBar(o,e,"Setting properties...")}}showSampleJsonBody(s){var e={issues:[]};e.issues.push({issueID:1e3,properties:{myProperties:{owner:"admin",weight:100}}}),e.issues.push({issueID:1001,properties:{myOtherProperties:{cost:150,transportation:"car"}}}),s.json=!0,this.display(s,e)}}(exports.default=BulkSetIssuePropertiesByIssue).description="Sets or updates entity property values on issues. Up to 10 entity properties can be specified for each issue and up to 100 issues included in the request. This operation is asynchronous. You can use `jira task:get` command to obtain any updates.",BulkSetIssuePropertiesByIssue.flags=Object.assign({show:core_1.Flags.boolean({description:"Prepare a sample JSON output for command."}),silent:core_1.Flags.boolean({description:"If you activate this flag progress bar will not be shown and you won't wait for the process. If you want to get details about task you can simply call `jira task:get` command."})},atlascli_common_1.CommandWithSite.flags),BulkSetIssuePropertiesByIssue.args=[{name:"jsonBody",description:"Bulk set issue properties by issue 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"),set_1=require("./set");class BulkSetIssuePropertiesByList extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var{flags:t,args:o}=await this.parse(BulkSetIssuePropertiesByList);if(t.show)t.json=!0,this.display(t,{entitiesIds:[2154,2153],properties:{}});else{let e=o.jsonBody;if(void 0===e&&(!(e=await(0,atlascli_common_1.readStdin)())||0===e.length))throw new Error("You should provide a valid JSON for the issue! You can use `jira issue-property:set-by-list-bulk --show` command to generate a valid JSON body.");o=await s.issuePropertyManager.bulkSetIssuesPropertiesByList((0,set_1.isJson)(e)?JSON.parse(e):e);this.display(t,o),t.silent||await this.showProgressBar(o,s,"Setting properties...")}}}(exports.default=BulkSetIssuePropertiesByList).description="Sets or updates a list of entity property values on issues. A list of up to 10 entity properties can be specified along with up to 10,000 issues on which to set or update that list of entity properties. This operation is asynchronous. You can use `jira task:get` command to obtain any updates.",BulkSetIssuePropertiesByList.flags=Object.assign({show:core_1.Flags.boolean({description:"Prepare a sample JSON output for command."}),silent:core_1.Flags.boolean({description:"If you activate this flag progress bar will not be shown and you will not wait for the process. If you want to get details about task you can simply call `jira task:get` command."})},atlascli_common_1.CommandWithSite.flags),BulkSetIssuePropertiesByList.args=[{name:"jsonBody",description:"Bulk set issue properties by list request in JSON format."}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0}),exports.isJson=void 0;let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");function isJson(e){try{return JSON.parse(e),!0}catch(e){return!1}}exports.isJson=isJson;class SetProperty extends atlascli_common_1.CommandWithSite{async runWithSite(e){var{flags:s,args:t}=await this.parse(SetProperty),e=this.getJira(e,s);let r=t.jsonBody;if(void 0===r&&(!(r=await(0,atlascli_common_1.readStdin)())||0===r.length))throw new Error("You should provide a valid JSON!");await e.issuePropertyManager.setIssueProperty(s.issue,s.key,isJson(r)?JSON.parse(r):r)}}(exports.default=SetProperty).description="Sets the value of an issue's property. Use this resource to store custom data against an issue. The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.",SetProperty.flags=Object.assign({issue:core_1.Flags.string({description:"The key or ID of the issue.",required:!0}),key:core_1.Flags.string({description:"The key of the property.",required:!0})},atlascli_common_1.CommandWithSite.flags),SetProperty.args=[{name:"jsonBody",description:"Issue property set 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"),set_1=require("../issue-property/set");class CreateRemoteLink extends atlascli_common_1.BaseCommandWithSite{async runWithSite(e){var{flags:t,args:s}=await this.parse(CreateRemoteLink),e=this.getJira(e,t);t.show?this.showSampleCreateRequest(t):(t.issue||this.error("You must specify issue ID or Key."),await this.createRemoteIssueLink(t,s,e))}async createRemoteIssueLink(e,t,s){let o=t.issueRemoteLinkBody;if(!(void 0!==o||(o=await(0,atlascli_common_1.readStdin)())&&0!==o.length&&(0,set_1.isJson)(o)))throw new Error("You should provide a valid JSON for the remote link! You can use `jira issue-remote-link:create --show` command to generate a valid JSON body.");t=await s.issueRemoteLinkManager.createOrUpdateRemoteLink(e.issue,JSON.parse(o));this.display(e,t)}showSampleCreateRequest(e){var t={object:{url:"http://www.mycompany.com/support?id=1",title:"TSTSUP-111",summary:"Customer support issue"}};t.object.icon={url16x16:"http://www.mycompany.com/support/ticket.png",title:"Support Ticket"},t.object.status={icon:{url16x16:"http://www.mycompany.com/support/resolved.png",link:"http://www.mycompany.com/support?id=1&details=closed",title:"Case Closed"},resolved:!0},t.globalId="system=http://www.mycompany.com/support&id=1",t.application={name:"My Acme Tracker",type:"com.acme.tracker"},t.relationship="causes",e.json=!0,this.display(e,t)}}(exports.default=CreateRemoteLink).description="Creates or updates a remote issue link for an issue. You must provide request body as JSON using STDIN.\nNOTE: If a globalId is provided and a remote issue link with that global ID is found it is updated. Any fields without values in the request are set to null. Otherwise, the remote issue link is created.",CreateRemoteLink.flags=Object.assign({issue:core_1.Flags.string({char:"i",description:"Issue ID or Key."}),show:core_1.Flags.boolean({description:"Prepare a sample JSON output for issue remote link creation."})},atlascli_common_1.BaseCommandWithSite.flags),CreateRemoteLink.args=[{name:"issueRemoteLinkBody",description:"Issue remote link creation request body in JSON format."}];
|
|
@@ -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 DeletRemoteLinkByGlobalId extends atlascli_common_1.BaseCommandWithSite{async runWithSite(e){var s=(await this.parse(DeletRemoteLinkByGlobalId)).flags,e=this.getJira(e,s),s=this.removeFlagsFromBase(s),i=s.issue,s=tslib_1.__rest(s,["issue"]);await e.issueRemoteLinkManager.deleteRemoteLinkByGlobalId(i,s)}}(exports.default=DeletRemoteLinkByGlobalId).description="Deletes the remote issue link from the issue using the link's global ID.",DeletRemoteLinkByGlobalId.flags=Object.assign({issue:core_1.Flags.string({char:"i",description:"Issue ID or Key.",required:!0}),globalId:core_1.Flags.string({description:"The global ID of the remote issue link.",required:!0})},atlascli_common_1.BaseCommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),get_1=tslib_1.__importDefault(require("./get"));class DeletRemoteLink extends atlascli_common_1.BaseCommandWithSite{async runWithSite(e){var t=(await this.parse(DeletRemoteLink)).flags;await this.getJira(e,t).issueRemoteLinkManager.deleteRemoteLinkById(t.issue,t.linkId)}}(exports.default=DeletRemoteLink).description="Deletes a remote issue link from an issue.",DeletRemoteLink.flags=get_1.default.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 GetRemoteLinks extends atlascli_common_1.BaseCommandWithSite{async runWithSite(e){var s=(await this.parse(GetRemoteLinks)).flags,e=this.getJira(e,s),t=this.removeFlagsFromBase(s),i=t.issue,t=tslib_1.__rest(t,["issue"]),e=await e.issueRemoteLinkManager.getRemoteLinks(i,t);this.display(s,this.modifyResponse(e),(e,s)=>{s.summary=e.object.summary||"",s.url=e.object.url})}modifyResponse(e){return e.map(e=>(e.title=e.object.title,e)),e}}(exports.default=GetRemoteLinks).description="Returns the remote issue links for an issue.\nNOTE: When a remote issue link global ID is provided the record with that global ID is returned, otherwise all remote issue links are returned. Where a global ID includes reserved URL characters these must be escaped in the request. For example, pass system=http://www.mycompany.com/support&id=1 as system%3Dhttp%3A%2F%2Fwww.mycompany.com%2Fsupport%26id%3D1.",GetRemoteLinks.flags=Object.assign({issue:core_1.Flags.string({char:"i",description:"Issue ID or Key."}),globalId:core_1.Flags.string({description:"The global ID of the remote issue link."})},atlascli_common_1.BaseCommandWithSite.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 GetRemoteLink extends atlascli_common_1.BaseCommandWithSite{async runWithSite(e){var t=(await this.parse(GetRemoteLink)).flags,e=await this.getJira(e,t).issueRemoteLinkManager.getRemoteLinkById(t.issue,t.linkId);this.display(t,this.modifyResponse(e),(e,t)=>{t.summary=e.object.summary||"",t.url=e.object.url})}modifyResponse(e){return e.title=e.object.title,e}}(exports.default=GetRemoteLink).description="Returns a remote issue link for an issue.",GetRemoteLink.flags=Object.assign({issue:core_1.Flags.string({char:"i",description:"Issue ID or Key.",required:!0}),linkId:core_1.Flags.string({description:"The ID of the remote issue link.",required:!0})},atlascli_common_1.BaseCommandWithSite.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"),set_1=require("../issue-property/set"),create_1=tslib_1.__importDefault(require("./create"));class UpdateRemoteLink extends create_1.default{async runWithSite(e){var{flags:t,args:s}=await this.parse(UpdateRemoteLink),e=this.getJira(e,t);t.show?this.showSampleCreateRequest(t):(t.issue||t.linkId||this.error("You must specify both issue Id or Key and remote link ID."),await this.updateRemoteIssueLink(t,s,e))}async updateRemoteIssueLink(e,t,s){let i=t.issueRemoteLinkBody;if(!(void 0!==i||(i=await(0,atlascli_common_1.readStdin)())&&0!==i.length&&(0,set_1.isJson)(i)))throw new Error("You should provide a valid JSON for the remote link! You can use `jira issue-remote-link:update --show` command to generate a valid JSON body.");await s.issueRemoteLinkManager.updateRemoteLinkById(e.issue,e.linkId,JSON.parse(i))}}(exports.default=UpdateRemoteLink).description="Updates a remote issue link for an issue.",UpdateRemoteLink.flags=Object.assign({linkId:core_1.Flags.string({description:"The ID of the remote issue link."})},create_1.default.flags),UpdateRemoteLink.args=[{name:"issueRemoteLinkBody",description:"Issue remote link update request body 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 CreateIssueResolution extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var t=(await this.parse(CreateIssueResolution)).flags,s=await s.issueResolutionManager.createIssueResolution(this.removeFlagsFromBase(t));this.display(t,s)}}(exports.default=CreateIssueResolution).description="Creates an issue resolution. Only for cloud",CreateIssueResolution.flags=Object.assign({name:core_1.Flags.string({char:"n",description:"The name of the resolution. Must be unique (case-insensitive).",required:!0}),description:core_1.Flags.string({description:"The description of the resolution."})},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 DeleteIssueResolution extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var t=(await this.parse(DeleteIssueResolution)).flags,i=this.removeFlagsFromBase(t),o=i.id,i=tslib_1.__rest(i,["id"]),o=await s.issueResolutionManager.deleteIssueResolution(o,i);await this.display(t,o),t.silent||await this.showProgressBar(o,s,"The resolution is deleting...")}}(exports.default=DeleteIssueResolution).description="Deletes an issue resolution.",DeleteIssueResolution.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue resolution.",required:!0}),replaceWith:core_1.Flags.string({char:"r",description:"The ID of the issue resolution 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 atlascli_common_1=require("@thestarware/atlascli-common");class GetAllIssueResolutions extends atlascli_common_1.BaseCommandWithServerSite{async runWithServerSite(s,e){var t=(await this.parse(GetAllIssueResolutions)).flags,e=await e.issueResolutionManager.getIssueResolutions();this.display(t,e)}}(exports.default=GetAllIssueResolutions).description="Returns a list of all resolutions. Only for server.",GetAllIssueResolutions.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 GetPriority extends atlascli_common_1.BaseCommandWithServerSite{async runWithServerSite(e,i){var r=[];let{flags:t,argv:s}=await this.parse(GetPriority);r.push(...t.id||[]),r.push(...Array.isArray(s)?s:"string"==typeof s?[s]:[]),0===r.length&&this.error("No issue resolution id is specified.");r=r.sort().map(e=>i.issueResolutionManager.getIssueResolution(e));await Promise.all(r).then(e=>{0<e.length&&this.display(t,e)})}}(exports.default=GetPriority).strict=!1,GetPriority.description="Returns a resolution. Only for server",GetPriority.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"Id of issue-resolution.",multiple:!0})},atlascli_common_1.CommandWithSite.flags),GetPriority.args=[{name:"id",description:"Id of issue-resolution."}];
|
|
@@ -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 MoveIssueResolution extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var o=(await this.parse(MoveIssueResolution)).flags,i=tslib_1.__rest(this.removeFlagsFromBase(o),[]);i.ids=o.ids.split(","),await s.issueResolutionManager.moveIssueResolution(i)}}(exports.default=MoveIssueResolution).description="Changes the order of issue resolutions.",MoveIssueResolution.flags=Object.assign({ids:core_1.Flags.string({char:"i",description:"The list of resolution IDs to be reordered. Cannot contain duplicates nor after ID. Example usage: --id=1,2,3",required:!0}),after:core_1.Flags.string({char:"a",description:"The ID of the resolution. Required if position isn't provided"}),position:core_1.Flags.string({char:"p",description:"The position for issue resolutions 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"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class SearchIssueResolution extends atlascli_common_1.BaseCommandWithCloudOrServerSite{async runWithCloudSite(e,s){var a=(await this.parse(SearchIssueResolution)).flags,t=this.removeFlagsFromBase(a),i=t.all,t=tslib_1.__rest(t,["all"]),l=(t.id=null==(l=a.id)?void 0:l.split(","),await s.issueResolutionManager.searchIssueResolution(t));i&&(l.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(l,t,s.issueResolutionManager.searchIssueResolution.bind(s.issueResolutionManager))),this.display(a,l.values)}async runWithServerSite(e,s){var a=(await this.parse(SearchIssueResolution)).flags,t=this.removeFlagsFromBase(a),i=t.all,t=tslib_1.__rest(t,["all"]),l=(t.id=null==(l=a.id)?void 0:l.split(","),await s.issueResolutionManager.getPaginatedIssueResolution(t));i&&(l.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(l,t,s.issueResolutionManager.getPaginatedIssueResolution.bind(s.issueResolutionManager))),this.display(a,l.values)}}(exports.default=SearchIssueResolution).description="Returns a paginated list of resolutions.",SearchIssueResolution.flags=Object.assign(Object.assign(Object.assign({},atlascli_common_1.getStartAtAndMaxFlags),{id:core_1.Flags.string({char:"i",description:"The list of resolutions IDs to be filtered out.Example usage: --id=1,2,3"}),onlyDefault:core_1.Flags.boolean({description:"When set to true, return default only,when IDs provided, if none of them is default, return empty page.",default:!1}),query:core_1.Flags.string({char:"q",description:"The string that status names will be matched with"}),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 SetDefaultResolution extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var s=(await this.parse(SetDefaultResolution)).flags;await t.issueResolutionManager.setDefaultResolution(this.removeFlagsFromBase(s))}}(exports.default=SetDefaultResolution).description="Sets default issue resolution. Only for cloud",SetDefaultResolution.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the new default issue resolution. Must be an existing ID or null. Setting this to null erases the default resolution setting.",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 UpdateIssueResolution extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var i=(await this.parse(UpdateIssueResolution)).flags,i=this.removeFlagsFromBase(i),t=i.id,i=tslib_1.__rest(i,["id"]);await s.issueResolutionManager.updateIssueResolution(t,i)}}(exports.default=UpdateIssueResolution).description="Updates an issue resolution.",UpdateIssueResolution.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue resolution.",required:!0}),name:core_1.Flags.string({char:"n",description:"Updates an issue resolution.",required:!0}),description:core_1.Flags.string({description:"The description of the resolution."})},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"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class GetPickerSuggestions extends atlascli_common_1.BaseCommandWithSite{async runWithSite(e){var s=(await this.parse(GetPickerSuggestions)).flags,e=this.getJira(e,s),t=await(0,project_util_1.getProject)(e,s.project),t=(s.projectId=t.projectId,s.issueKey=s.issue,delete s.project,await e.issueSearchManager.getPickerSuggestions(this.prepareQuery(s)));this.display(s,t.sections.map(this.responseMapper))}prepareQuery(e){var e=this.removeFlagsFromBase(e),{jql:s,issueKey:t,project:r}=e,e=tslib_1.__rest(e,["jql","issueKey","project"]);return e.currentJQL=s,e.currentProjectId=r,e.currentIssueKey=t,e}responseMapper(e){return e.issueKeys=e.issues.map(e=>e.key).join(","),e}}(exports.default=GetPickerSuggestions).description="Gets the issues matching a query string. This command returns two types of search:\n- History Search which includes issues from the user's history of created, edited, or viewed issues that contain the string in the query parameter.\n- Current Search which includes issues that match the JQL expression in currentJQL and contain the string in the query parameter.",GetPickerSuggestions.flags=Object.assign({query:core_1.Flags.string({char:"q",description:"A string to match against text fields in the issue such as title, description, or comments."}),jql:core_1.Flags.string({char:"j",description:"A JQL query defining a list of issues to search for the query term. Note that username and userkey cannot be used as search terms for this parameter, due to privacy reasons. Use accountId instead."}),issue:core_1.Flags.string({char:"i",description:"The key of an issue to exclude from search results. For example, the issue the user is viewing when they perform this query."}),project:core_1.Flags.string({char:"p",description:"The ID or key of a project that suggested issues must belong to."}),showSubTasks:core_1.Flags.boolean({description:"Indicate whether to include subtasks in the suggestions list."}),showSubTaskParent:core_1.Flags.boolean({description:"When currentIssueKey is a subtask, whether to include the parent issue in the suggestions if it matches the query."})},atlascli_common_1.BaseCommandWithSite.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 SearchWithJQL extends atlascli_common_1.BaseCommandWithSite{async runWithSite(e){var s=(await this.parse(SearchWithJQL)).flags,e=this.getJira(e,s),a=this.removeFlagsFromBase(s),{all:i,field:t,property:r}=a,a=tslib_1.__rest(a,["all","field","property"]),t=(a.fields=t,a.properties=r,await e.issueSearchManager.searchWithJQL(a));i&&(t.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(t,a,e.issueSearchManager.searchWithJQL.bind(e.issueSearchManager))),this.display(s,null==(r=t.values)?void 0:r.map(this.issueMapper)),t.warningMessages&&t.warningMessages.forEach(e=>this.warn(e))}issueMapper(e){var s;return e.type=(null==(s=e.fields.issuetype)?void 0:s.name)||"",e.summary=e.fields.summary||"",e.assigneeName=(null==(s=e.fields.assignee)?void 0:s.displayName)||"",e.assigneeAccountId=(null==(s=e.fields.assignee)?void 0:s.accountId)||"",e.reporterName=(null==(s=e.fields.reporter)?void 0:s.displayName)||"",e.reporterAccountId=(null==(s=e.fields.reporter)?void 0:s.accountId)||"",e.priority=e.fields.priority.name||"",e.status=e.fields.status.name||"",e.resolution=e.fields.resolution||"Unresolved",e.created=e.fields.created||"",e.updated=e.fields.updated||"",e}}(exports.default=SearchWithJQL).description="Searches for issues using JQL.",SearchWithJQL.flags=Object.assign(Object.assign({jql:core_1.Flags.string({char:"j",description:"A JQL expression."}),validateQuery:core_1.Flags.string({char:"v",description:"Determines how to validate the JQL query and treat the validation results.",options:["strict","warn","none","true","false"]}),all:core_1.Flags.boolean({description:"Whether all of found issues are returned.",default:!1,exclusive:["startAt","maxResults"]})},(0,atlascli_common_1.getStartAtAndMaxFlags)()),atlascli_common_1.BaseCommandWithSite.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"),issue_util_1=require("@thestarware/atlascli-common/lib/issue-util");class CheckIssuesAgainstJQL extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var i=(await this.parse(CheckIssuesAgainstJQL)).flags,t=tslib_1.__rest(this.removeFlagsFromBase(i),[]),r=await(0,issue_util_1.getIssue)(s,t.issue),r=(t.issue=r.issueId,await s.issueSearchManager.checkIssuesAgainstJql({jqls:t.jql,issueIds:t.issue}));this.display(i,this.modifyMatches(r.matches,i.jql))}modifyMatches(s,i){var t=s.filter(e=>0<e.errors.length).length;for(let e=0;e<i.length;e++)s[e]=Object.assign({jql:i[e]},s[e]),s[e].matchedIssues=0<s[e].matchedIssues.length?s[e].matchedIssues.join(","):"",t&&(s[e].errors=0<s[e].errors.length?s[e].errors.join(","):"");return s}}(exports.default=CheckIssuesAgainstJQL).description="Checks whether one or more issues would be returned by one or more JQL queries.",CheckIssuesAgainstJQL.flags=Object.assign({jql:core_1.Flags.string({char:"j",description:"JQL query. You can provide multiple jql query by repeating this flag.",required:!0,multiple:!0}),issue:core_1.Flags.string({char:"i",description:"The ID of issue. You can provide multiple jql query by repeating this flag.",required:!0,multiple:!0})},atlascli_common_1.BaseCommandWithCloudSite.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 GetIssueSecurityLevelMembers extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var t=(await this.parse(GetIssueSecurityLevelMembers)).flags,r=this.removeFlagsFromBase(t),{all:i,issueSecuritySchemeId:a}=r,r=tslib_1.__rest(r,["all","issueSecuritySchemeId"]),l=(r.issueSecurityLevelId=null==(l=t.issueSecurityLevelId)?void 0:l.split(",").map(e=>Number.parseInt(e,10)),await s.issueSecurityLevelManager.getIssueSecurityLevelMembers(a,r));i&&(l.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(l,r,s.issueSecurityLevelManager.getIssueSecurityLevelMembers.bind(s.issueSecurityLevelManager,a))),this.memberMapper(l.values),this.display(t,l.values)}memberMapper(e){e.forEach(e=>{(e=Array.isArray(e)?e:[e]).map(e=>(e.holderType=e.holder.type,e.holderParameter=e.holder.parameter,e.holderValue=e.holder.value,e.holderExpand=e.holder.expand,e))})}}(exports.default=GetIssueSecurityLevelMembers).description="Returns issue security level members.",GetIssueSecurityLevelMembers.flags=Object.assign(Object.assign(Object.assign({},atlascli_common_1.getStartAtAndMaxFlags),{issueSecuritySchemeId:core_1.Flags.integer({char:"i",description:"The ID of the issue security scheme. Use the Get issue security schemes operation to get a list of issue security scheme IDs.",required:!0}),issueSecurityLevelId:core_1.Flags.string({char:"l",description:"The list of issue security level IDs. To include multiple issue security levels separate IDs with comma: -i=10000,10001"}),expand:core_1.Flags.string({char:"e",description:"Use expand to include additional information in the response. This parameter accepts a comma-separated list.",options:["all","field","group","projectRole","user"]}),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 GetIssueSecurityLevel extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=[];let{flags:t,argv:i}=await this.parse(GetIssueSecurityLevel),r=this.getJira(e,t);s.push(...t.id||[]),s.push(...Array.isArray(i)?i:"string"==typeof i?[i]:[]),0===s.length&&this.error("No issue security level id is specified.");e=s.sort().map(e=>r.issueSecurityLevelManager.getIssueSecurityLevel(e));await Promise.all(e).then(e=>{0<e.length&&this.display(t,e)})}}(exports.default=GetIssueSecurityLevel).strict=!1,GetIssueSecurityLevel.description="Returns details of an issue security level.",GetIssueSecurityLevel.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of issue security level.",multiple:!0})},atlascli_common_1.CommandWithSite.flags),GetIssueSecurityLevel.args=[{name:"issueSecurityLevelId",description:"The ID of issue security level."}];
|
|
@@ -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 AssociateSecurityScheme extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var i=(await this.parse(AssociateSecurityScheme)).flags,i=tslib_1.__rest(await this.removeFlagsFromBase(i),[]);i.oldToNewSecurityLevelMappings=[{newLevelId:i.newLevelId,oldLevelId:i.oldLevelId}],delete i.oldLevelId,delete i.newLevelId,await s.issueSecuritySchemeManager.associateSecurityScheme(i)}}(exports.default=AssociateSecurityScheme).description="Associates an issue security scheme with a project and remaps security levels of issues to the new levels, if provided.",AssociateSecurityScheme.flags=Object.assign({newLevelId:core_1.Flags.string({char:"n",description:"The new issue security level ID. Providing null will clear the assigned old level from issues."}),oldLevelId:core_1.Flags.string({char:"o",description:"The old issue security level ID. Providing null will remap all issues without any assigned levels."}),projectId:core_1.Flags.string({char:"p",description:"The ID of the project.",required:!0}),schemeId:core_1.Flags.string({char:"s",description:"The ID of the issue security scheme. Providing null will clear the association with the issue security scheme.",required:!0}),silent:core_1.Flags.boolean({description:"If you activate this flag progress bar will not be shown."})},atlascli_common_1.BaseCommandWithCloudSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let atlascli_common_1=require("@thestarware/atlascli-common");class GetAllIssueSecurityScheme extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(GetAllIssueSecurityScheme)).flags,e=await this.getJira(e,s).issueSecuritySchemeManager.getAllIssueSecuritySchemes();this.display(s,e.issueSecuritySchemes)}}(exports.default=GetAllIssueSecurityScheme).description="Returns all issue security schemes",GetAllIssueSecurityScheme.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 GetIssueSecurityScheme extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(GetIssueSecurityScheme)).flags,e=this.getJira(e,s),t=this.removeFlagsFromBase(s).id,e=await e.issueSecuritySchemeManager.getIssueSecurityScheme(t);this.display(s,e.levels)}}(exports.default=GetIssueSecurityScheme).description="Returns an issue security scheme along with its security levels.",GetIssueSecurityScheme.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue security scheme. Use the Get issue security schemes operation to get a list of issue security scheme IDs.",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 GetIssueSecurityScheme extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=[];let{flags:t,argv:i}=await this.parse(GetIssueSecurityScheme),r=this.getJira(e,t);s.push(...t.id||[]),s.push(...Array.isArray(i)?i:"string"==typeof i?[i]:[]),0===s.length&&this.error("No issue security scheme id is specified.");e=s.sort().map(e=>r.issueSecuritySchemeManager.getIssueSecurityScheme(e));await Promise.all(e).then(e=>{0<e.length&&this.display(t,e)})}}(exports.default=GetIssueSecurityScheme).strict=!1,GetIssueSecurityScheme.description="Returns an issue security scheme along with its security levels.",GetIssueSecurityScheme.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue security scheme. Use the Get issue security schemes operation to get a list of issue security scheme IDs.",multiple:!0})},atlascli_common_1.CommandWithSite.flags),GetIssueSecurityScheme.args=[{name:"issueSecuritySchemeId",description:"The ID of issue security 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 CreateIssueType extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(CreateIssueType)).flags,t=this.getJira(e,s),e=(e.cloud&&s.type&&this.error("`type` is deprecated on Cloud. Use `hierarchyLevel` instead."),e.cloud||void 0===s.hierarchyLevel||this.error("You can't use `hierarchyLevel` on server. Use `type` instead."),this.removeFlagsFromBase(s)),t=await t.issueTypeManager.createIssueType(e);this.display(s,t)}}(exports.default=CreateIssueType).description="Creates an issue type and adds it to the default issue type scheme",CreateIssueType.flags=Object.assign({name:core_1.Flags.string({char:"n",description:"The unique name for the issue type. The maximum length is 60 characters.",required:!0}),description:core_1.Flags.string({char:"d",description:"The description of the issue type."}),type:core_1.Flags.string({char:"t",description:"Whether the issue type is subtype or standard.",options:["subtype","standard"]}),hierarchyLevel:core_1.Flags.integer({char:"h",description:'The hierarchy level of the issue type. Use:\n"-1" for subtasks\n"0" for Base\nDefault: 0',options:["0","-1"]})},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 DeleteIssueType extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(DeleteIssueType)).flags;await this.getJira(e,s).issueTypeManager.deleteIssueType(s.id,{alternativeIssueTypeId:s.alternativeIssueTypeId})}}(exports.default=DeleteIssueType).description="My description.If the issue type is in use, all uses are updated with the alternative issue type (alternativeIssueTypeId)",DeleteIssueType.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",required:!0}),alternativeIssueTypeId:core_1.Flags.string({description:"The ID of the replacement issue type."})},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"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class GetAllIssueTypesForProjects extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,t){var s=(await this.parse(GetAllIssueTypesForProjects)).flags,r=await(0,project_util_1.getProject)(t,s.project),r=(s.projectId=parseInt(r.projectId,10),t.issueTypeManager.getAllIssueTypesForProjects({projectId:s.projectId,level:s.level}));this.display(s,r)}}(exports.default=GetAllIssueTypesForProjects).description="Gets issue types for a project.",GetAllIssueTypesForProjects.flags=Object.assign({project:core_1.Flags.string({char:"p",description:"The ID or key of the project.",required:!0}),level:core_1.Flags.integer({char:"l",description:'The level of the issue type to filter by. Use:\n "-1" for subtasks\n "0" for Base\n "1" for Epic'})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let atlascli_common_1=require("@thestarware/atlascli-common");class GetAllIssueType extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(GetAllIssueType)).flags,e=await this.getJira(e,s).issueTypeManager.getAllIssueTypes();this.display(s,e)}}(exports.default=GetAllIssueType).description="Gets all issue types.",GetAllIssueType.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 GetAlternativeIssueTypes extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(GetAlternativeIssueTypes)).flags,e=await this.getJira(e,s).issueTypeManager.getAlternativeIssueTypes(s.id);this.display(s,e)}}(exports.default=GetAlternativeIssueTypes).description="Gets a list of issue types that can be used to replace the issue type. The alternative issue types are those assigned to the same workflow scheme, field configuration scheme, and screen scheme.",GetAlternativeIssueTypes.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",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 GetIssueType extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=[];let{flags:t,argv:i}=await this.parse(GetIssueType),a=this.getJira(e,t);s.push(...t.id||[]),s.push(...Array.isArray(i)?i:"string"==typeof i?[i]:[]),0===s.length&&this.error("No issue type id is specified.");e=s.sort().map(e=>a.issueTypeManager.getIssueType(e));await Promise.all(e).then(e=>{0<e.length&&this.display(t,e)})}}(exports.default=GetIssueType).strict=!1,GetIssueType.description="Gets an issue type.",GetIssueType.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",multiple:!0})},atlascli_common_1.CommandWithSite.flags),GetIssueType.args=[{name:"id",description:"The ID of the issue type."}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class SetAvatar extends atlascli_common_1.CommandWithSite{async runWithSite(a){var e=(await this.parse(SetAvatar)).flags;await this.getJira(a,e).issueTypeManager.setIssueTypeAvatar(e.id,e.avatarId)}}(exports.default=SetAvatar).description="Sets issue type avatar.",SetAvatar.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",required:!0}),avatarId:core_1.Flags.string({char:"a",description:"The ID of the avatar.",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 UpdateIssueType extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(UpdateIssueType)).flags,e=this.getJira(e,s),t=this.removeFlagsFromBase(s),i=t.id,t=tslib_1.__rest(t,["id"]),e=(this.log(t),await e.issueTypeManager.updateIssueType(i,t));this.display(s,e)}}(exports.default=UpdateIssueType).description="Updates the issue type.",UpdateIssueType.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",required:!0}),name:core_1.Flags.string({char:"n",description:"The unique name for the issue type. The maximum length is 60 characters."}),description:core_1.Flags.string({char:"d",description:"The description of the issue type."}),avatarId:core_1.Flags.integer({description:"The ID of an issue type avatar."})},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"),upload_1=tslib_1.__importDefault(require("../project-avatar/upload"));class UploadAvatar extends atlascli_common_1.BaseCommandWithCloudOrServerSite{async runWithCloudSite(a,e){var{flags:t,args:i}=await this.parse(UploadAvatar),{fileContent:i,fileName:r}=(0,atlascli_common_1.readFile)(i.avatarFile),r=await e.issueTypeManager.uploadAvatarCloud(t.id,r,i,upload_1.default.getCloudCropInfo(t));this.display(t,r),t.set&&await e.issueTypeManager.setIssueTypeAvatar(t.id,r.id)}async runWithServerSite(a,e){var{flags:t,args:i}=await this.parse(UploadAvatar),{fileContent:i,fileName:r}=(0,atlascli_common_1.readFile)(i.avatarFile),r=await e.avatarManager.uploadIssueTypeAvatar(t.id,r,i,upload_1.default.getServerCropInfo(t));this.display(t,r),t.set&&await e.issueTypeManager.setIssueTypeAvatar(t.id,r.id)}}(exports.default=UploadAvatar).description="Uploads an avatar for the issue type.",UploadAvatar.flags=Object.assign(Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",required:!0}),set:core_1.Flags.boolean({description:"Whether the uploaded avatar will be set as issue type avatar or not.\nNote: If you do not enable this flag you should update manually the issue type avatar with `jira issue-type:set-avatar` command."})},(0,atlascli_common_1.getCropInfoFlags)()),atlascli_common_1.CommandWithSite.flags),UploadAvatar.args=[{required:!0,name:"avatarFile",description:"Location of avatar file"}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Object.defineProperty(exports,"__esModule",{value:!0});let core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class DeleteIssueTypeProperty extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(DeleteIssueTypeProperty)).flags;await this.getJira(e,t).issueTypePropertyManager.deleteIssueTypeProperty(t.id,t.key)}}(exports.default=DeleteIssueTypeProperty).description="Deletes an issue type property.",DeleteIssueTypeProperty.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",required:!0}),key:core_1.Flags.string({description:"The key of the property.",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 GetPropertyKeys extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(GetPropertyKeys)).flags,e=await this.getJira(e,t).issueTypePropertyManager.getIssueTypePropertyKeys(t.id);this.display(t,e.keys)}}(exports.default=GetPropertyKeys).description="Gets issue type property keys.",GetPropertyKeys.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",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"),get_1=require("../issue-property/get");class GetIssueTypeProperty extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(GetIssueTypeProperty)).flags,e=await this.getJira(e,t).issueTypePropertyManager.getIssueTypeProperty(t.id,t.key);this.display(t,(0,get_1.modifyPropertyResponseForDisplay)(e))}}(exports.default=GetIssueTypeProperty).description="Gets issue type property.",GetIssueTypeProperty.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",required:!0}),key:core_1.Flags.string({description:"The key of the property.",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"),set_1=require("../issue-property/set");class SetIssueTypeProperty extends atlascli_common_1.CommandWithSite{async runWithSite(e){var{flags:t,args:s}=await this.parse(SetIssueTypeProperty),e=this.getJira(e,t);let r=s.jsonBody;if(void 0===r&&(!(r=await(0,atlascli_common_1.readStdin)())||0===r.length))throw new Error("You should provide a valid JSON!");await e.issueTypePropertyManager.setIssueTypeProperty(t.id,t.key,(0,set_1.isJson)(r)?JSON.parse(r):r)}}(exports.default=SetIssueTypeProperty).description="Sets the value of the issue type property. Use this resource to store and update data against an issue type. The value of the request body must be a valid, non-empty JSON blob. The maximum length is 32768 characters.",SetIssueTypeProperty.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type.",required:!0}),key:core_1.Flags.string({description:"The key of the property.",required:!0})},atlascli_common_1.CommandWithSite.flags),SetIssueTypeProperty.args=[{name:"jsonBody",description:"Issue property set 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"),update_1=require("./update");class AddIssueTypeToIssueTypeScheme extends atlascli_common_1.BaseCommandWithCloudOrServerSite{async runWithCloudSite(e,s){var i=(await this.parse(AddIssueTypeToIssueTypeScheme)).flags;await s.issueTypeSchemeManager.addIssueTypeToIssueTypeScheme(i.id,{issueTypeIds:i.issueTypeIds.split(",")})}async runWithServerSite(e,s){var i=(await this.parse(AddIssueTypeToIssueTypeScheme)).flags,a=await(0,update_1.getServerUpdateBody)(i.id,{},s);a.issueTypeIds=this.getUniqueIssueTypeIds(i.issueTypeIds.split(","),a.issueTypeIds),await s.issueTypeSchemeManager.updateIssueTypeScheme(i.id,a)}getUniqueIssueTypeIds(e,s){return[...new Set(e.concat(s))]}}(exports.default=AddIssueTypeToIssueTypeScheme).description="Adds issue types to an issue type scheme.",AddIssueTypeToIssueTypeScheme.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type scheme.",required:!0}),issueTypeIds:core_1.Flags.string({description:"Issue type Id you want to add. Example usage: --issueTypeIds=1,2,3",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"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class AssignIssueTypeSchemeToProject extends atlascli_common_1.BaseCommandWithCloudOrServerSite{async runWithCloudSite(e,s){var t=(await this.parse(AssignIssueTypeSchemeToProject)).flags,r=await(0,project_util_1.getProject)(s,t.project);t.projectId=r.projectId,await s.issueTypeSchemeManager.assignIssueTypeSchemeToProject({issueTypeSchemeId:t.id,projectId:t.projectId})}async runWithServerSite(e,s){var t=(await this.parse(AssignIssueTypeSchemeToProject)).flags;await s.issueTypeSchemeManager.assignIssueTypeSchemeToProject(t.id,[t.project])}}(exports.default=AssignIssueTypeSchemeToProject).description="Assigns an issue type scheme to a project.",AssignIssueTypeSchemeToProject.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type scheme",required:!0}),project:core_1.Flags.string({description:"Project ID or Key.",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 CreateIssueTypeScheme extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(CreateIssueTypeScheme)).flags,e=this.getJira(e,s),t=this.removeFlagsFromBase(s),e=(t.issueTypeIds=t.issueTypeIds.split(","),await e.issueTypeSchemeManager.createIssueTypeScheme(t));this.display(s,e)}}(exports.default=CreateIssueTypeScheme).description="Creates an issue type schemes.",CreateIssueTypeScheme.flags=Object.assign({name:core_1.Flags.string({char:"n",description:"The name of the issue type scheme. The name must be unique.",required:!0}),description:core_1.Flags.string({char:"d",description:"The description of the issue type scheme."}),defaultIssueTypeId:core_1.Flags.string({description:"The ID of the default issue type of the issue type scheme."}),issueTypeIds:core_1.Flags.string({description:"The list of issue types IDs of the issue type scheme. At least one standard issue type ID is required. You can provide multiple IDs by separating them with comma. Example: --issueTypeIds=1,2,3",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 DeleteIssueTypeScheme extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(DeleteIssueTypeScheme)).flags;await this.getJira(e,s).issueTypeSchemeManager.deleteIssueTypeScheme(s.id)}}(exports.default=DeleteIssueTypeScheme).description="Deletes an issue type scheme.",DeleteIssueTypeScheme.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type scheme.",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"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class GetIssueTypesForProjects extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var t=(await this.parse(GetIssueTypesForProjects)).flags,a=this.removeFlagsFromBase(t),{project:r,all:o}=a,a=tslib_1.__rest(a,["project","all"]),r=await(0,project_util_1.getProject)(s,r),r=(a.projectId=r.projectId.map(e=>Number.parseInt(e,10)),await s.issueTypeSchemeManager.getIssueTypeSchemesForProjects(a));o&&(r.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(r,a,s.issueTypeSchemeManager.getIssueTypeSchemesForProjects.bind(s.issueTypeSchemeManager))),this.display(t,this.modifyResponseForDisplay(r.values))}modifyResponseForDisplay(e){let t=[];return e.forEach(s=>{s.projectIds.forEach(e=>{t.push({projectId:e,issueTypeSchemeId:s.issueTypeScheme.id})})}),t}}(exports.default=GetIssueTypesForProjects).description="Gets issue type scheme IDs that given projects used.",GetIssueTypesForProjects.flags=Object.assign(Object.assign(Object.assign({project:core_1.Flags.string({char:"p",description:"The IDs or keys of the projects. You can provide multiple values by separating them with comma. Example: --project=1 2 3",required:!0,multiple:!0})},(0,atlascli_common_1.getStartAtAndMaxFlags)()),atlascli_common_1.CommandWithSite.flags),{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 GetIssueTypes extends atlascli_common_1.BaseCommandWithCloudOrServerSite{async runWithCloudSite(e,s){var i=(await this.parse(GetIssueTypes)).flags,s=await s.issueTypeSchemeManager.getAllIssueTypeSchemes({id:[i.id],expand:"issueTypes"});this.display(i,null==(i=s.values[0].issueTypes)?void 0:i.values)}async runWithServerSite(e,s){let i=(await this.parse(GetIssueTypes)).flags;s=await s.issueTypeSchemeManager.getAllIssueTypeSchemes({expand:"schemes.issueTypes"});this.display(i,s.schemes.filter(e=>e.id===i.id.toString())[0].issueTypes)}}(exports.default=GetIssueTypes).description="Gets issue types the issue type scheme have.",GetIssueTypes.flags=Object.assign({id:core_1.Flags.integer({char:"i",description:"The ID of the issue scheme.",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 GetIssueTypeMappings extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var a=(await this.parse(GetIssueTypeMappings)).flags,t=this.removeFlagsFromBase(a),i=t.all,t=tslib_1.__rest(t,["all"]),l=await s.issueTypeSchemeManager.getIssueTypeSchemeMappings(t);i&&(l.values=await(0,atlascli_common_1.getAllPaginatedResponseValues)(l,t,s.issueTypeSchemeManager.getIssueTypeSchemeMappings.bind(s.issueTypeSchemeManager))),this.display(a,l.values)}}(exports.default=GetIssueTypeMappings).description="Gets issue type scheme - issue type mappings.",GetIssueTypeMappings.flags=Object.assign(Object.assign(Object.assign({id:core_1.Flags.string({char:"i",description:"Issue type schemes IDs you want to get mappings from. You can provide multiple IDs by seperating them with comma. Example: --id=10000,10001"})},(0,atlascli_common_1.getStartAtAndMaxFlags)()),atlascli_common_1.CommandWithSite.flags),{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 GetIssueTypeSchemeProjects extends atlascli_common_1.BaseCommandWithCloudOrServerSite{async runWithCloudSite(e,s){var t=(await this.parse(GetIssueTypeSchemeProjects)).flags,s=await s.issueTypeSchemeManager.getAllIssueTypeSchemes({id:[t.id],expand:"projects"});this.display(t,s.values[0]?null==(t=s.values[0].projects)?void 0:t.values:[])}async runWithServerSite(e,s){var t=(await this.parse(GetIssueTypeSchemeProjects)).flags,s=await s.issueTypeSchemeManager.getIssueTypeSchemeProjects(t.id);this.display(t,s)}}(exports.default=GetIssueTypeSchemeProjects).description="Gets the projects the issue type scheme is assigned to.",GetIssueTypeSchemeProjects.flags=Object.assign({id:core_1.Flags.integer({char:"i",description:"The ID of the issue scheme.",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 MoveIssueTypes extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var i=(await this.parse(MoveIssueTypes)).flags,i=this.removeFlagsFromBase(i),t=i.id,i=tslib_1.__rest(i,["id"]);i.issueTypeIds=i.issueTypeIds.split(","),await s.issueTypeSchemeManager.changeOrderOfIssueTypes(t,i)}}(exports.default=MoveIssueTypes).description="Changes order of the issue types in an issue type scheme.",MoveIssueTypes.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type scheme.",required:!0}),issueTypeIds:core_1.Flags.string({description:"Issue type Ids you want to move. Example usage: --issueTypeIds=1,2,3",required:!0}),after:core_1.Flags.string({description:"The ID of the issue type to place the moved issue types after."}),position:core_1.Flags.string({description:"The position the issue types should be moved to.",options:["First, Last"]})},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 RemoveAllAssociations extends atlascli_common_1.BaseCommandWithServerSite{async runWithServerSite(e,s){var i=(await this.parse(RemoveAllAssociations)).flags;await s.issueTypeSchemeManager.removeAllAssociations(i.id)}}(exports.default=RemoveAllAssociations).description="Removes all project associations from issue type scheme.",RemoveAllAssociations.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type scheme.",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 RemoveIssueType extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,s){var i=(await this.parse(RemoveIssueType)).flags;await s.issueTypeSchemeManager.removeIssueType(i.id,i.issueTypeId)}}(exports.default=RemoveIssueType).description="Removes issue type from an issue type scheme.",RemoveIssueType.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type scheme.",required:!0}),issueTypeId:core_1.Flags.string({description:"Issue type Id you want to remove.",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"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class RemoveAssociation extends atlascli_common_1.BaseCommandWithServerSite{async runWithServerSite(e,t){var o=(await this.parse(RemoveAssociation)).flags,s=tslib_1.__rest(this.removeFlagsFromBase(o),[]),i=await(0,project_util_1.getProject)(t,s.project);s.projectId=i.projectId,delete s.project,await t.issueTypeSchemeManager.removeProjectAssociation(o.id,o.projectId)}}(exports.default=RemoveAssociation).description="Removes project association from issue type scheme.",RemoveAssociation.flags=Object.assign({id:core_1.Flags.string({char:"i",description:"The ID of the issue type scheme.",required:!0}),project:core_1.Flags.string({char:"p",description:"Project Ids or keys.",required:!0})},atlascli_common_1.CommandWithSite.flags);
|