@thestarware/atlascli-jira 1.2.4 → 1.2.5
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,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 DeleteWorkflowSchemeDraft extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(DeleteWorkflowSchemeDraft);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
await jira.workflowSchemeDraftManager.deleteWorkflowSchemeDraft(flags.workflowSchemeId);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.default = DeleteWorkflowSchemeDraft;
|
|
13
|
+
DeleteWorkflowSchemeDraft.description = 'Deletes a draft workflow scheme.';
|
|
14
|
+
DeleteWorkflowSchemeDraft.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the active workflow scheme that the draft was created from.', 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 GetDefaultWorkflowScheme extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(GetDefaultWorkflowScheme);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
const res = await jira.workflowSchemeDraftManager.getDraftDefaultWorkflow(flags.workflowSchemeId);
|
|
10
|
+
this.display(flags, res);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.default = GetDefaultWorkflowScheme;
|
|
14
|
+
GetDefaultWorkflowScheme.description = 'Gets default workflow of workflow scheme.';
|
|
15
|
+
GetDefaultWorkflowScheme.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the workflow scheme that the draft belongs to.', required: true }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,30 @@
|
|
|
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 GetIssueTypesForWorklows extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(GetIssueTypesForWorklows);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
const res = await jira.workflowSchemeDraftManager.getDraftIssueTypeForWorkflows(flags.workflowSchemeId, { workflowName: flags.workflowName });
|
|
10
|
+
this.display(flags, flags.json ? res : this.modifyResponseForDisplay(res));
|
|
11
|
+
}
|
|
12
|
+
modifyResponseForDisplay(response) {
|
|
13
|
+
const newResponseArray = [];
|
|
14
|
+
if (!Array.isArray(response))
|
|
15
|
+
response = [response];
|
|
16
|
+
response.forEach((mapping) => {
|
|
17
|
+
mapping.issueTypes.forEach(issueType => {
|
|
18
|
+
const newObject = {};
|
|
19
|
+
newObject.issueTypeId = issueType;
|
|
20
|
+
newObject.workflow = mapping.workflow;
|
|
21
|
+
newObject.defaultMapping = mapping.defaultMapping;
|
|
22
|
+
newResponseArray.push(newObject);
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
return newResponseArray;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.default = GetIssueTypesForWorklows;
|
|
29
|
+
GetIssueTypesForWorklows.description = 'Gets the workflow-issue type mappings for a workflow scheme draft.';
|
|
30
|
+
GetIssueTypesForWorklows.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the workflow scheme that the draft belongs to.', required: true }), workflowName: core_1.Flags.string({ description: 'The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow' }) }, 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 GetWorkflowForIssueType extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(GetWorkflowForIssueType);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
const res = await jira.workflowSchemeDraftManager.getDraftWorkflowForIssueType(flags.workflowSchemeId, flags.issueType);
|
|
10
|
+
this.display(flags, res);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.default = GetWorkflowForIssueType;
|
|
14
|
+
GetWorkflowForIssueType.description = 'Gets the issue type-workflow mapping for an issue type in a workflow scheme draft.';
|
|
15
|
+
GetWorkflowForIssueType.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the workflow scheme that the draft belongs to.', required: true }), issueType: core_1.Flags.string({ description: 'The ID of the issue type.', required: true }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,30 @@
|
|
|
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 GetWorkflowSchemeDraft extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const draftIds = [];
|
|
8
|
+
const { flags, argv } = await this.parse(GetWorkflowSchemeDraft);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
draftIds.push(...(flags.workflowSchemeId || []));
|
|
11
|
+
draftIds.push(...(Array.isArray(argv) ? argv : typeof argv === 'string' ? [argv] : []));
|
|
12
|
+
if (draftIds.length === 0)
|
|
13
|
+
this.error('No workflow scheme draft id is specified.');
|
|
14
|
+
const promises = draftIds.sort().map(draftId => jira.workflowSchemeDraftManager.getWorkflowSchemeDraft(draftId));
|
|
15
|
+
await Promise.all(promises).then(drafts => {
|
|
16
|
+
if (drafts.length > 0)
|
|
17
|
+
this.display(flags, drafts);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.default = GetWorkflowSchemeDraft;
|
|
22
|
+
GetWorkflowSchemeDraft.strict = false;
|
|
23
|
+
GetWorkflowSchemeDraft.description = 'Gets the draft workflow scheme for an active workflow scheme. Draft workflow schemes allow changes to be made to the active workflow schemes: When an active workflow scheme is updated, a draft copy is created. The draft is modified, then the changes in the draft are copied back to the active workflow scheme.';
|
|
24
|
+
GetWorkflowSchemeDraft.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the active workflow scheme that the draft was created from.', multiple: true }) }, atlascli_common_1.CommandWithSite.flags);
|
|
25
|
+
GetWorkflowSchemeDraft.args = [
|
|
26
|
+
{
|
|
27
|
+
name: 'workflowSchemeId',
|
|
28
|
+
description: 'The ID of the active workflow scheme that the draft was created from.',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
@@ -1 +1,21 @@
|
|
|
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 atlascli_common_2 = require("@thestarware/atlascli-common");
|
|
6
|
+
class PublishWorkflowSchemeDraft extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
7
|
+
async runWithCloudSite(site, jira) {
|
|
8
|
+
const { flags } = await this.parse(PublishWorkflowSchemeDraft);
|
|
9
|
+
const res = await jira.workflowSchemeDraftManager.publishDraft(flags.workflowSchemeId, { validateOnly: flags.validateOnly }, { statusMappings: flags.statusMappings });
|
|
10
|
+
this.display(flags, res);
|
|
11
|
+
if (!flags.validateOnly && !flags.silent)
|
|
12
|
+
await this.showProgressBar(res, jira, 'The draft is publishing...');
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = PublishWorkflowSchemeDraft;
|
|
16
|
+
PublishWorkflowSchemeDraft.description = 'Publishes a draft workflow scheme. Where the draft workflow includes new workflow statuses for an issue type, mappings are provided to update issues with the original workflow status to the new workflow status. This operation is asynchronous. You can use `jira task:get` command to obtain any updates.';
|
|
17
|
+
PublishWorkflowSchemeDraft.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the active workflow scheme that the draft was created from.', required: true }), validateOnly: core_1.Flags.boolean({ description: 'Whether the request only performs a validation.' }), statusMappings: core_1.Flags.string({
|
|
18
|
+
description: 'Mappings of statuses to new statuses for issue types. You can provide multiple values by repeating this flag. KEYS: [statusId, newStatusId, issueTypeId]\n Example use case: --statusMappings=statusId=10000,issueTypeId=10000,newStatusId=10000',
|
|
19
|
+
multiple: true,
|
|
20
|
+
parse: input => (0, atlascli_common_2.commaSeperatedListOfKeyValuePairsToJsonObjectArrayMapper)(input, 'statusMappings', ['statusId', 'newStatusId', 'issueTypeId'])[0],
|
|
21
|
+
}), silent: core_1.Flags.boolean({ description: 'If you activate this flag progress bar will not be shown.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,21 @@
|
|
|
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 set_workflow_for_issue_type_1 = require("./set-workflow-for-issue-type");
|
|
7
|
+
class SetIssueTypeForWorkflow extends atlascli_common_1.CommandWithSite {
|
|
8
|
+
async runWithSite(site) {
|
|
9
|
+
const { flags } = await this.parse(SetIssueTypeForWorkflow);
|
|
10
|
+
const jira = this.getJira(site, flags);
|
|
11
|
+
const _a = this.removeFlagsFromBase(flags), { workflowSchemeId } = _a, body = tslib_1.__rest(_a, ["workflowSchemeId"]);
|
|
12
|
+
body.issueTypes = body.issueTypes.split(',');
|
|
13
|
+
const res = await jira.workflowSchemeDraftManager.setDraftIssueTypeForWorkflows(workflowSchemeId, { workflowName: flags.workflow }, body);
|
|
14
|
+
this.display(flags, (0, set_workflow_for_issue_type_1.issueTypeMappingsForDisplay)(res.issueTypeMappings));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.default = SetIssueTypeForWorkflow;
|
|
18
|
+
SetIssueTypeForWorkflow.description = 'Sets the issue types for a workflow in a workflow scheme. The workflow can also be set as the default workflow for the workflow scheme. Unmapped issues types are mapped to the default workflow.\nNote that active workflow schemes cannot be edited. If the workflow scheme is active, set updateDraftIfNeeded to true in the request body and a draft workflow scheme is created or updated with the new issue type-workflow mapping. The draft workflow scheme can be published in Jira.';
|
|
19
|
+
SetIssueTypeForWorkflow.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the workflow scheme that the draft belongs to.', required: true }), issueTypes: core_1.Flags.string({ description: 'The list of issue type IDs. Please separete values with comma. Example Usage --issueTypes=10000,10001', required: true }), workflow: core_1.Flags.string({ description: 'The name of the workflow.', required: true }), defaultMapping: core_1.Flags.boolean({ description: 'Whether the workflow is the default workflow for the workflow scheme.' }), updateDraftIfNeeded: core_1.Flags.boolean({
|
|
20
|
+
description: 'Set to true to create or update the draft of a workflow scheme and update the mapping in the draft, when the workflow scheme cannot be edited. Defaults to false. Only applicable when updating the workflow-issue types mapping.',
|
|
21
|
+
}) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.issueTypeMappingsForDisplay = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const core_1 = require("@oclif/core");
|
|
6
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
7
|
+
function issueTypeMappingsForDisplay(isseTypeMappings) {
|
|
8
|
+
const issueTypeMappingsArray = [];
|
|
9
|
+
if (isseTypeMappings)
|
|
10
|
+
Object.entries(isseTypeMappings).forEach(entry => issueTypeMappingsArray.push({ issueType: entry[0], workflow: entry[1] }));
|
|
11
|
+
return issueTypeMappingsArray;
|
|
12
|
+
}
|
|
13
|
+
exports.issueTypeMappingsForDisplay = issueTypeMappingsForDisplay;
|
|
14
|
+
class SetWorkflowForIssueType extends atlascli_common_1.CommandWithSite {
|
|
15
|
+
async runWithSite(site) {
|
|
16
|
+
const { flags } = await this.parse(SetWorkflowForIssueType);
|
|
17
|
+
const jira = this.getJira(site, flags);
|
|
18
|
+
const _a = this.removeFlagsFromBase(flags), { workflowSchemeId } = _a, body = tslib_1.__rest(_a, ["workflowSchemeId"]);
|
|
19
|
+
const res = await jira.workflowSchemeDraftManager.setDraftWorkflowForIssueType(workflowSchemeId, flags.issueType, body);
|
|
20
|
+
this.display(flags, issueTypeMappingsForDisplay(res.issueTypeMappings));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = SetWorkflowForIssueType;
|
|
24
|
+
SetWorkflowForIssueType.description = 'Sets the workflow for an issue type in a workflow scheme draft.';
|
|
25
|
+
SetWorkflowForIssueType.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the workflow scheme that the draft belongs to.', required: true }), issueType: core_1.Flags.string({ description: 'The ID of the issue type.', required: true }), workflow: core_1.Flags.string({ description: 'The name of the workflow.' }), updateDraftIfNeeded: core_1.Flags.boolean({
|
|
26
|
+
description: 'Set to true to create or update the draft of a workflow scheme and update the mapping in the draft, when the workflow scheme cannot be edited. Defaults to false. Only applicable when updating the workflow-issue types mapping.',
|
|
27
|
+
}) }, 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 UpdateDefaultWorkflow extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(UpdateDefaultWorkflow);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
const res = await jira.workflowSchemeDraftManager.updateDraftDefaultWorkflow(flags.workflowSchemeId, { workflow: flags.workflow, updateDraftIfNeeded: flags.updateDraftIfNeeded });
|
|
10
|
+
this.display(flags, res);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.default = UpdateDefaultWorkflow;
|
|
14
|
+
UpdateDefaultWorkflow.description = 'Updates default workflow of a workflow scheme.';
|
|
15
|
+
UpdateDefaultWorkflow.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the workflow scheme that the draft belongs to.', required: true }), workflow: core_1.Flags.string({ char: 'w', description: 'The name of the workflow to set as the default workflow', required: true }), updateDraftIfNeeded: core_1.Flags.boolean({ description: 'Whether a draft workflow scheme is created or updated when updating an active workflow scheme. The draft is updated with the new default workflow' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1,5 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
class UpdateWorkflowSchemeDraft extends atlascli_common_1.CommandWithSite {
|
|
8
|
+
async runWithSite(site) {
|
|
9
|
+
const { flags, args } = await this.parse(UpdateWorkflowSchemeDraft);
|
|
10
|
+
const jira = this.getJira(site, flags);
|
|
11
|
+
const parsedFlags = this.removeFlagsFromBase(flags);
|
|
12
|
+
if (flags.show) {
|
|
13
|
+
this.showSampleJSONBody(flags);
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
await this.updateWorkflowScheme(parsedFlags, args, jira);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
async updateWorkflowScheme(flags, args, jira) {
|
|
20
|
+
const { workflowSchemeId } = flags, body = tslib_1.__rest(flags, ["workflowSchemeId"]);
|
|
21
|
+
const isAllFlagsAreUndefined = Object.values(body).every(value => value === undefined);
|
|
22
|
+
let request = args.issueLinkBody;
|
|
23
|
+
if (isAllFlagsAreUndefined && typeof request === 'undefined') {
|
|
24
|
+
request = JSON.parse(await (0, atlascli_common_1.readStdin)());
|
|
25
|
+
if (!request || request.length === 0) {
|
|
26
|
+
throw new Error('You should provide a valid JSON for the workflow! You can use `jira workflow-scheme-draft:update --show` command to generate a valid JSON body.');
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
request = body;
|
|
31
|
+
}
|
|
32
|
+
const res = await jira.workflowSchemeDraftManager.updateWorkflowSchemeDraft(workflowSchemeId, request);
|
|
33
|
+
this.display(flags, res);
|
|
34
|
+
}
|
|
35
|
+
showSampleJSONBody(flags) {
|
|
36
|
+
const sampleJSON = {
|
|
37
|
+
name: 'Example workflow scheme',
|
|
38
|
+
description: 'The description of the example workflow scheme.',
|
|
39
|
+
defaultWorkflow: 'jira',
|
|
40
|
+
issueTypeMappings: { 10000: 'jira', 10001: 'Builds Workflow' },
|
|
41
|
+
updateDraftIfNeeded: true,
|
|
42
|
+
};
|
|
43
|
+
flags.json = true;
|
|
44
|
+
this.display(flags, sampleJSON);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.default = UpdateWorkflowSchemeDraft;
|
|
48
|
+
UpdateWorkflowSchemeDraft.description = 'Updates a draft workflow scheme. If a draft workflow scheme does not exist for the active workflow scheme, then a draft is created. Note that an active workflow scheme can only have one draft workflow scheme. You can also provide request body as JSON using STDIN without specifying any flags.';
|
|
49
|
+
UpdateWorkflowSchemeDraft.flags = Object.assign({ workflowSchemeId: core_1.Flags.string({ char: 'i', description: 'The ID of the active workflow scheme that the draft was created from.', required: true }), name: core_1.Flags.string({ char: 'n', description: 'The name of the workflow scheme.' }), description: core_1.Flags.string({ description: 'The description of the workflow scheme.' }), issueTypeMappings: core_1.Flags.string({
|
|
50
|
+
description: 'The issue type to workflow mappings, where each mapping is an issue type ID and workflow name pair. Note that an issue type can only be mapped to one workflow in a workflow scheme.\nExample usage: --issueTypeMappings=issueTypeId=WorkflowName,issueTypeId2=WorkflowName2',
|
|
51
|
+
parse: input => (0, atlascli_common_2.commaSeperatedListOfKeyValuePairsToJsonObjectArrayMapper)(input)[0],
|
|
52
|
+
}), updateDraftIfNeeded: core_1.Flags.boolean({
|
|
53
|
+
description: `Whether to create or update a draft workflow scheme when updating an active workflow scheme. An active workflow scheme is a workflow scheme that is used by at least one project. The following examples show how this property works:\n
|
|
3
54
|
• Update an active workflow scheme with updateDraftIfNeeded set to true: If a draft workflow scheme exists, it is updated. Otherwise, a draft workflow scheme is created.
|
|
4
55
|
• Update an active workflow scheme with updateDraftIfNeeded set to false: An error is returned, as active workflow schemes cannot be updated.
|
|
5
|
-
• Update an inactive workflow scheme with updateDraftIfNeeded set to true: The workflow scheme is updated, as inactive workflow schemes do not require drafts to update
|
|
56
|
+
• Update an inactive workflow scheme with updateDraftIfNeeded set to true: The workflow scheme is updated, as inactive workflow schemes do not require drafts to update.`,
|
|
57
|
+
}), defaultWorkflow: core_1.Flags.string({ description: 'The name of the default workflow for the workflow scheme.' }), show: core_1.Flags.boolean({ description: 'Prepare a sample JSON output for workflow scheme update.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
58
|
+
UpdateWorkflowSchemeDraft.args = [
|
|
59
|
+
{
|
|
60
|
+
name: 'WorkflowSchemeBody',
|
|
61
|
+
description: 'Workflow scheme update request in JSON format.',
|
|
62
|
+
},
|
|
63
|
+
];
|
|
@@ -1 +1,18 @@
|
|
|
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 project_util_1 = require("@thestarware/atlascli-common/lib/project-util");
|
|
6
|
+
class AssignToProject extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
7
|
+
async runWithCloudSite(site, jira) {
|
|
8
|
+
const { flags } = await this.parse(AssignToProject);
|
|
9
|
+
const body = this.removeFlagsFromBase(flags);
|
|
10
|
+
const normalizedProjectQuery = await (0, project_util_1.getProject)(jira, body.project);
|
|
11
|
+
body.projectId = normalizedProjectQuery.projectId;
|
|
12
|
+
delete body.project;
|
|
13
|
+
await jira.workflowSchemeProjectAssociationManager.assingToProject(body);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.default = AssignToProject;
|
|
17
|
+
AssignToProject.description = 'Assigns a workflow scheme to a project. This operation is performed only when there are no issues in the project.';
|
|
18
|
+
AssignToProject.flags = Object.assign({ project: core_1.Flags.string({ char: 'p', description: 'The ID or key of the project.' }), workflowSchemeId: core_1.Flags.string({ description: 'The ID of the workflow scheme. If the workflow scheme ID is null, the operation assigns the default workflow scheme.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,30 @@
|
|
|
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 project_util_1 = require("@thestarware/atlascli-common/lib/project-util");
|
|
6
|
+
class GetProjectAssociations extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
7
|
+
async runWithCloudSite(site, jira) {
|
|
8
|
+
const { flags } = await this.parse(GetProjectAssociations);
|
|
9
|
+
const query = this.removeFlagsFromBase(flags);
|
|
10
|
+
const normalizedProjectQuery = await (0, project_util_1.getProject)(jira, query.project);
|
|
11
|
+
query.projectId = normalizedProjectQuery.projectId;
|
|
12
|
+
delete query.project;
|
|
13
|
+
const res = await jira.workflowSchemeProjectAssociationManager.getProjects(query);
|
|
14
|
+
this.display(flags, this.modifyResponseForDisplay(res.values));
|
|
15
|
+
}
|
|
16
|
+
modifyResponseForDisplay(response) {
|
|
17
|
+
const newArray = [];
|
|
18
|
+
response.forEach(value => {
|
|
19
|
+
const newObject = {};
|
|
20
|
+
newObject.projectId = value.projectIds[0];
|
|
21
|
+
newObject.workflowSchemeId = value.workflowScheme.id;
|
|
22
|
+
newObject.workflowSchemeName = value.workflowScheme.name;
|
|
23
|
+
newArray.push(newObject);
|
|
24
|
+
});
|
|
25
|
+
return newArray;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.default = GetProjectAssociations;
|
|
29
|
+
GetProjectAssociations.description = 'Gets a list of the workflow schemes associated with a list of projects';
|
|
30
|
+
GetProjectAssociations.flags = Object.assign({ project: core_1.Flags.string({ char: 'p', description: 'The ID of a project to return the workflow schemes for. You can provide multiple values by repeating this flag.', multiple: true, required: true }) }, 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 GetAllWorkflowStatus extends atlascli_common_1.CommandWithSite {
|
|
5
|
+
async runWithSite(site) {
|
|
6
|
+
const { flags } = await this.parse(GetAllWorkflowStatus);
|
|
7
|
+
const jira = this.getJira(site, flags);
|
|
8
|
+
const res = await jira.workflowStatusManager.getAllStatuses();
|
|
9
|
+
this.display(flags, res);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.default = GetAllWorkflowStatus;
|
|
13
|
+
GetAllWorkflowStatus.description = 'Gets all statuses associated with active workflows.';
|
|
14
|
+
GetAllWorkflowStatus.flags = Object.assign({}, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,30 @@
|
|
|
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 GetWorkflowStatus extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const statusIds = [];
|
|
8
|
+
const { flags, argv } = await this.parse(GetWorkflowStatus);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
statusIds.push(...(flags.idOrName || []));
|
|
11
|
+
statusIds.push(...(Array.isArray(argv) ? argv : typeof argv === 'string' ? [argv] : []));
|
|
12
|
+
if (statusIds.length === 0)
|
|
13
|
+
this.error('No workflow status id is specified.');
|
|
14
|
+
const promises = statusIds.sort().map(statusId => jira.workflowStatusManager.getStatus(statusId));
|
|
15
|
+
await Promise.all(promises).then(workflowStatuses => {
|
|
16
|
+
if (workflowStatuses.length > 0)
|
|
17
|
+
this.display(flags, workflowStatuses);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.default = GetWorkflowStatus;
|
|
22
|
+
GetWorkflowStatus.strict = false;
|
|
23
|
+
GetWorkflowStatus.description = 'Gets a status. The status must be associated with an active workflow to be returned. If a name is used on more than one status, only the status found first is returned. Therefore, identifying the status by its ID may be preferable. This operation can be accessed anonymously.';
|
|
24
|
+
GetWorkflowStatus.flags = Object.assign({ idOrName: core_1.Flags.string({ description: 'The ID or name of the status.', multiple: true }) }, atlascli_common_1.CommandWithSite.flags);
|
|
25
|
+
GetWorkflowStatus.args = [
|
|
26
|
+
{
|
|
27
|
+
name: 'idOrName',
|
|
28
|
+
description: 'The ID or name of the status.',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
@@ -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 GetAllStatusCategories extends atlascli_common_1.CommandWithSite {
|
|
5
|
+
async runWithSite(site) {
|
|
6
|
+
const { flags } = await this.parse(GetAllStatusCategories);
|
|
7
|
+
const jira = this.getJira(site, flags);
|
|
8
|
+
const res = await jira.workflowStatusCategoryManager.getAllStatusCatagories();
|
|
9
|
+
this.display(flags, res);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.default = GetAllStatusCategories;
|
|
13
|
+
GetAllStatusCategories.description = 'Gets a all status categories.';
|
|
14
|
+
GetAllStatusCategories.flags = Object.assign({}, 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 GetWorkflowStatusCategory extends atlascli_common_1.CommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(GetWorkflowStatusCategory);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
const res = await jira.workflowStatusCategoryManager.getStatusCategory(flags.idOrName);
|
|
10
|
+
this.display(flags, res);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.default = GetWorkflowStatusCategory;
|
|
14
|
+
GetWorkflowStatusCategory.description = 'Gets a status category. Status categories provided a mechanism for categorizing statuses.';
|
|
15
|
+
GetWorkflowStatusCategory.flags = Object.assign({ idOrName: core_1.Flags.string({ description: 'The ID or name of the status.', 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 CreateTransitionProperties extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags } = await this.parse(CreateTransitionProperties);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const _a = this.removeFlagsFromBase(flags), { transitionId, value } = _a, query = tslib_1.__rest(_a, ["transitionId", "value"]);
|
|
11
|
+
const res = await jira.workflowTransitionPropertiesManager.createTransitionProperties(transitionId, query, { value: value });
|
|
12
|
+
this.display(flags, res);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = CreateTransitionProperties;
|
|
16
|
+
CreateTransitionProperties.description = 'Adds a property to a workflow transition. Transition properties are used to change the behavior of a transition.';
|
|
17
|
+
CreateTransitionProperties.flags = Object.assign({ transitionId: core_1.Flags.string({ char: 'i', description: 'The ID of the transition. To get the ID, view the workflow in text mode in the Jira administration console. The ID is shown next to the transition.', required: true }), workflowName: core_1.Flags.string({ char: 'n', description: 'The name of the workflow that the transition belongs to.', required: true }), workflowMode: core_1.Flags.string({ description: 'The workflow status. Set to live for inactive workflows or draft for draft workflows. Active workflows cannot be edited.', options: ['live', 'draft'], default: 'live' }), key: core_1.Flags.string({ char: 'k', description: 'The key of the property being added, also known as the name of the property.', required: true }), value: core_1.Flags.string({ description: 'The value of the transition property.', required: true }) }, 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 DeleteTransitionProperties extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags } = await this.parse(DeleteTransitionProperties);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const _a = this.removeFlagsFromBase(flags), { transitionId } = _a, query = tslib_1.__rest(_a, ["transitionId"]);
|
|
11
|
+
await jira.workflowTransitionPropertiesManager.deleteTransitionProperties(transitionId, query);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.default = DeleteTransitionProperties;
|
|
15
|
+
DeleteTransitionProperties.description = 'Deletes a property from a workflow transition. Transition properties are used to change the behavior of a transition.';
|
|
16
|
+
DeleteTransitionProperties.flags = Object.assign({ transitionId: core_1.Flags.string({ char: 'i', description: 'The ID of the transition. To get the ID, view the workflow in text mode in the Jira administration console. The ID is shown next to the transition.', required: true }), workflowName: core_1.Flags.string({ char: 'n', description: 'The name of the workflow that the transition belongs to.', required: true }), workflowMode: core_1.Flags.string({ description: 'The workflow status. Set to live for active and inactive workflows, or draft for draft workflows.', options: ['live', 'draft'], default: 'live' }), key: core_1.Flags.string({ char: 'k', description: 'The name of the transition property to delete, also known as the name of the property.', required: true }) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,20 @@
|
|
|
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 GetTransitionProperties extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags } = await this.parse(GetTransitionProperties);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const _a = this.removeFlagsFromBase(flags), { transitionId } = _a, query = tslib_1.__rest(_a, ["transitionId"]);
|
|
11
|
+
const res = await jira.workflowTransitionPropertiesManager.getTransitionProperties(transitionId, query);
|
|
12
|
+
this.display(flags, res);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = GetTransitionProperties;
|
|
16
|
+
GetTransitionProperties.description = 'Gets properties on a workflow transition. Transition properties are used to change the behavior of a transition.';
|
|
17
|
+
GetTransitionProperties.flags = Object.assign({ transitionId: core_1.Flags.string({ char: 'i', description: 'The ID of the transition. To get the ID, view the workflow in text mode in the Jira administration console. The ID is shown next to the transition.', required: true }), workflowName: core_1.Flags.string({ char: 'n', description: 'The name of the workflow that the transition belongs to.', required: true }), workflowMode: core_1.Flags.string({ description: 'The workflow status. Set to live for active and inactive workflows, or draft for draft workflows.', options: ['live', 'draft'], default: 'live' }), key: core_1.Flags.string({ char: 'k', description: 'The key of the property being returned, also known as the name of the property. If this parameter is not specified, all properties on the transition are returned.' }), includeReservedKeys: core_1.Flags.boolean({
|
|
18
|
+
description: 'Some properties with keys that have the jira. prefix are reserved, which means they are not editable. To include these properties in the results, set this parameter to true.',
|
|
19
|
+
default: false,
|
|
20
|
+
}) }, 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 UpdateTransitionProperties extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags } = await this.parse(UpdateTransitionProperties);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const _a = this.removeFlagsFromBase(flags), { transitionId, value } = _a, query = tslib_1.__rest(_a, ["transitionId", "value"]);
|
|
11
|
+
const res = await jira.workflowTransitionPropertiesManager.updateTransitionProperties(transitionId, query, { value: value });
|
|
12
|
+
this.display(flags, res);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = UpdateTransitionProperties;
|
|
16
|
+
UpdateTransitionProperties.description = 'Updates a workflow transition by changing the property value. Trying to update a property that does not exist results in a new property being added to the transition.';
|
|
17
|
+
UpdateTransitionProperties.flags = Object.assign({ transitionId: core_1.Flags.string({ char: 'i', description: 'The ID of the transition. To get the ID, view the workflow in text mode in the Jira administration console. The ID is shown next to the transition.', required: true }), workflowName: core_1.Flags.string({ char: 'n', description: 'The name of the workflow that the transition belongs to.', required: true }), workflowMode: core_1.Flags.string({ description: 'The workflow status. Set to live for inactive workflows or draft for draft workflows. Active workflows cannot be edited.', options: ['live', 'draft'], default: 'live' }), key: core_1.Flags.string({ char: 'k', description: 'The key of the property being added, also known as the name of the property.', required: true }), value: core_1.Flags.string({ description: 'The value of the transition property.', required: true }) }, atlascli_common_1.CommandWithSite.flags);
|