@thestarware/atlascli-jira 1.2.4 → 1.2.6
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/README.md +24 -108
- package/lib/commands/announcement-banner/get.js +13 -1
- package/lib/commands/announcement-banner/update.js +30 -1
- package/lib/commands/application-role/get-all.js +22 -2
- package/lib/commands/application-role/get.js +19 -1
- package/lib/commands/application-role/update.js +23 -1
- package/lib/commands/attachment/add.js +33 -1
- package/lib/commands/attachment/delete.js +16 -1
- package/lib/commands/attachment/get-content.js +18 -1
- package/lib/commands/attachment/get-jira-settings.js +14 -1
- package/lib/commands/attachment/get-metadata-for-zip.js +36 -1
- package/lib/commands/attachment/get-metadata.js +30 -1
- package/lib/commands/attachment/get-thumbnails.js +17 -1
- package/lib/commands/audit-record/get-associated.js +81 -1
- package/lib/commands/audit-record/get-changed.js +62 -1
- package/lib/commands/avatar/delete-universal-avatar.js +15 -1
- package/lib/commands/avatar/delete-user-avatar.js +21 -1
- package/lib/commands/avatar/get-all-user-avatars.js +22 -0
- package/lib/commands/avatar/get-image-by-id.js +17 -1
- package/lib/commands/avatar/get-image-by-owner.js +17 -1
- package/lib/commands/avatar/get-image-by-type.js +17 -1
- package/lib/commands/avatar/get-system-avatars.js +19 -1
- package/lib/commands/avatar/get-universal-avatars.js +16 -1
- package/lib/commands/avatar/set-user-avatar.js +21 -1
- package/lib/commands/avatar/upload-universal-avatar.js +32 -1
- package/lib/commands/avatar/upload-user-avatar.js +25 -1
- package/lib/commands/comment/add.js +25 -1
- package/lib/commands/comment/delete.js +14 -1
- package/lib/commands/comment/get-for-issue.js +32 -1
- package/lib/commands/comment/get-with-ids.js +31 -1
- package/lib/commands/comment/get.js +22 -1
- package/lib/commands/comment/update.js +26 -1
- package/lib/commands/comment-property/delete-property.js +14 -1
- package/lib/commands/comment-property/get-property-keys.js +15 -1
- package/lib/commands/comment-property/get-property.js +15 -1
- package/lib/commands/comment-property/set-property.js +14 -1
- package/lib/commands/config/add.js +119 -1
- package/lib/commands/config/delete.js +32 -1
- package/lib/commands/config/get-default.js +18 -1
- package/lib/commands/config/list.js +22 -1
- package/lib/commands/config/set-default.js +31 -1
- package/lib/commands/dashboard/add-edit-permission.js +43 -1
- package/lib/commands/dashboard/add-share-permission.js +24 -1
- package/lib/commands/dashboard/copy.js +16 -1
- package/lib/commands/dashboard/create.js +15 -1
- package/lib/commands/dashboard/delete.js +13 -1
- package/lib/commands/dashboard/get-all.js +26 -1
- package/lib/commands/dashboard/get-permissions.js +20 -1
- package/lib/commands/dashboard/get.js +30 -1
- package/lib/commands/dashboard/search.js +35 -1
- package/lib/commands/dashboard/update.js +16 -1
- package/lib/commands/dashboard-gadget/add.js +19 -1
- package/lib/commands/dashboard-gadget/get-availables.js +20 -1
- package/lib/commands/dashboard-gadget/remove.js +13 -1
- package/lib/commands/dashboard-gadget/search.js +16 -1
- package/lib/commands/dashboard-gadget/update.js +18 -1
- package/lib/commands/dashboard-item-property/delete.js +15 -1
- package/lib/commands/dashboard-item-property/get-keys.js +15 -1
- package/lib/commands/dashboard-item-property/get.js +15 -1
- package/lib/commands/dashboard-item-property/set.js +29 -1
- package/lib/commands/filter/add-favourite.js +18 -1
- package/lib/commands/filter/change-owner.js +24 -1
- package/lib/commands/filter/create.js +30 -1
- package/lib/commands/filter/delete.js +18 -1
- package/lib/commands/filter/get-columns.js +20 -1
- package/lib/commands/filter/get-details.js +25 -1
- package/lib/commands/filter/get-favourites.js +18 -1
- package/lib/commands/filter/get-my.js +19 -1
- package/lib/commands/filter/get.js +40 -1
- package/lib/commands/filter/remove-favourite.js +18 -1
- package/lib/commands/filter/reset-columns.js +18 -1
- package/lib/commands/filter/search.js +50 -1
- package/lib/commands/filter/set-columns.js +18 -1
- package/lib/commands/filter/update.js +34 -1
- package/lib/commands/filter-sharing/add-edit-permission.js +106 -1
- package/lib/commands/filter-sharing/add-share-permission.js +84 -1
- package/lib/commands/filter-sharing/delete-permission.js +21 -1
- package/lib/commands/filter-sharing/get-default-scope.js +12 -1
- package/lib/commands/filter-sharing/get-edit-permissions.js +21 -1
- package/lib/commands/filter-sharing/get-permission.js +24 -1
- package/lib/commands/filter-sharing/get-share-permissions.js +52 -1
- package/lib/commands/filter-sharing/set-default-scope.js +21 -1
- package/lib/commands/group/add-user.js +40 -1
- package/lib/commands/group/create.js +28 -1
- package/lib/commands/group/find-groups.js +19 -1
- package/lib/commands/group/get-all.js +24 -1
- package/lib/commands/group/get-users.js +32 -1
- package/lib/commands/group/get.js +58 -1
- package/lib/commands/group/remove-user.js +45 -1
- package/lib/commands/group/remove.js +45 -1
- package/lib/commands/group-and-user-picker/find-groups.js +62 -1
- package/lib/commands/group-and-user-picker/find-users.js +91 -1
- package/lib/commands/issue/archive.js +22 -1
- package/lib/commands/issue/assign.js +29 -1
- package/lib/commands/issue/create.js +306 -1
- package/lib/commands/issue/delete.js +20 -1
- package/lib/commands/issue/edit.js +49 -1
- package/lib/commands/issue/get-changelogs.js +42 -1
- package/lib/commands/issue/get-create-metadata.js +83 -1
- package/lib/commands/issue/get-edit-metadata.js +46 -1
- package/lib/commands/issue/get-events.js +13 -1
- package/lib/commands/issue/get-transitions.js +38 -1
- package/lib/commands/issue/get.js +52 -1
- package/lib/commands/issue/restore.js +15 -1
- package/lib/commands/issue/send-notifications.js +49 -1
- package/lib/commands/issue/transition.js +61 -1
- package/lib/commands/issue-field/create.js +18 -1
- package/lib/commands/issue-field/delete.js +31 -1
- package/lib/commands/issue-field/get-all.js +18 -1
- package/lib/commands/issue-field/move-trash.js +18 -1
- package/lib/commands/issue-field/restore-trash.js +18 -1
- package/lib/commands/issue-field/search-trash.js +23 -1
- package/lib/commands/issue-field/search.js +24 -1
- package/lib/commands/issue-field/update.js +18 -1
- package/lib/commands/issue-field-configuration/assign-issue-type.js +25 -1
- package/lib/commands/issue-field-configuration/assign-scheme-to-project.js +24 -1
- package/lib/commands/issue-field-configuration/create-scheme.js +22 -1
- package/lib/commands/issue-field-configuration/create.js +22 -1
- package/lib/commands/issue-field-configuration/delete-scheme.js +18 -1
- package/lib/commands/issue-field-configuration/delete.js +18 -1
- package/lib/commands/issue-field-configuration/get-all-issue-type-items.js +23 -1
- package/lib/commands/issue-field-configuration/get-all-schemes.js +24 -1
- package/lib/commands/issue-field-configuration/get-all.js +27 -1
- package/lib/commands/issue-field-configuration/get-items.js +24 -1
- package/lib/commands/issue-field-configuration/get-project-schemes.js +42 -1
- package/lib/commands/issue-field-configuration/remove-issue-types.js +23 -1
- package/lib/commands/issue-field-configuration/update-items.js +29 -1
- package/lib/commands/issue-field-configuration/update-scheme.js +23 -1
- package/lib/commands/issue-field-configuration/update.js +25 -1
- package/lib/commands/issue-field-context/add-issue-types.js +26 -1
- package/lib/commands/issue-field-context/assign-to-projects.js +30 -1
- package/lib/commands/issue-field-context/create.js +38 -1
- package/lib/commands/issue-field-context/delete.js +20 -1
- package/lib/commands/issue-field-context/get-all.js +27 -1
- package/lib/commands/issue-field-context/get-contexts-for-projects-and-issue-types.js +26 -1
- package/lib/commands/issue-field-context/get-default-values.js +29 -1
- package/lib/commands/issue-field-context/get-issue-types.js +27 -1
- package/lib/commands/issue-field-context/get-project-mappings.js +37 -1
- package/lib/commands/issue-field-context/remove-from-projects.js +31 -1
- package/lib/commands/issue-field-context/remove-issue-types.js +26 -1
- package/lib/commands/issue-field-context/set-default-values.js +31 -1
- package/lib/commands/issue-field-context/update.js +28 -1
- package/lib/commands/issue-field-option/create-for-context.js +26 -1
- package/lib/commands/issue-field-option/delete-for-context.js +22 -1
- package/lib/commands/issue-field-option/get-for-context.js +25 -1
- package/lib/commands/issue-field-option/get.js +34 -1
- package/lib/commands/issue-field-option/reorder-for-context.js +25 -1
- package/lib/commands/issue-field-option/update-for-context.js +26 -1
- package/lib/commands/issue-link/create.js +89 -1
- package/lib/commands/issue-link/delete.js +26 -1
- package/lib/commands/issue-link/get.js +48 -1
- package/lib/commands/issue-link-type/create.js +26 -1
- package/lib/commands/issue-link-type/delete.js +14 -1
- package/lib/commands/issue-link-type/get-all.js +14 -1
- package/lib/commands/issue-link-type/get.js +30 -1
- package/lib/commands/issue-link-type/update.js +24 -1
- package/lib/commands/issue-navigator-setting/get-columns.js +14 -1
- package/lib/commands/issue-navigator-setting/set-columns.js +14 -1
- package/lib/commands/issue-priority/create.js +35 -1
- package/lib/commands/issue-priority/delete.js +28 -1
- package/lib/commands/issue-priority/move.js +27 -1
- package/lib/commands/issue-priority/search.js +44 -1
- package/lib/commands/issue-priority/set-default.js +20 -1
- package/lib/commands/issue-priority/update.js +38 -1
- package/lib/commands/issue-property/delete-bulk.js +33 -1
- package/lib/commands/issue-property/delete.js +14 -1
- package/lib/commands/issue-property/get-keys.js +15 -1
- package/lib/commands/issue-property/get.js +21 -1
- package/lib/commands/issue-property/set-bulk.js +49 -1
- package/lib/commands/issue-property/set-by-issue-bulk.js +47 -1
- package/lib/commands/issue-property/set-by-list-bulk.js +34 -1
- package/lib/commands/issue-property/set.js +38 -1
- package/lib/commands/issue-remote-link/create.js +56 -1
- package/lib/commands/issue-remote-link/delete-by-global-id.js +16 -1
- package/lib/commands/issue-remote-link/delete.js +15 -1
- package/lib/commands/issue-remote-link/get-all.js +27 -1
- package/lib/commands/issue-remote-link/get.js +22 -1
- package/lib/commands/issue-remote-link/update.js +40 -1
- package/lib/commands/issue-resolution/create.js +20 -1
- package/lib/commands/issue-resolution/delete.js +28 -1
- package/lib/commands/issue-resolution/get-all.js +13 -1
- package/lib/commands/issue-resolution/get.js +33 -1
- package/lib/commands/issue-resolution/move.js +26 -1
- package/lib/commands/issue-resolution/search.js +40 -1
- package/lib/commands/issue-resolution/set-default.js +17 -1
- package/lib/commands/issue-resolution/update.js +25 -1
- package/lib/commands/issue-search/get-picker-suggestions.js +35 -1
- package/lib/commands/issue-search/search.js +39 -1
- package/lib/commands/issue-search/test-jql.js +29 -1
- package/lib/commands/issue-security-level/get-members.js +46 -1
- package/lib/commands/issue-security-level/get.js +34 -1
- package/lib/commands/issue-security-scheme/get-all.js +14 -1
- package/lib/commands/issue-security-scheme/get-levels.js +20 -1
- package/lib/commands/issue-security-scheme/get.js +34 -1
- package/lib/commands/issue-type/create.js +20 -1
- package/lib/commands/issue-type/delete.js +14 -1
- package/lib/commands/issue-type/get-all-for-projects.js +17 -1
- package/lib/commands/issue-type/get-all.js +14 -1
- package/lib/commands/issue-type/get-alternatives.js +15 -1
- package/lib/commands/issue-type/get.js +30 -1
- package/lib/commands/issue-type/set-avatar.js +14 -1
- package/lib/commands/issue-type/update.js +18 -1
- package/lib/commands/issue-type/upload-avatar.js +38 -1
- package/lib/commands/issue-type-property/delete.js +14 -1
- package/lib/commands/issue-type-property/get-keys.js +15 -1
- package/lib/commands/issue-type-property/get.js +16 -1
- package/lib/commands/issue-type-property/set.js +28 -1
- package/lib/commands/issue-type-scheme/add-issue-types.js +23 -1
- package/lib/commands/issue-type-scheme/assign-to-project.js +20 -1
- package/lib/commands/issue-type-scheme/create.js +20 -1
- package/lib/commands/issue-type-scheme/delete.js +14 -1
- package/lib/commands/issue-type-scheme/get-for-projects.js +32 -1
- package/lib/commands/issue-type-scheme/get-issue-types.js +20 -1
- package/lib/commands/issue-type-scheme/get-mappings.js +20 -1
- package/lib/commands/issue-type-scheme/get-projects.js +20 -1
- package/lib/commands/issue-type-scheme/move-issue-types.js +16 -1
- package/lib/commands/issue-type-scheme/remove-all-projects.js +14 -1
- package/lib/commands/issue-type-scheme/remove-issue-type.js +13 -1
- package/lib/commands/issue-type-scheme/remove-project.js +20 -1
- package/lib/commands/issue-type-scheme/search.js +47 -1
- package/lib/commands/issue-type-scheme/set-projects.js +20 -1
- package/lib/commands/issue-type-scheme/update.js +40 -1
- package/lib/commands/issue-type-screen-scheme/add-mappings.js +20 -1
- package/lib/commands/issue-type-screen-scheme/assign-to-project.js +16 -1
- package/lib/commands/issue-type-screen-scheme/create.js +27 -1
- package/lib/commands/issue-type-screen-scheme/delete.js +13 -1
- package/lib/commands/issue-type-screen-scheme/get-for-projects.js +32 -1
- package/lib/commands/issue-type-screen-scheme/get-items.js +25 -1
- package/lib/commands/issue-type-screen-scheme/get-projects.js +20 -1
- package/lib/commands/issue-type-screen-scheme/remove-mappings.js +13 -1
- package/lib/commands/issue-type-screen-scheme/search.js +27 -1
- package/lib/commands/issue-type-screen-scheme/set-default-screen.js +13 -1
- package/lib/commands/issue-type-screen-scheme/update.js +13 -1
- package/lib/commands/issue-vote/add.js +18 -1
- package/lib/commands/issue-vote/delete.js +18 -1
- package/lib/commands/issue-vote/get-all.js +27 -1
- package/lib/commands/issue-watcher/add.js +25 -1
- package/lib/commands/issue-watcher/delete.js +25 -1
- package/lib/commands/issue-watcher/get-all.js +27 -1
- package/lib/commands/issue-watcher/get-bulk.js +24 -1
- package/lib/commands/jira-expression/analyse.js +78 -1
- package/lib/commands/jira-expression/evaluate.js +103 -1
- package/lib/commands/jira-settings/get-advanced.js +14 -1
- package/lib/commands/jira-settings/get-globals.js +14 -1
- package/lib/commands/jira-settings/get-properties.js +19 -1
- package/lib/commands/jira-settings/set-property.js +15 -1
- package/lib/commands/jql/convert-user-identifiers.js +14 -1
- package/lib/commands/jql/get-auto-complete-suggestions.js +16 -1
- package/lib/commands/jql/get-reference-data.js +39 -1
- package/lib/commands/jql/parse.js +22 -1
- package/lib/commands/jql/sanitize.js +26 -1
- package/lib/commands/label/get-all.js +29 -1
- package/lib/commands/license/get.js +13 -1
- package/lib/commands/myself/change-password.js +21 -1
- package/lib/commands/myself/delete-preference.js +17 -1
- package/lib/commands/myself/get-locale.js +13 -1
- package/lib/commands/myself/get-preference.js +27 -1
- package/lib/commands/myself/get.js +21 -1
- package/lib/commands/myself/set-preference.js +37 -1
- package/lib/commands/myself/update-user.js +24 -1
- package/lib/commands/notification-scheme/add.js +75 -1
- package/lib/commands/notification-scheme/create.js +80 -1
- package/lib/commands/notification-scheme/delete-notification.js +22 -1
- package/lib/commands/notification-scheme/delete.js +18 -1
- package/lib/commands/notification-scheme/get-all.js +57 -1
- package/lib/commands/notification-scheme/get-projects.js +29 -1
- package/lib/commands/notification-scheme/get.js +75 -1
- package/lib/commands/notification-scheme/update.js +23 -1
- package/lib/commands/permission/check-global-permission.js +53 -1
- package/lib/commands/permission/check-issue-permission.js +60 -1
- package/lib/commands/permission/check-project-permission.js +65 -1
- package/lib/commands/permission/get-all.js +23 -1
- package/lib/commands/permission/get-my.js +33 -1
- package/lib/commands/permission/get-permitted.js +30 -1
- package/lib/commands/permission-scheme/create-grant.js +54 -1
- package/lib/commands/permission-scheme/create-scheme.js +21 -1
- package/lib/commands/permission-scheme/delete-grant.js +23 -1
- package/lib/commands/permission-scheme/delete-scheme.js +18 -1
- package/lib/commands/permission-scheme/get-all-grants.js +39 -1
- package/lib/commands/permission-scheme/get-all.js +38 -1
- package/lib/commands/permission-scheme/get-grant.js +65 -1
- package/lib/commands/permission-scheme/get.js +24 -1
- package/lib/commands/project/archive.js +15 -1
- package/lib/commands/project/create.js +26 -1
- package/lib/commands/project/delete.js +15 -1
- package/lib/commands/project/get-all-issue-types.js +16 -1
- package/lib/commands/project/get-all.js +16 -1
- package/lib/commands/project/get-issue-type-hierarchy.js +15 -1
- package/lib/commands/project/get-notification-schema.js +16 -1
- package/lib/commands/project/get.js +31 -1
- package/lib/commands/project/project.js +40 -1
- package/lib/commands/project/restore.js +18 -1
- package/lib/commands/project/search.js +28 -1
- package/lib/commands/project/unarchive.js +18 -1
- package/lib/commands/project/update.js +38 -1
- package/lib/commands/project-avatar/delete.js +14 -1
- package/lib/commands/project-avatar/get-all.js +21 -1
- package/lib/commands/project-avatar/set.js +19 -1
- package/lib/commands/project-avatar/upload.js +51 -1
- package/lib/commands/project-category/create.js +16 -1
- package/lib/commands/project-category/delete.js +15 -1
- package/lib/commands/project-category/get-all.js +15 -1
- package/lib/commands/project-category/get.js +31 -1
- package/lib/commands/project-category/update.js +16 -1
- package/lib/commands/project-component/create.js +52 -1
- package/lib/commands/project-component/delete.js +15 -1
- package/lib/commands/project-component/get-all.js +21 -1
- package/lib/commands/project-component/get-issues-count.js +19 -1
- package/lib/commands/project-component/get.js +31 -1
- package/lib/commands/project-component/search.js +20 -1
- package/lib/commands/project-component/update.js +19 -1
- package/lib/commands/project-email/get-sender.js +17 -1
- package/lib/commands/project-email/set-sender.js +16 -1
- package/lib/commands/project-feature/get.js +36 -1
- package/lib/commands/project-feature/set.js +29 -1
- package/lib/commands/project-key-and-name-validation/get-valid-key.js +15 -1
- package/lib/commands/project-key-and-name-validation/get-valid-name.js +15 -1
- package/lib/commands/project-key-and-name-validation/validate-key.js +21 -1
- package/lib/commands/project-permission-scheme/get-issue-security-levels.js +17 -1
- package/lib/commands/project-permission-scheme/get-issue-security-scheme-levels.js +12 -1
- package/lib/commands/project-permission-scheme/get-issue-security-scheme.js +16 -1
- package/lib/commands/project-permission-scheme/get-permissions.js +11 -1
- package/lib/commands/project-permission-scheme/get.js +16 -1
- package/lib/commands/project-permission-scheme/set.js +16 -1
- package/lib/commands/project-property/delete.js +15 -1
- package/lib/commands/project-property/get-keys.js +17 -1
- package/lib/commands/project-property/get.js +16 -1
- package/lib/commands/project-property/set.js +19 -1
- package/lib/commands/project-role/create.js +16 -1
- package/lib/commands/project-role/delete.js +15 -1
- package/lib/commands/project-role/get-all.js +16 -1
- package/lib/commands/project-role/get-role.js +34 -1
- package/lib/commands/project-role/get-roles-and-details.js +19 -1
- package/lib/commands/project-role/get-roles.js +19 -1
- package/lib/commands/project-role/get.js +31 -1
- package/lib/commands/project-role/project-role.js +15 -1
- package/lib/commands/project-role/update-partial.js +24 -1
- package/lib/commands/project-role/update.js +15 -1
- package/lib/commands/project-role-actor/add-actors.js +42 -1
- package/lib/commands/project-role-actor/add-default-actors.js +42 -1
- package/lib/commands/project-role-actor/delete-actors.js +35 -1
- package/lib/commands/project-role-actor/delete-default-actors.js +30 -1
- package/lib/commands/project-role-actor/get.js +35 -1
- package/lib/commands/project-role-actor/set-actors.js +37 -1
- package/lib/commands/project-type/check-accessible.js +15 -1
- package/lib/commands/project-type/get-all.js +14 -1
- package/lib/commands/project-type/get-licensed.js +14 -1
- package/lib/commands/project-type/get.js +30 -1
- package/lib/commands/project-type/update.js +18 -1
- package/lib/commands/project-version/create.js +19 -1
- package/lib/commands/project-version/delete-and-replace.js +25 -1
- package/lib/commands/project-version/get-all.js +16 -1
- package/lib/commands/project-version/get-related-issue-count.js +16 -1
- package/lib/commands/project-version/get-unresolved-issue-count.js +16 -1
- package/lib/commands/project-version/get.js +31 -1
- package/lib/commands/project-version/merge.js +15 -2
- package/lib/commands/project-version/move.js +15 -1
- package/lib/commands/project-version/search.js +19 -1
- package/lib/commands/project-version/update.js +16 -1
- package/lib/commands/screen/add-field-to-default-screen.js +18 -1
- package/lib/commands/screen/create.js +15 -1
- package/lib/commands/screen/delete.js +13 -1
- package/lib/commands/screen/get-all.js +44 -1
- package/lib/commands/screen/get-available-fields.js +19 -1
- package/lib/commands/screen/get-field-screens.js +24 -1
- package/lib/commands/screen/get-workflows.js +36 -1
- package/lib/commands/screen/update.js +16 -1
- package/lib/commands/screen-scheme/create.js +25 -1
- package/lib/commands/screen-scheme/delete.js +13 -1
- package/lib/commands/screen-scheme/get-all.js +30 -1
- package/lib/commands/screen-scheme/update.js +31 -1
- package/lib/commands/screen-tab/create.js +17 -1
- package/lib/commands/screen-tab/delete.js +14 -1
- package/lib/commands/screen-tab/get-all.js +17 -1
- package/lib/commands/screen-tab/move.js +14 -1
- package/lib/commands/screen-tab/update.js +15 -1
- package/lib/commands/screen-tab-field/add.js +19 -1
- package/lib/commands/screen-tab-field/get-all.js +17 -1
- package/lib/commands/screen-tab-field/move.js +16 -1
- package/lib/commands/screen-tab-field/remove.js +17 -1
- package/lib/commands/server-info/get.js +14 -1
- package/lib/commands/server-info/jmx.js +15 -1
- package/lib/commands/status/create.js +31 -1
- package/lib/commands/status/delete.js +24 -1
- package/lib/commands/status/get-usages.js +24 -1
- package/lib/commands/status/get.js +53 -1
- package/lib/commands/status/search.js +44 -1
- package/lib/commands/status/status-command.js +31 -1
- package/lib/commands/status/update.js +24 -1
- package/lib/commands/task/cancel.js +13 -1
- package/lib/commands/task/get.js +29 -1
- package/lib/commands/time-tracking/get-all.js +13 -1
- package/lib/commands/time-tracking/get-setting.js +13 -1
- package/lib/commands/time-tracking/get.js +13 -1
- package/lib/commands/time-tracking/select.js +19 -1
- package/lib/commands/time-tracking/set.js +31 -1
- package/lib/commands/user/add-user-to-application.js +21 -1
- package/lib/commands/user/change-password.js +18 -1
- package/lib/commands/user/create.js +45 -1
- package/lib/commands/user/delete.js +24 -1
- package/lib/commands/user/get-all.js +32 -1
- package/lib/commands/user/get-default-columns.js +39 -1
- package/lib/commands/user/get-email.js +25 -1
- package/lib/commands/user/get-user-groups.js +26 -1
- package/lib/commands/user/get.js +40 -1
- package/lib/commands/user/remove-user-from-application.js +21 -1
- package/lib/commands/user/reset-default-columns.js +33 -1
- package/lib/commands/user/set-default-columns.js +26 -1
- package/lib/commands/user/update.js +30 -1
- package/lib/commands/user/user-command.js +22 -1
- package/lib/commands/user-property/delete.js +32 -1
- package/lib/commands/user-property/get-all-keys.js +32 -1
- package/lib/commands/user-property/get-user-property.js +34 -1
- package/lib/commands/user-property/set.js +39 -1
- package/lib/commands/user-search/accounts-with-query.js +27 -1
- package/lib/commands/user-search/assignable-users-bulk.js +21 -1
- package/lib/commands/user-search/assignable-users.js +21 -1
- package/lib/commands/user-search/find.js +23 -1
- package/lib/commands/user-search/with-permission.js +24 -1
- package/lib/commands/user-search/with-query.js +27 -1
- package/lib/commands/workflow/create.js +36 -1
- package/lib/commands/workflow/delete.js +13 -1
- package/lib/commands/workflow/get-projects.js +14 -1
- package/lib/commands/workflow/get-schemes.js +14 -1
- package/lib/commands/workflow/get-statuses-properties.js +26 -1
- package/lib/commands/workflow/get-statuses.js +14 -1
- package/lib/commands/workflow/get-transitions-rules.js +44 -1
- package/lib/commands/workflow/get-transitions.js +21 -1
- package/lib/commands/workflow/search.js +66 -1
- package/lib/commands/workflow-scheme/create.js +59 -3
- package/lib/commands/workflow-scheme/delete-default-workflow.js +15 -1
- package/lib/commands/workflow-scheme/delete-issue-types-for-workflow.js +16 -1
- package/lib/commands/workflow-scheme/delete-workflow-for-issue-type.js +16 -1
- package/lib/commands/workflow-scheme/delete.js +14 -1
- package/lib/commands/workflow-scheme/get-all.js +20 -1
- package/lib/commands/workflow-scheme/get-default-workflow.js +15 -1
- package/lib/commands/workflow-scheme/get-issue-types-for-workflows.js +30 -1
- package/lib/commands/workflow-scheme/get-workflow-for-issue-type.js +15 -1
- package/lib/commands/workflow-scheme/get.js +31 -1
- package/lib/commands/workflow-scheme/set-issue-types-for-workflow.js +21 -1
- package/lib/commands/workflow-scheme/set-workflow-for-issue-type.js +27 -1
- package/lib/commands/workflow-scheme/update-default-workflow.js +15 -1
- package/lib/commands/workflow-scheme/update.js +61 -3
- package/lib/commands/workflow-scheme-draft/create.js +15 -1
- package/lib/commands/workflow-scheme-draft/delete-default-workflow.js +15 -1
- package/lib/commands/workflow-scheme-draft/delete-issue-types-for-workflow.js +16 -1
- package/lib/commands/workflow-scheme-draft/delete-workflow-for-issue-type.js +16 -1
- package/lib/commands/workflow-scheme-draft/delete.js +14 -1
- package/lib/commands/workflow-scheme-draft/get-default-workflow.js +15 -1
- package/lib/commands/workflow-scheme-draft/get-issue-types-for-workflows.js +30 -1
- package/lib/commands/workflow-scheme-draft/get-workflow-for-issue-type.js +15 -1
- package/lib/commands/workflow-scheme-draft/get.js +30 -1
- package/lib/commands/workflow-scheme-draft/publish.js +21 -1
- package/lib/commands/workflow-scheme-draft/set-issue-types-for-workflow.js +21 -1
- package/lib/commands/workflow-scheme-draft/set-workflow-for-issue-type.js +27 -1
- package/lib/commands/workflow-scheme-draft/update-default-workflow.js +15 -1
- package/lib/commands/workflow-scheme-draft/update.js +61 -3
- package/lib/commands/workflow-scheme-project-association/assign.js +18 -1
- package/lib/commands/workflow-scheme-project-association/get-all.js +30 -1
- package/lib/commands/workflow-status/get-all.js +14 -1
- package/lib/commands/workflow-status/get.js +30 -1
- package/lib/commands/workflow-status-category/get-all.js +14 -1
- package/lib/commands/workflow-status-category/get.js +15 -1
- package/lib/commands/workflow-transition-property/create.js +17 -1
- package/lib/commands/workflow-transition-property/delete.js +16 -1
- package/lib/commands/workflow-transition-property/get.js +20 -1
- package/lib/commands/workflow-transition-property/update.js +17 -1
- package/lib/commands/worklog/add.js +40 -1
- package/lib/commands/worklog/delete.js +21 -1
- package/lib/commands/worklog/get-deleted.js +21 -1
- package/lib/commands/worklog/get-for-issue.js +28 -1
- package/lib/commands/worklog/get-updated.js +17 -1
- package/lib/commands/worklog/get-with-ids.js +30 -1
- package/lib/commands/worklog/get.js +38 -1
- package/lib/commands/worklog/update.js +23 -1
- package/lib/commands/worklog-property/delete.js +14 -1
- package/lib/commands/worklog-property/get-keys.js +15 -1
- package/lib/commands/worklog-property/get.js +15 -1
- package/lib/commands/worklog-property/set-property.js +14 -1
- package/lib/index.js +5 -1
- package/lib/oclif-config.js +8 -0
- package/package.json +32 -27
- package/lib/commands/avatar/get-all-user-avatar.js +0 -1
- package/lib/commands/issue-security-scheme/associate-security-scheme.js +0 -1
|
@@ -1 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class CreateScreenScheme extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
6
|
+
async runWithCloudSite(site, jira) {
|
|
7
|
+
const { flags } = await this.parse(CreateScreenScheme);
|
|
8
|
+
const body = this.removeFlagsFromBase(flags);
|
|
9
|
+
this.modifyFlags(body);
|
|
10
|
+
const res = await jira.screenSchemeManager.createScreenScheme(body);
|
|
11
|
+
this.display(flags, res);
|
|
12
|
+
}
|
|
13
|
+
modifyFlags(flags) {
|
|
14
|
+
flags.screens = {};
|
|
15
|
+
Object.keys(flags).forEach(key => {
|
|
16
|
+
if (key.includes('Screen')) {
|
|
17
|
+
flags.screens[key.split('Screen')[0]] = flags[key];
|
|
18
|
+
delete flags[key];
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = CreateScreenScheme;
|
|
24
|
+
CreateScreenScheme.description = 'Creates a screen scheme.';
|
|
25
|
+
CreateScreenScheme.flags = Object.assign({ name: core_1.Flags.string({ char: 'n', description: 'The name of the screen. The name must be unique.', required: true }), description: core_1.Flags.string({ description: 'The description of the screen' }), defaultScreen: core_1.Flags.string({ description: 'The ID of the default screen.', required: true }), editScreen: core_1.Flags.string({ description: 'The ID of the edit screen.' }), viewScreen: core_1.Flags.string({ description: 'The ID of the view screen.' }), createScreen: core_1.Flags.string({ description: 'The ID of the create screen.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class DeleteScreenScheme extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
6
|
+
async runWithCloudSite(site, jira) {
|
|
7
|
+
const { flags } = await this.parse(DeleteScreenScheme);
|
|
8
|
+
await jira.screenSchemeManager.deleteScreenScheme(flags.screenId);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.default = DeleteScreenScheme;
|
|
12
|
+
DeleteScreenScheme.description = 'Deletes a screen scheme.';
|
|
13
|
+
DeleteScreenScheme.flags = Object.assign({ screenId: core_1.Flags.string({ char: 'i', description: 'The ID of the screen scheme.', required: true }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
6
|
+
const atlascli_common_2 = require("@thestarware/atlascli-common");
|
|
7
|
+
const atlascli_common_3 = require("@thestarware/atlascli-common");
|
|
8
|
+
class GetScreenSchemes extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
9
|
+
async runWithCloudSite(site, jira) {
|
|
10
|
+
const { flags } = await this.parse(GetScreenSchemes);
|
|
11
|
+
const _a = this.removeFlagsFromBase(flags), { all } = _a, query = tslib_1.__rest(_a, ["all"]);
|
|
12
|
+
this.modifySearchFlags(query);
|
|
13
|
+
const res = await jira.screenSchemeManager.getAllScreenSchemes(query);
|
|
14
|
+
if (all)
|
|
15
|
+
res.values = await (0, atlascli_common_3.getAllPaginatedResponseValues)(res, query, jira.screenSchemeManager.getAllScreenSchemes.bind(jira.screenSchemeManager));
|
|
16
|
+
this.display(flags, res.values, (o, newO) => {
|
|
17
|
+
newO.defaultScreenId = o.screens.default || '';
|
|
18
|
+
newO.createScreenId = o.screens.create || '';
|
|
19
|
+
newO.editScreenId = o.screens.edit || '';
|
|
20
|
+
newO.viewScreenId = o.screens.view || '';
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
modifySearchFlags(flags) {
|
|
24
|
+
flags.queryString = flags.query;
|
|
25
|
+
delete flags.query;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.default = GetScreenSchemes;
|
|
29
|
+
GetScreenSchemes.description = 'Gets all screen schemes. (Use the expanded flag to see screens of the schemes.)';
|
|
30
|
+
GetScreenSchemes.flags = Object.assign(Object.assign(Object.assign(Object.assign({ id: core_1.Flags.integer({ char: 'i', description: 'The ID of screen scheme. You can provide multiple value by repeating this flag.', multiple: true }), expand: core_1.Flags.string({ description: '', options: ['issueTypeScreenSchemes'] }) }, (0, atlascli_common_2.getSearchFlags)()), { orderBy: core_1.Flags.string({ options: ['id', 'name'] }) }), atlascli_common_1.CommandWithSite.flags), { all: core_1.Flags.boolean({ description: 'Whether all responses are returned.', default: false, exclusive: ['startAt', 'maxResults'] }) });
|
|
@@ -1 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
6
|
+
class UpdateScreenScheme extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
7
|
+
async runWithCloudSite(site, jira) {
|
|
8
|
+
const { flags } = await this.parse(UpdateScreenScheme);
|
|
9
|
+
const _a = this.removeFlagsFromBase(flags), { screenSchemeId } = _a, body = tslib_1.__rest(_a, ["screenSchemeId"]);
|
|
10
|
+
this.modifyFlags(body);
|
|
11
|
+
await jira.screenSchemeManager.updateScreenScheme(screenSchemeId, body);
|
|
12
|
+
}
|
|
13
|
+
modifyFlags(flags) {
|
|
14
|
+
flags.screens = {};
|
|
15
|
+
Object.keys(flags).forEach(key => {
|
|
16
|
+
if (key.includes('Screen')) {
|
|
17
|
+
const value = this.isNull(flags[key]) ? null : flags[key];
|
|
18
|
+
flags.screens[key.split('Screen')[0]] = value;
|
|
19
|
+
delete flags[key];
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
if (Object.keys(flags.screens).length === 0)
|
|
23
|
+
delete flags.screens;
|
|
24
|
+
}
|
|
25
|
+
isNull(value) {
|
|
26
|
+
return ['null', '-1', 'undefined', ''].includes(value.toLowerCase());
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.default = UpdateScreenScheme;
|
|
30
|
+
UpdateScreenScheme.description = 'Updates a screen scheme.';
|
|
31
|
+
UpdateScreenScheme.flags = Object.assign({ screenSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the screen scheme.', required: true }), name: core_1.Flags.string({ char: 'n', description: 'The name of the screen. The name must be unique.' }), description: core_1.Flags.string({ description: 'The description of the screen.' }), defaultScreen: core_1.Flags.string({ description: 'The ID of the default screen. To remove the screen association, pass a null.' }), editScreen: core_1.Flags.string({ description: 'The ID of the edit screen. To remove the screen association, pass a null.' }), viewScreen: core_1.Flags.string({ description: 'The ID of the view screen. To remove the screen association, pass a null.' }), createScreen: core_1.Flags.string({ description: 'The ID of the create screen. To remove the screen association, pass a null.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
6
|
+
class CreateScreenTab extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags } = await this.parse(CreateScreenTab);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const _a = this.removeFlagsFromBase(flags), { id } = _a, body = tslib_1.__rest(_a, ["id"]);
|
|
11
|
+
const res = await jira.screenTabManager.createTab(id, body);
|
|
12
|
+
this.display(flags, res);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = CreateScreenTab;
|
|
16
|
+
CreateScreenTab.description = 'Creates a screen tab.';
|
|
17
|
+
CreateScreenTab.flags = Object.assign({ id: core_1.Flags.integer({ char: 'i', description: 'The ID of screen.' }), name: core_1.Flags.string({ char: 'n', description: 'The name of the screen. The name must be unique.', required: true }), description: core_1.Flags.string({ description: 'The description of the screen' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class DeleteScreenTab extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(DeleteScreenTab);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
await jira.screenTabManager.deleteTab(flags.screenId, flags.tabId);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.default = DeleteScreenTab;
|
|
13
|
+
DeleteScreenTab.description = 'Deletes a screen tab.';
|
|
14
|
+
DeleteScreenTab.flags = Object.assign({ screenId: core_1.Flags.string({ char: 'i', description: 'The ID of screen.', required: true }), tabId: core_1.Flags.string({ description: 'The ID of screen tab.', required: true }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
6
|
+
class GetScreenTabs extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags } = await this.parse(GetScreenTabs);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const _a = this.removeFlagsFromBase(flags), { id } = _a, query = tslib_1.__rest(_a, ["id"]);
|
|
11
|
+
const res = await jira.screenTabManager.getAllTabs(id, query);
|
|
12
|
+
this.display(flags, res);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = GetScreenTabs;
|
|
16
|
+
GetScreenTabs.description = 'Gets all screen tabs.';
|
|
17
|
+
GetScreenTabs.flags = Object.assign({ id: core_1.Flags.integer({ char: 'i', description: 'The ID of screen.', required: true }), project: core_1.Flags.string({ char: 'p', description: 'The key of the project.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class MoveScreenTab extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(MoveScreenTab);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
await jira.screenTabManager.moveTab(flags.screenId, flags.tabId, flags.pos);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.default = MoveScreenTab;
|
|
13
|
+
MoveScreenTab.description = 'Moves a screen tab.';
|
|
14
|
+
MoveScreenTab.flags = Object.assign({ screenId: core_1.Flags.string({ char: 'i', description: 'The ID of screen.', required: true }), tabId: core_1.Flags.string({ description: 'The ID of screen tab.', required: true }), pos: core_1.Flags.integer({ char: 'p', description: 'The position of tab. The base index is 0.', required: true }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class UpdateScreenTab extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(UpdateScreenTab);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
const res = await jira.screenTabManager.updateTab(flags.screenId, flags.tabId, { name: flags.name });
|
|
10
|
+
this.display(flags, res);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.default = UpdateScreenTab;
|
|
14
|
+
UpdateScreenTab.description = 'Updates a screen tab.';
|
|
15
|
+
UpdateScreenTab.flags = Object.assign({ screenId: core_1.Flags.string({ char: 'i', description: 'The ID of screen.', required: true }), tabId: core_1.Flags.string({ description: 'The ID of screen tab.', required: true }), name: core_1.Flags.string({ char: 'n', description: 'The name of the screen. The name must be unique.', required: true }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class AddTabField extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(AddTabField);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
const res = await jira.screenTabFieldManager.addTabField(flags.screenId, flags.tabId, flags.fieldId);
|
|
10
|
+
this.display(flags, res);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.default = AddTabField;
|
|
14
|
+
AddTabField.description = 'Adds a field to a screen tab.';
|
|
15
|
+
AddTabField.flags = Object.assign({ screenId: core_1.Flags.string({ char: 'i', description: 'The ID of screen.', required: true }), tabId: core_1.Flags.string({ description: 'The ID of screen tab.', required: true }), fieldId: core_1.Flags.string({
|
|
16
|
+
char: 'i',
|
|
17
|
+
description: 'The ID of the field to add.',
|
|
18
|
+
required: true,
|
|
19
|
+
}) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
6
|
+
class GetScreenTabFields extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags } = await this.parse(GetScreenTabFields);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const _a = this.removeFlagsFromBase(flags), { screenId, tabId } = _a, query = tslib_1.__rest(_a, ["screenId", "tabId"]);
|
|
11
|
+
const res = await jira.screenTabFieldManager.getAllTabFields(screenId, tabId, query);
|
|
12
|
+
this.display(flags, res);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = GetScreenTabFields;
|
|
16
|
+
GetScreenTabFields.description = 'Gets all fields for a screen tab.';
|
|
17
|
+
GetScreenTabFields.flags = Object.assign({ screenId: core_1.Flags.integer({ char: 'i', description: 'The ID of screen.', required: true }), tabId: core_1.Flags.integer({ description: 'The ID of screen tab.', required: true }), project: core_1.Flags.string({ description: 'The key of the project.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
6
|
+
class MoveScreenTab extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags } = await this.parse(MoveScreenTab);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const _a = this.removeFlagsFromBase(flags), { screenId, tabId, fieldId } = _a, body = tslib_1.__rest(_a, ["screenId", "tabId", "fieldId"]);
|
|
11
|
+
await jira.screenTabFieldManager.moveTabField(screenId, tabId, fieldId, body);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.default = MoveScreenTab;
|
|
15
|
+
MoveScreenTab.description = 'Moves a screen tab field.';
|
|
16
|
+
MoveScreenTab.flags = Object.assign({ screenId: core_1.Flags.string({ char: 'i', description: 'The ID of screen.', required: true }), tabId: core_1.Flags.string({ description: 'The ID of screen tab.', required: true }), fieldId: core_1.Flags.string({ description: 'The ID of the field.', required: true }), position: core_1.Flags.string({ char: 'p', description: 'The position of tab. The base index is 0.', options: ['Earlier', 'Later', 'First', 'Last'] }), after: core_1.Flags.string({ char: 'a', description: 'The ID of the screen tab field after which to place the moved screen tab field.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class RemoveTabField extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(RemoveTabField);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
await jira.screenTabFieldManager.removeTabField(flags.screenId, flags.tabId, flags.fieldId);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.default = RemoveTabField;
|
|
13
|
+
RemoveTabField.description = 'Removes a field from a screen tab.';
|
|
14
|
+
RemoveTabField.flags = Object.assign({ screenId: core_1.Flags.string({ char: 'i', description: 'The ID of screen.', required: true }), tabId: core_1.Flags.string({ description: 'The ID of screen tab.', required: true }), fieldId: core_1.Flags.string({
|
|
15
|
+
description: 'The ID of the field to add.',
|
|
16
|
+
required: true,
|
|
17
|
+
}) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
4
|
+
class Get extends atlascli_common_1.CommandWithSite {
|
|
5
|
+
async runWithSite(site) {
|
|
6
|
+
const { flags } = await this.parse(Get);
|
|
7
|
+
const jira = this.getJira(site, flags);
|
|
8
|
+
const result = await jira.serverInfoManager.getServerInfo();
|
|
9
|
+
this.display(flags, result);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.default = Get;
|
|
13
|
+
Get.description = 'Returns general information about the current Jira.';
|
|
14
|
+
Get.flags = Object.assign({}, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
const base_command_with_server_site_1 = tslib_1.__importDefault(require("@thestarware/atlascli-common/lib/commands/base-command-with-server-site"));
|
|
6
|
+
class JMX extends base_command_with_server_site_1.default {
|
|
7
|
+
async runWithServerSite(site, jira) {
|
|
8
|
+
const { flags } = await this.parse(JMX);
|
|
9
|
+
const result = await jira.serverInfoManager.getJMXInfo();
|
|
10
|
+
this.display(flags, result);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.default = JMX;
|
|
14
|
+
JMX.description = 'Returns JMX information from Jira VM.';
|
|
15
|
+
JMX.flags = Object.assign({}, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
6
|
+
const project_util_1 = require("@thestarware/atlascli-common/lib/project-util");
|
|
7
|
+
class CreateStatus extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
8
|
+
async runWithCloudSite(site, jira) {
|
|
9
|
+
const { flags } = await this.parse(CreateStatus);
|
|
10
|
+
const normalizedProjectQuery = await (0, project_util_1.getProject)(jira, flags.project);
|
|
11
|
+
flags.projectId = normalizedProjectQuery.projectId;
|
|
12
|
+
delete flags.project;
|
|
13
|
+
const res = await jira.statusManager.createStatus(this.preapareStatusCreationBody(flags));
|
|
14
|
+
if (res.length > 0)
|
|
15
|
+
this.display(flags, res[0]); //Normally this API supports multiple status creations at the same time. But since this project is a CLI project, users can call this command in a loop to create multiple statuses.
|
|
16
|
+
}
|
|
17
|
+
preapareStatusCreationBody(flags) {
|
|
18
|
+
const newBody = {};
|
|
19
|
+
newBody.statuses = [{ name: flags.name, description: flags.description, statusCategory: flags.statusCategory }];
|
|
20
|
+
newBody.scope = { type: flags.scope };
|
|
21
|
+
if (flags.project)
|
|
22
|
+
newBody.scope.project = { id: flags.project };
|
|
23
|
+
return newBody;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.default = CreateStatus;
|
|
27
|
+
_a = CreateStatus;
|
|
28
|
+
CreateStatus.description = 'Creates status.';
|
|
29
|
+
CreateStatus.flags = Object.assign({ name: core_1.Flags.string({ char: 'n', description: 'The name of the status. Must be unique.', required: true }), statusCategory: core_1.Flags.string({ char: 'c', description: 'Category of the status to filter by.', options: ['TODO', 'IN_PROGRESS', 'DONE'], required: true }),
|
|
30
|
+
/*It also requires description in the body. (According to API documentation we don't have to provide description, but in the test we noticed that API wants it....*/
|
|
31
|
+
description: core_1.Flags.string({ char: 'd', description: 'The description of the status.', required: true }), scope: core_1.Flags.string({ description: 'The scope of the status.', options: ['GLOBAL', 'PROJECT'], required: true, relationships: [{ type: 'all', flags: [{ name: 'project', when: async (flags) => flags.scope === 'PROJECT' }] }] }), project: core_1.Flags.string({ char: 'p', description: 'Project Id or key. If the scope type is PROJECT, you must provide the project Id.' }) }, atlascli_common_1.BaseCommandWithCloudSite.flags);
|
|
@@ -1 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
const get_1 = require("./get");
|
|
6
|
+
class DeleteStasues extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
7
|
+
async runWithCloudSite(site, jira) {
|
|
8
|
+
const { flags, argv } = await this.parse(DeleteStasues);
|
|
9
|
+
const statusIds = (0, get_1.getIdsFromFlagsAndArguments)(flags, argv);
|
|
10
|
+
if (statusIds.length > 50)
|
|
11
|
+
this.error('Please provide less status ID.(Max: 50)');
|
|
12
|
+
await jira.statusManager.deleteStatus({ id: statusIds });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = DeleteStasues;
|
|
16
|
+
DeleteStasues.strict = false;
|
|
17
|
+
DeleteStasues.description = 'Deletes statuses.';
|
|
18
|
+
DeleteStasues.flags = Object.assign({ id: core_1.Flags.string({ char: 'i', description: 'Status ID.', multiple: true }) }, atlascli_common_1.BaseCommandWithCloudSite.flags);
|
|
19
|
+
DeleteStasues.args = [
|
|
20
|
+
{
|
|
21
|
+
name: 'statusId',
|
|
22
|
+
description: 'Status ID.',
|
|
23
|
+
},
|
|
24
|
+
];
|
|
@@ -1 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class GetUsages extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
6
|
+
async runWithCloudSite(site, jira) {
|
|
7
|
+
const { flags } = await this.parse(GetUsages);
|
|
8
|
+
const res = (await jira.statusManager.getStatusesBulk({ id: [flags.id], expand: 'usages' }))[0];
|
|
9
|
+
if (!res)
|
|
10
|
+
this.error(`There is no status with ${flags.id} Id.`);
|
|
11
|
+
this.display(flags, this.responseMapper(res.usages));
|
|
12
|
+
}
|
|
13
|
+
responseMapper(usages) {
|
|
14
|
+
const newArray = [];
|
|
15
|
+
usages.forEach((usage) => {
|
|
16
|
+
var _a;
|
|
17
|
+
newArray.push({ projectId: usage.project.id, issueTypes: (_a = usage.issueTypes) === null || _a === void 0 ? void 0 : _a.join(',') });
|
|
18
|
+
});
|
|
19
|
+
return newArray;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.default = GetUsages;
|
|
23
|
+
GetUsages.description = 'Gets usages of a status.';
|
|
24
|
+
GetUsages.flags = Object.assign({ id: core_1.Flags.string({ char: 'i', description: 'Status ID.', required: true }) }, atlascli_common_1.BaseCommandWithCloudSite.flags);
|
|
@@ -1 +1,53 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getIdsFromFlagsAndArguments = void 0;
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const status_command_1 = require("./status-command");
|
|
6
|
+
function getIdsFromFlagsAndArguments(flags, argv) {
|
|
7
|
+
const newArray = [];
|
|
8
|
+
newArray.push(...(flags.id || []));
|
|
9
|
+
newArray.push(...(Array.isArray(argv) ? argv : typeof argv === 'string' ? [argv] : []));
|
|
10
|
+
return newArray;
|
|
11
|
+
}
|
|
12
|
+
exports.getIdsFromFlagsAndArguments = getIdsFromFlagsAndArguments;
|
|
13
|
+
class GetAllStatuses extends status_command_1.StatusCommand {
|
|
14
|
+
async runWithCloudSite(site, jira) {
|
|
15
|
+
const { flags, argv } = await this.parse(GetAllStatuses);
|
|
16
|
+
const statusIds = getIdsFromFlagsAndArguments(flags, argv);
|
|
17
|
+
const promises = statusIds.sort().map((statusId) => jira.statusManager.getStatusesBulk({ id: [statusId], expand: flags.expand }));
|
|
18
|
+
await Promise.all(promises).then((statuses) => {
|
|
19
|
+
// This API does not have any error checking for not founded statuses.
|
|
20
|
+
const convertedStatuses = statuses.map((status) => status[0]);
|
|
21
|
+
if (statuses.every((statusRes) => statusRes.length > 0)) {
|
|
22
|
+
this.display(flags, this.cloudResponseMapper(convertedStatuses));
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
const foundIds = convertedStatuses.map((status) => status === null || status === void 0 ? void 0 : status.id);
|
|
26
|
+
const notFounds = statusIds.filter(id => !foundIds.includes(id));
|
|
27
|
+
this.error(`These statuses could not found: ${notFounds.join(',')}`);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
async runWithServerSite(site, jira) {
|
|
32
|
+
const { flags, argv } = await this.parse(GetAllStatuses);
|
|
33
|
+
const statusIds = getIdsFromFlagsAndArguments(flags, argv);
|
|
34
|
+
const promises = statusIds.sort().map((statusId) => jira.statusManager.getStatus(statusId));
|
|
35
|
+
await Promise.all(promises).then((statuses) => {
|
|
36
|
+
if (statuses.length > 0)
|
|
37
|
+
this.display(flags, this.serverResponseMapper(statuses), (o, newO) => {
|
|
38
|
+
var _a;
|
|
39
|
+
newO.inconUrl = ((_a = o.iconInfo) === null || _a === void 0 ? void 0 : _a.url) || '';
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.default = GetAllStatuses;
|
|
45
|
+
GetAllStatuses.strict = false;
|
|
46
|
+
GetAllStatuses.description = 'Gets the statuses specified by one or more status IDs.';
|
|
47
|
+
GetAllStatuses.flags = Object.assign({ id: core_1.Flags.string({ char: 'i', description: 'Status ID.', multiple: true }) }, status_command_1.StatusCommand.flags);
|
|
48
|
+
GetAllStatuses.args = [
|
|
49
|
+
{
|
|
50
|
+
name: 'statusId',
|
|
51
|
+
description: 'Status ID.',
|
|
52
|
+
},
|
|
53
|
+
];
|
|
@@ -1 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
6
|
+
const status_command_1 = require("./status-command");
|
|
7
|
+
const project_util_1 = require("@thestarware/atlascli-common/lib/project-util");
|
|
8
|
+
class SearchStatuses extends status_command_1.StatusCommand {
|
|
9
|
+
async runWithCloudSite(site, jira) {
|
|
10
|
+
const { flags } = await this.parse(SearchStatuses);
|
|
11
|
+
if (flags.issueTypeId)
|
|
12
|
+
this.error('issueTypeId flag is only for Server.');
|
|
13
|
+
const normalizedProjectQuery = await (0, project_util_1.getProject)(jira, flags.project);
|
|
14
|
+
flags.projectId = normalizedProjectQuery.projectId;
|
|
15
|
+
delete flags.project;
|
|
16
|
+
flags.searchString = flags.query;
|
|
17
|
+
delete flags.query;
|
|
18
|
+
const _a = this.removeFlagsFromBase(flags), { all } = _a, query = tslib_1.__rest(_a, ["all"]);
|
|
19
|
+
const res = await jira.statusManager.searchStatusesPaginated(query);
|
|
20
|
+
if (all)
|
|
21
|
+
res.values = await (0, atlascli_common_1.getAllPaginatedResponseValues)(res, query, jira.statusManager.searchStatusesPaginated.bind(jira.statusManager));
|
|
22
|
+
this.display(flags, this.cloudResponseMapper(res.values));
|
|
23
|
+
}
|
|
24
|
+
async runWithServerSite(site, jira) {
|
|
25
|
+
const { flags } = await this.parse(SearchStatuses);
|
|
26
|
+
const normalizedProjectQuery = await (0, project_util_1.getProject)(jira, flags.project);
|
|
27
|
+
flags.projectIds = normalizedProjectQuery.projectId;
|
|
28
|
+
delete flags.project;
|
|
29
|
+
flags.issueTypeIds = flags.issueTypeId;
|
|
30
|
+
delete flags.projectId;
|
|
31
|
+
delete flags.issueTypeId;
|
|
32
|
+
const _a = this.removeFlagsFromBase(flags), { all } = _a, query = tslib_1.__rest(_a, ["all"]);
|
|
33
|
+
const res = await jira.statusManager.searchStatusesPaginated(query);
|
|
34
|
+
if (all)
|
|
35
|
+
res.values = await (0, atlascli_common_1.getAllPaginatedResponseValues)(res, query, jira.statusManager.searchStatusesPaginated.bind(jira.statusManager));
|
|
36
|
+
this.display(flags, this.serverResponseMapper(res.values), (o, newO) => {
|
|
37
|
+
var _a;
|
|
38
|
+
newO.inconUrl = ((_a = o.iconInfo) === null || _a === void 0 ? void 0 : _a.url) || '';
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.default = SearchStatuses;
|
|
43
|
+
SearchStatuses.description = 'Searches statuses.';
|
|
44
|
+
SearchStatuses.flags = Object.assign(Object.assign(Object.assign({}, (0, atlascli_common_1.getStartAtAndMaxFlags)()), { query: core_1.Flags.string({ char: 'q', description: 'The string that status names will be matched with.' }), project: core_1.Flags.string({ char: 'p', description: 'The project Id or key the status is part of or null for global statuses.', multiple: true }), issueTypeId: core_1.Flags.string({ char: 'i', description: 'The issue type Id to filter statuses. (Only server)', multiple: true }), statusCategory: core_1.Flags.string({ char: 'c', description: 'Category of the status to filter by.', options: ['TODO', 'IN_PROGRESS', 'DONE'] }), all: core_1.Flags.boolean({ description: 'Whether all responses are returned.', default: false, exclusive: ['startAt', 'maxResults'] }) }), status_command_1.StatusCommand.flags);
|
|
@@ -1 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StatusCommand = void 0;
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class StatusCommand extends atlascli_common_1.BaseCommandWithCloudOrServerSite {
|
|
6
|
+
isProjectScopeExists(statuses) {
|
|
7
|
+
return statuses.filter((stasus) => Object.keys(stasus.scope).includes('project')).length > 0;
|
|
8
|
+
}
|
|
9
|
+
cloudResponseMapper(statuses) {
|
|
10
|
+
const isProjectScopeExists = this.isProjectScopeExists(statuses);
|
|
11
|
+
return statuses.map((status) => {
|
|
12
|
+
var _a;
|
|
13
|
+
status.scopeType = (status === null || status === void 0 ? void 0 : status.scope.type) || '';
|
|
14
|
+
if (isProjectScopeExists)
|
|
15
|
+
status.projectId = ((_a = status === null || status === void 0 ? void 0 : status.scope.project) === null || _a === void 0 ? void 0 : _a.id) || '';
|
|
16
|
+
return status;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
serverResponseMapper(statuses) {
|
|
20
|
+
return statuses.map((status) => {
|
|
21
|
+
status.statusCategoryKey = status === null || status === void 0 ? void 0 : status.statusCategory.key;
|
|
22
|
+
status.statusCategory = status === null || status === void 0 ? void 0 : status.statusCategory.name;
|
|
23
|
+
/* This is not neccessary i guess... That is why I converted this information to nested value to hide it.
|
|
24
|
+
They can still see that iconUrl column with -x flag though... */
|
|
25
|
+
status.iconInfo = { url: ((status === null || status === void 0 ? void 0 : status.iconUrl) || '') };
|
|
26
|
+
delete status.iconUrl;
|
|
27
|
+
return status;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.StatusCommand = StatusCommand;
|
|
@@ -1 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@oclif/core");
|
|
4
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
5
|
+
class UpdateStatus extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
6
|
+
async runWithCloudSite(site, jira) {
|
|
7
|
+
/* According to documentation, we must provide name, id and statusCategory at the same time. However, in the tests, this API also makes description parameter required. (They haven't mentionted about it.)
|
|
8
|
+
That is why we get status information that user going to update.*/
|
|
9
|
+
const { flags } = await this.parse(UpdateStatus);
|
|
10
|
+
const statusInfo = (await jira.statusManager.getStatusesBulk({ id: [flags.id] }))[0];
|
|
11
|
+
if (!statusInfo)
|
|
12
|
+
this.error(`There is no status with ${flags.id} Id.`);
|
|
13
|
+
// @ts-ignore
|
|
14
|
+
await jira.statusManager.updateStatus(this.prepareStatusUpdateBody(statusInfo, flags));
|
|
15
|
+
}
|
|
16
|
+
prepareStatusUpdateBody(statusInfo, flags) {
|
|
17
|
+
delete statusInfo.scope;
|
|
18
|
+
delete statusInfo.usages;
|
|
19
|
+
return { statuses: [Object.assign(Object.assign({}, statusInfo), this.removeFlagsFromBase(flags))] };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.default = UpdateStatus;
|
|
23
|
+
UpdateStatus.description = 'Updates a status.';
|
|
24
|
+
UpdateStatus.flags = Object.assign({ id: core_1.Flags.string({ char: 'i', description: 'Status Id.', required: true }), name: core_1.Flags.string({ char: 'n', description: 'The name of the status. Must be unique.' }), statusCategory: core_1.Flags.string({ char: 'c', description: 'Category of the status to filter by.', options: ['TODO', 'IN_PROGRESS', 'DONE'] }), description: core_1.Flags.string({ char: 'd', description: 'The description of the status.' }) }, atlascli_common_1.BaseCommandWithCloudSite.flags);
|