@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
package/README.md
CHANGED
|
@@ -1,41 +1,32 @@
|
|
|
1
1
|
<!-- toc -->
|
|
2
|
-
|
|
3
2
|
* [Usage](#usage)
|
|
4
3
|
* [Commands](#commands)
|
|
5
|
-
|
|
6
4
|
<!-- tocstop -->
|
|
7
5
|
|
|
8
6
|
# Usage
|
|
9
7
|
|
|
10
|
-
"ATLAS CLI for Jira" is a command line tool for Jira. *It will not work unless the corresponding [paid add-on](https://marketplace.atlassian.com/apps/1224496/atlas-cli-for-jira?&tab=overview) is installed to Jira.*
|
|
11
|
-
|
|
12
8
|
<!-- usage -->
|
|
13
|
-
|
|
14
9
|
```sh-session
|
|
15
10
|
$ npm install -g @thestarware/atlascli-jira
|
|
16
11
|
$ jira COMMAND
|
|
17
12
|
running command...
|
|
18
13
|
$ jira (--version)
|
|
19
|
-
@thestarware/atlascli-jira/1.
|
|
14
|
+
@thestarware/atlascli-jira/1.2.6 darwin-arm64 node-v20.18.1
|
|
20
15
|
$ jira --help [COMMAND]
|
|
21
16
|
USAGE
|
|
22
17
|
$ jira COMMAND
|
|
23
18
|
...
|
|
24
19
|
```
|
|
25
|
-
|
|
26
20
|
<!-- usagestop -->
|
|
27
21
|
|
|
28
22
|
# Commands
|
|
29
23
|
|
|
30
24
|
<!-- commands -->
|
|
31
|
-
|
|
32
|
-
* [`jira announcement-banner update`](#jira-announcement-banner-update)
|
|
33
25
|
* [`jira announcement-banner get`](#jira-announcement-banner-get)
|
|
34
|
-
* [`jira announcement-banner update`](#jira-announcement-banner-update
|
|
35
|
-
* [`jira application-role update`](#jira-application-role-update)
|
|
26
|
+
* [`jira announcement-banner update`](#jira-announcement-banner-update)
|
|
36
27
|
* [`jira application-role get`](#jira-application-role-get)
|
|
37
28
|
* [`jira application-role get-all`](#jira-application-role-get-all)
|
|
38
|
-
* [`jira application-role update`](#jira-application-role-update
|
|
29
|
+
* [`jira application-role update`](#jira-application-role-update)
|
|
39
30
|
* [`jira attachment add FILE`](#jira-attachment-add-file)
|
|
40
31
|
* [`jira attachment delete ID`](#jira-attachment-delete-id)
|
|
41
32
|
* [`jira attachment get-content`](#jira-attachment-get-content)
|
|
@@ -47,7 +38,7 @@ USAGE
|
|
|
47
38
|
* [`jira audit-record get-changed`](#jira-audit-record-get-changed)
|
|
48
39
|
* [`jira avatar delete-universal-avatar`](#jira-avatar-delete-universal-avatar)
|
|
49
40
|
* [`jira avatar delete-user-avatar`](#jira-avatar-delete-user-avatar)
|
|
50
|
-
* [`jira avatar get-all-user-
|
|
41
|
+
* [`jira avatar get-all-user-avatars`](#jira-avatar-get-all-user-avatars)
|
|
51
42
|
* [`jira avatar get-image-by-id`](#jira-avatar-get-image-by-id)
|
|
52
43
|
* [`jira avatar get-image-by-owner`](#jira-avatar-get-image-by-owner)
|
|
53
44
|
* [`jira avatar get-image-by-type`](#jira-avatar-get-image-by-type)
|
|
@@ -436,7 +427,6 @@ USAGE
|
|
|
436
427
|
* [`jira time-tracking get-setting`](#jira-time-tracking-get-setting)
|
|
437
428
|
* [`jira time-tracking select`](#jira-time-tracking-select)
|
|
438
429
|
* [`jira time-tracking set`](#jira-time-tracking-set)
|
|
439
|
-
* [`jira update [CHANNEL]`](#jira-update-channel)
|
|
440
430
|
* [`jira user-property delete`](#jira-user-property-delete)
|
|
441
431
|
* [`jira user-property get-all-keys`](#jira-user-property-get-all-keys)
|
|
442
432
|
* [`jira user-property get-user-property`](#jira-user-property-get-user-property)
|
|
@@ -521,29 +511,6 @@ USAGE
|
|
|
521
511
|
* [`jira worklog get-with-ids [WORKLOGID]`](#jira-worklog-get-with-ids-worklogid)
|
|
522
512
|
* [`jira worklog update`](#jira-worklog-update)
|
|
523
513
|
|
|
524
|
-
## `jira announcement-banner update`
|
|
525
|
-
|
|
526
|
-
Updates the announcement banner configuration.
|
|
527
|
-
|
|
528
|
-
```
|
|
529
|
-
USAGE
|
|
530
|
-
$ jira announcement-banner update -m <value> -v public|private [-d] [-e]
|
|
531
|
-
|
|
532
|
-
FLAGS
|
|
533
|
-
-d, --[no-]isDismissible Flag indicating if the announcement banner can be dismissed by the user.
|
|
534
|
-
-e, --[no-]isEnabled Flag indicating if the announcement banner is enabled or not.
|
|
535
|
-
-m, --message=<value> (required) The text on the announcement banner.
|
|
536
|
-
-v, --visibility=<option> (required) Visibility of the announcement banner. Can be public or private.
|
|
537
|
-
<options: public|private>
|
|
538
|
-
|
|
539
|
-
DESCRIPTION
|
|
540
|
-
Updates the announcement banner configuration.
|
|
541
|
-
|
|
542
|
-
ALIASES
|
|
543
|
-
$ jira announcement-banner update
|
|
544
|
-
$ jira announcement-banner update
|
|
545
|
-
```
|
|
546
|
-
|
|
547
514
|
## `jira announcement-banner get`
|
|
548
515
|
|
|
549
516
|
Returns the current announcement banner configuration.
|
|
@@ -573,45 +540,6 @@ FLAGS
|
|
|
573
540
|
|
|
574
541
|
DESCRIPTION
|
|
575
542
|
Updates the announcement banner configuration.
|
|
576
|
-
|
|
577
|
-
ALIASES
|
|
578
|
-
$ jira announcement-banner update
|
|
579
|
-
$ jira announcement-banner update
|
|
580
|
-
```
|
|
581
|
-
|
|
582
|
-
## `jira application-role update`
|
|
583
|
-
|
|
584
|
-
Updates the an application role. If versionHash is passed, the request will be rejected if not the same as server.
|
|
585
|
-
|
|
586
|
-
```
|
|
587
|
-
USAGE
|
|
588
|
-
$ jira application-role update -k <value> [-v <value>] [-n <value>] [-g <value>] [--defaultGroups <value>]
|
|
589
|
-
[--selectedByDefault] [--numberOfSeats <value>] [-r <value>] [-c <value>] [--userCountDescription <value>]
|
|
590
|
-
[--hasUnlimitedSeats] [-p]
|
|
591
|
-
|
|
592
|
-
FLAGS
|
|
593
|
-
-c, --userCount=<value> The number of users counting against your license.
|
|
594
|
-
-g, --groups=<value> The name of the groups. You can provide multiple group name by seperating them with
|
|
595
|
-
comma.
|
|
596
|
-
-k, --key=<value> (required) The key of the application role.
|
|
597
|
-
-n, --name=<value> The display name of the application role.
|
|
598
|
-
-p, --platform Indicates if the application role belongs to Jira platform (jira-core).
|
|
599
|
-
-r, --remainingSeats=<value> The count of users remaining on your license.
|
|
600
|
-
-v, --versionHash=<value> The hash of the version to update.
|
|
601
|
-
--defaultGroups=<value> The name of default groups. You can provide multiple group name by seperating them
|
|
602
|
-
with comma.
|
|
603
|
-
--hasUnlimitedSeats Whether your license can have unlimited user or not.
|
|
604
|
-
--numberOfSeats=<value> The maximum count of users on your license.
|
|
605
|
-
--selectedByDefault Determines whether this application role should be selected by default on user
|
|
606
|
-
creation.
|
|
607
|
-
--userCountDescription=<value> The type of users being counted against your license.
|
|
608
|
-
|
|
609
|
-
DESCRIPTION
|
|
610
|
-
Updates the an application role. If versionHash is passed, the request will be rejected if not the same as server.
|
|
611
|
-
|
|
612
|
-
ALIASES
|
|
613
|
-
$ jira application-role update
|
|
614
|
-
$ jira application-role update
|
|
615
543
|
```
|
|
616
544
|
|
|
617
545
|
## `jira application-role get`
|
|
@@ -673,10 +601,6 @@ FLAGS
|
|
|
673
601
|
|
|
674
602
|
DESCRIPTION
|
|
675
603
|
Updates the an application role. If versionHash is passed, the request will be rejected if not the same as server.
|
|
676
|
-
|
|
677
|
-
ALIASES
|
|
678
|
-
$ jira application-role update
|
|
679
|
-
$ jira application-role update
|
|
680
604
|
```
|
|
681
605
|
|
|
682
606
|
## `jira attachment add FILE`
|
|
@@ -851,7 +775,7 @@ DESCRIPTION
|
|
|
851
775
|
|
|
852
776
|
## `jira avatar delete-universal-avatar`
|
|
853
777
|
|
|
854
|
-
|
|
778
|
+
Returns the system and custom avatars for a project or issue type.
|
|
855
779
|
|
|
856
780
|
```
|
|
857
781
|
USAGE
|
|
@@ -868,7 +792,7 @@ FLAGS
|
|
|
868
792
|
--y=<value> The Y coordinate of the top-left corner of the crop region.
|
|
869
793
|
|
|
870
794
|
DESCRIPTION
|
|
871
|
-
|
|
795
|
+
Returns the system and custom avatars for a project or issue type.
|
|
872
796
|
```
|
|
873
797
|
|
|
874
798
|
## `jira avatar delete-user-avatar`
|
|
@@ -887,13 +811,13 @@ DESCRIPTION
|
|
|
887
811
|
Deletes a custom avatar from a user. Note that system avatars cannot be deleted.
|
|
888
812
|
```
|
|
889
813
|
|
|
890
|
-
## `jira avatar get-all-user-
|
|
814
|
+
## `jira avatar get-all-user-avatars`
|
|
891
815
|
|
|
892
816
|
Returns all user avatars for specified user.
|
|
893
817
|
|
|
894
818
|
```
|
|
895
819
|
USAGE
|
|
896
|
-
$ jira avatar get-all-user-
|
|
820
|
+
$ jira avatar get-all-user-avatars -u <value>
|
|
897
821
|
|
|
898
822
|
FLAGS
|
|
899
823
|
-u, --user=<value> (required) The username or email.
|
|
@@ -2347,7 +2271,7 @@ DESCRIPTION
|
|
|
2347
2271
|
Display help for jira.
|
|
2348
2272
|
```
|
|
2349
2273
|
|
|
2350
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.
|
|
2274
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.20/src/commands/help.ts)_
|
|
2351
2275
|
|
|
2352
2276
|
## `jira issue-field-configuration assign-issue-type`
|
|
2353
2277
|
|
|
@@ -3009,7 +2933,7 @@ DESCRIPTION
|
|
|
3009
2933
|
|
|
3010
2934
|
## `jira issue-field delete`
|
|
3011
2935
|
|
|
3012
|
-
Deletes issue field.
|
|
2936
|
+
Deletes issue field. CLOUD ONLY -> This operation is asynchronous. You can use `jira task:get` command to obtain any updates.
|
|
3013
2937
|
|
|
3014
2938
|
```
|
|
3015
2939
|
USAGE
|
|
@@ -5862,7 +5786,7 @@ EXAMPLES
|
|
|
5862
5786
|
$ jira plugins
|
|
5863
5787
|
```
|
|
5864
5788
|
|
|
5865
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.
|
|
5789
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/index.ts)_
|
|
5866
5790
|
|
|
5867
5791
|
## `jira plugins:install PLUGIN...`
|
|
5868
5792
|
|
|
@@ -5876,7 +5800,7 @@ ARGUMENTS
|
|
|
5876
5800
|
PLUGIN Plugin to install.
|
|
5877
5801
|
|
|
5878
5802
|
FLAGS
|
|
5879
|
-
-f, --force Run
|
|
5803
|
+
-f, --force Run yarn install with force flag.
|
|
5880
5804
|
-h, --help Show CLI help.
|
|
5881
5805
|
-v, --verbose
|
|
5882
5806
|
|
|
@@ -5927,6 +5851,8 @@ EXAMPLES
|
|
|
5927
5851
|
$ jira plugins:inspect myplugin
|
|
5928
5852
|
```
|
|
5929
5853
|
|
|
5854
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/inspect.ts)_
|
|
5855
|
+
|
|
5930
5856
|
## `jira plugins:install PLUGIN...`
|
|
5931
5857
|
|
|
5932
5858
|
Installs a plugin into the CLI.
|
|
@@ -5939,7 +5865,7 @@ ARGUMENTS
|
|
|
5939
5865
|
PLUGIN Plugin to install.
|
|
5940
5866
|
|
|
5941
5867
|
FLAGS
|
|
5942
|
-
-f, --force Run
|
|
5868
|
+
-f, --force Run yarn install with force flag.
|
|
5943
5869
|
-h, --help Show CLI help.
|
|
5944
5870
|
-v, --verbose
|
|
5945
5871
|
|
|
@@ -5965,6 +5891,8 @@ EXAMPLES
|
|
|
5965
5891
|
$ jira plugins:install someuser/someplugin
|
|
5966
5892
|
```
|
|
5967
5893
|
|
|
5894
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/install.ts)_
|
|
5895
|
+
|
|
5968
5896
|
## `jira plugins:link PLUGIN`
|
|
5969
5897
|
|
|
5970
5898
|
Links a plugin into the CLI for development.
|
|
@@ -5992,6 +5920,8 @@ EXAMPLES
|
|
|
5992
5920
|
$ jira plugins:link myplugin
|
|
5993
5921
|
```
|
|
5994
5922
|
|
|
5923
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/link.ts)_
|
|
5924
|
+
|
|
5995
5925
|
## `jira plugins:uninstall PLUGIN...`
|
|
5996
5926
|
|
|
5997
5927
|
Removes a plugin from the CLI.
|
|
@@ -6038,6 +5968,8 @@ ALIASES
|
|
|
6038
5968
|
$ jira plugins remove
|
|
6039
5969
|
```
|
|
6040
5970
|
|
|
5971
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/uninstall.ts)_
|
|
5972
|
+
|
|
6041
5973
|
## `jira plugins:uninstall PLUGIN...`
|
|
6042
5974
|
|
|
6043
5975
|
Removes a plugin from the CLI.
|
|
@@ -6077,6 +6009,8 @@ DESCRIPTION
|
|
|
6077
6009
|
Update installed plugins.
|
|
6078
6010
|
```
|
|
6079
6011
|
|
|
6012
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/update.ts)_
|
|
6013
|
+
|
|
6080
6014
|
## `jira project-avatar delete`
|
|
6081
6015
|
|
|
6082
6016
|
Deletes a custom avatar from a project. Note that system avatars cannot be deleted.
|
|
@@ -6599,7 +6533,7 @@ DESCRIPTION
|
|
|
6599
6533
|
|
|
6600
6534
|
## `jira project-property get-keys`
|
|
6601
6535
|
|
|
6602
|
-
Returns all project property
|
|
6536
|
+
Returns all project property keys for the project.
|
|
6603
6537
|
|
|
6604
6538
|
```
|
|
6605
6539
|
USAGE
|
|
@@ -8035,23 +7969,6 @@ DESCRIPTION
|
|
|
8035
7969
|
Sets the time tracking settings.
|
|
8036
7970
|
```
|
|
8037
7971
|
|
|
8038
|
-
## `jira update [CHANNEL]`
|
|
8039
|
-
|
|
8040
|
-
update the jira CLI
|
|
8041
|
-
|
|
8042
|
-
```
|
|
8043
|
-
USAGE
|
|
8044
|
-
$ jira update [CHANNEL] [--from-local]
|
|
8045
|
-
|
|
8046
|
-
FLAGS
|
|
8047
|
-
--from-local interactively choose an already installed version
|
|
8048
|
-
|
|
8049
|
-
DESCRIPTION
|
|
8050
|
-
update the jira CLI
|
|
8051
|
-
```
|
|
8052
|
-
|
|
8053
|
-
_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v2.2.0/src/commands/update.ts)_
|
|
8054
|
-
|
|
8055
7972
|
## `jira user-property delete`
|
|
8056
7973
|
|
|
8057
7974
|
Deletes a property from a user.
|
|
@@ -9751,5 +9668,4 @@ FLAGS
|
|
|
9751
9668
|
DESCRIPTION
|
|
9752
9669
|
Adds a worklog to an issue.
|
|
9753
9670
|
```
|
|
9754
|
-
|
|
9755
9671
|
<!-- commandsstop -->
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
4
|
+
class GetConfiguration extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
5
|
+
async runWithCloudSite(site, jira) {
|
|
6
|
+
const { flags } = await this.parse(GetConfiguration);
|
|
7
|
+
const res = await jira.announcementBannerManager.getConfiguration();
|
|
8
|
+
this.display(flags, res);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.default = GetConfiguration;
|
|
12
|
+
GetConfiguration.description = 'Returns the current announcement banner configuration.';
|
|
13
|
+
GetConfiguration.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 UpdateConfiguration extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
6
|
+
async runWithCloudSite(site, jira) {
|
|
7
|
+
const { flags } = await this.parse(UpdateConfiguration);
|
|
8
|
+
await jira.announcementBannerManager.updateConfiguration(this.removeFlagsFromBase(flags));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.default = UpdateConfiguration;
|
|
12
|
+
UpdateConfiguration.description = 'Updates the announcement banner configuration.';
|
|
13
|
+
UpdateConfiguration.flags = Object.assign({ message: core_1.Flags.string({
|
|
14
|
+
char: 'm',
|
|
15
|
+
description: 'The text on the announcement banner.',
|
|
16
|
+
required: true,
|
|
17
|
+
}), isDismissible: core_1.Flags.boolean({
|
|
18
|
+
char: 'd',
|
|
19
|
+
description: 'Flag indicating if the announcement banner can be dismissed by the user.',
|
|
20
|
+
allowNo: true,
|
|
21
|
+
}), isEnabled: core_1.Flags.boolean({
|
|
22
|
+
char: 'e',
|
|
23
|
+
description: 'Flag indicating if the announcement banner is enabled or not.',
|
|
24
|
+
allowNo: true,
|
|
25
|
+
}), visibility: core_1.Flags.string({
|
|
26
|
+
char: 'v',
|
|
27
|
+
description: 'Visibility of the announcement banner. Can be public or private.',
|
|
28
|
+
options: ['public', 'private'],
|
|
29
|
+
required: true,
|
|
30
|
+
}) }, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1,2 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 GetAllAppRoles extends atlascli_common_1.BaseCommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(GetAllAppRoles);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
const res = await jira.applicationRoleManager.getApplicationRoles();
|
|
10
|
+
this.display(flags, res.applicationRoles.map((role) => {
|
|
11
|
+
this.log(role);
|
|
12
|
+
role.groups = (site.cloud ? role.groupDetails.map((group) => group.name) : role.groups).join(',');
|
|
13
|
+
role.defaultGroups = (site.cloud ? role.defaultGroupsDetails.map((group) => group.name) : role.defaultGroups).join(',');
|
|
14
|
+
return role;
|
|
15
|
+
}));
|
|
16
|
+
if (flags.showHashVersion && !site.cloud)
|
|
17
|
+
this.log(`\nHash Version: ${res.versionHash}`);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.default = GetAllAppRoles;
|
|
21
|
+
GetAllAppRoles.description = 'Gets all application roles.';
|
|
22
|
+
GetAllAppRoles.flags = Object.assign({ showHashVersion: core_1.Flags.boolean({ description: 'Whether hash version will be shown in the response. (Only for Server)' }) }, atlascli_common_1.BaseCommandWithSite.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 GetAppRole extends atlascli_common_1.BaseCommandWithSite {
|
|
6
|
+
async runWithSite(site) {
|
|
7
|
+
const { flags } = await this.parse(GetAppRole);
|
|
8
|
+
const jira = this.getJira(site, flags);
|
|
9
|
+
const res = await jira.applicationRoleManager.getApplicationRole(flags.key);
|
|
10
|
+
this.display(flags, [res].map((role) => {
|
|
11
|
+
role.groups = (site.cloud ? role.groupDetails.map((group) => group.name) : role.groups).join(',');
|
|
12
|
+
role.defaultGroups = (site.cloud ? role.defaultGroupsDetails.map((group) => group.name) : role.defaultGroups).join(',');
|
|
13
|
+
return role;
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.default = GetAppRole;
|
|
18
|
+
GetAppRole.description = 'Gets an application role.';
|
|
19
|
+
GetAppRole.flags = Object.assign({ key: core_1.Flags.string({ char: 'k', description: 'The key of the application role.', required: true }) }, atlascli_common_1.BaseCommandWithSite.flags);
|
|
@@ -1 +1,23 @@
|
|
|
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 UpdateApplicationRole extends atlascli_common_1.BaseCommandWithServerSite {
|
|
7
|
+
async runWithServerSite(site, jira) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
const { flags } = await this.parse(UpdateApplicationRole);
|
|
10
|
+
const _c = this.removeFlagsFromBase(flags), { key, versionHash } = _c, body = tslib_1.__rest(_c, ["key", "versionHash"]);
|
|
11
|
+
body.groups = (_a = body.groups) === null || _a === void 0 ? void 0 : _a.split(',');
|
|
12
|
+
body.defaultGroups = (_b = body.defaultGroups) === null || _b === void 0 ? void 0 : _b.split(',');
|
|
13
|
+
const res = await jira.applicationRoleManager.updateApplicationRole(key, body, versionHash);
|
|
14
|
+
this.display(flags, [res].map((role) => {
|
|
15
|
+
role.groups = role.groups.join(',');
|
|
16
|
+
role.defaultGroups = role.defaultGroups.join(',');
|
|
17
|
+
return role;
|
|
18
|
+
}));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.default = UpdateApplicationRole;
|
|
22
|
+
UpdateApplicationRole.description = 'Updates the an application role. If versionHash is passed, the request will be rejected if not the same as server.';
|
|
23
|
+
UpdateApplicationRole.flags = Object.assign({ key: core_1.Flags.string({ char: 'k', description: 'The key of the application role.', required: true }), versionHash: core_1.Flags.string({ char: 'v', description: 'The hash of the version to update.' }), name: core_1.Flags.string({ char: 'n', description: 'The display name of the application role.' }), groups: core_1.Flags.string({ char: 'g', description: 'The name of the groups. You can provide multiple group name by seperating them with comma.' }), defaultGroups: core_1.Flags.string({ description: 'The name of default groups. You can provide multiple group name by seperating them with comma.' }), selectedByDefault: core_1.Flags.boolean({ description: 'Determines whether this application role should be selected by default on user creation.' }), numberOfSeats: core_1.Flags.integer({ description: 'The maximum count of users on your license.' }), remainingSeats: core_1.Flags.integer({ char: 'r', description: 'The count of users remaining on your license.' }), userCount: core_1.Flags.integer({ char: 'c', description: 'The number of users counting against your license.' }), userCountDescription: core_1.Flags.string({ description: 'The type of users being counted against your license.' }), hasUnlimitedSeats: core_1.Flags.boolean({ description: 'Whether your license can have unlimited user or not.' }), platform: core_1.Flags.boolean({ char: 'p', description: 'Indicates if the application role belongs to Jira platform (jira-core).' }) }, atlascli_common_1.BaseCommandWithServerSite.flags);
|
|
@@ -1 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const avatar_utils_1 = require("@thestarware/atlascli-common/lib/avatar-utils");
|
|
6
|
+
const mapper_utils_1 = require("@thestarware/atlascli-common/lib/util/mapper-utils");
|
|
7
|
+
class Add extends atlascli_common_1.CommandWithSite {
|
|
8
|
+
async runWithSite(site) {
|
|
9
|
+
const { flags, args } = await this.parse(Add);
|
|
10
|
+
const jira = this.getJira(site, flags);
|
|
11
|
+
const file = flags.file || args.file;
|
|
12
|
+
const { fileContent, fileName } = (0, avatar_utils_1.readFile)(file);
|
|
13
|
+
const result = await jira.attachmentManager.addAttachment(flags.issue, fileName, fileContent);
|
|
14
|
+
this.displayAttachmentMetadata(flags, result, site.cloud);
|
|
15
|
+
}
|
|
16
|
+
displayAttachmentMetadata(flags, attachmentMetadata, isCloud) {
|
|
17
|
+
this.displayJsonYamlOrTable(flags, attachmentMetadata, () => {
|
|
18
|
+
return this.tabularFormat([attachmentMetadata], flags, (o, newO) => {
|
|
19
|
+
Object.assign(newO, (0, mapper_utils_1.mapToUser)(o.author, isCloud));
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.default = Add;
|
|
25
|
+
Add.description = 'Adds an attachment to an issue.';
|
|
26
|
+
Add.flags = Object.assign({ issue: core_1.Flags.string({ required: true, description: 'Issue ID or key.' }), file: core_1.Flags.string({ description: 'Location of file.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
27
|
+
Add.args = [
|
|
28
|
+
{
|
|
29
|
+
required: true,
|
|
30
|
+
name: 'file',
|
|
31
|
+
description: 'Location of file.',
|
|
32
|
+
},
|
|
33
|
+
];
|
|
@@ -1 +1,16 @@
|
|
|
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 get_metadata_1 = tslib_1.__importDefault(require("./get-metadata"));
|
|
6
|
+
class Delete extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags, args } = await this.parse(Delete);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
await jira.attachmentManager.deleteAttachment(flags.id || args.id);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.default = Delete;
|
|
14
|
+
Delete.description = 'Deletes an attachment from an issue.';
|
|
15
|
+
Delete.flags = get_metadata_1.default.flags;
|
|
16
|
+
Delete.args = get_metadata_1.default.args;
|
|
@@ -1 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
class GetContent extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
6
|
+
async runWithCloudSite(site, jira) {
|
|
7
|
+
const { flags } = await this.parse(GetContent);
|
|
8
|
+
const res = jira.attachmentManager.getAttachmentContent(flags.id, { redirect: flags.redirect });
|
|
9
|
+
this.display(flags, res);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.default = GetContent;
|
|
13
|
+
GetContent.description = 'Gets the contents of an attachment. A Range header can be set to define a range of bytes within the attachment to download. See the HTTP Range header standard for details.';
|
|
14
|
+
GetContent.flags = Object.assign({ id: core_1.Flags.string({ description: 'ID of attachment.', required: true }), redirect: core_1.Flags.boolean({
|
|
15
|
+
char: 'r',
|
|
16
|
+
description: 'Whether a redirect is provided for the attachment download. Clients that do not automatically follow redirects can set this to false to avoid making multiple requests to download the attachment.',
|
|
17
|
+
default: false,
|
|
18
|
+
}) }, 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 GetJiraAttachmentSettings extends atlascli_common_1.CommandWithSite {
|
|
5
|
+
async runWithSite(site) {
|
|
6
|
+
const { flags } = await this.parse(GetJiraAttachmentSettings);
|
|
7
|
+
const jira = this.getJira(site, flags);
|
|
8
|
+
const result = await jira.attachmentManager.getJiraAttachmentSettings();
|
|
9
|
+
this.display(flags, result);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.default = GetJiraAttachmentSettings;
|
|
13
|
+
GetJiraAttachmentSettings.description = 'Returns general information about the current Jira.';
|
|
14
|
+
GetJiraAttachmentSettings.flags = Object.assign({}, atlascli_common_1.CommandWithSite.flags);
|
|
@@ -1 +1,36 @@
|
|
|
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 get_metadata_1 = tslib_1.__importDefault(require("./get-metadata"));
|
|
6
|
+
class GetMetadataForZip extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags, args } = await this.parse(GetMetadataForZip);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const attachmentMetadata = await jira.attachmentManager.getMetadataForExpandedAttachment(flags.id || args.id);
|
|
11
|
+
if (this.isTabularOutput(flags)) {
|
|
12
|
+
const result = [];
|
|
13
|
+
attachmentMetadata.entries.forEach(entry => {
|
|
14
|
+
result.push({
|
|
15
|
+
id: attachmentMetadata.id,
|
|
16
|
+
name: attachmentMetadata.name,
|
|
17
|
+
totalEntryCount: attachmentMetadata.totalEntryCount,
|
|
18
|
+
mediaType: attachmentMetadata.mediaType,
|
|
19
|
+
entryIndex: entry.index,
|
|
20
|
+
entryLabel: entry.label,
|
|
21
|
+
entrySize: entry.size,
|
|
22
|
+
entryMediaType: entry.mediaType,
|
|
23
|
+
entryPath: entry.path,
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
this.display(flags, result);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
this.display(flags, attachmentMetadata);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.default = GetMetadataForZip;
|
|
34
|
+
GetMetadataForZip.description = 'Returns the metadata for the contents of an attachment, if it is an archive, and metadata for the attachment itself. ';
|
|
35
|
+
GetMetadataForZip.flags = get_metadata_1.default.flags;
|
|
36
|
+
GetMetadataForZip.args = get_metadata_1.default.args;
|
|
@@ -1 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const atlascli_common_1 = require("@thestarware/atlascli-common");
|
|
4
|
+
const core_1 = require("@oclif/core");
|
|
5
|
+
const mapper_utils_1 = require("@thestarware/atlascli-common/lib/util/mapper-utils");
|
|
6
|
+
class GetMetadata extends atlascli_common_1.CommandWithSite {
|
|
7
|
+
async runWithSite(site) {
|
|
8
|
+
const { flags, args } = await this.parse(GetMetadata);
|
|
9
|
+
const jira = this.getJira(site, flags);
|
|
10
|
+
const attachmentMetadata = await jira.attachmentManager.getAttachmentMetadata(flags.id || args.id);
|
|
11
|
+
this.displayAttachmentMetadata(flags, attachmentMetadata, site.cloud);
|
|
12
|
+
}
|
|
13
|
+
displayAttachmentMetadata(flags, attachmentMetadata, isCloud) {
|
|
14
|
+
this.displayJsonYamlOrTable(flags, attachmentMetadata, () => {
|
|
15
|
+
return this.tabularFormat([attachmentMetadata], flags, (o, newO) => {
|
|
16
|
+
Object.assign(newO, (0, mapper_utils_1.mapToUser)(o.author, isCloud));
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.default = GetMetadata;
|
|
22
|
+
GetMetadata.description = 'Returns the metadata for an attachment. Note that the attachment itself is not returned.';
|
|
23
|
+
GetMetadata.flags = Object.assign({ id: core_1.Flags.string({ description: 'ID of attachment.' }) }, atlascli_common_1.CommandWithSite.flags);
|
|
24
|
+
GetMetadata.args = [
|
|
25
|
+
{
|
|
26
|
+
required: true,
|
|
27
|
+
name: 'id',
|
|
28
|
+
description: 'ID of attachment.',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
@@ -1 +1,17 @@
|
|
|
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 get_content_1 = tslib_1.__importDefault(require("./get-content"));
|
|
6
|
+
const core_1 = require("@oclif/core");
|
|
7
|
+
class GetThumbnails extends atlascli_common_1.BaseCommandWithCloudSite {
|
|
8
|
+
async runWithCloudSite(site, jira) {
|
|
9
|
+
const { flags } = await this.parse(GetThumbnails);
|
|
10
|
+
const _a = this.removeFlagsFromBase(flags), { id } = _a, query = tslib_1.__rest(_a, ["id"]);
|
|
11
|
+
const res = jira.attachmentManager.getAttachmentThumbnail(id, query);
|
|
12
|
+
this.display(flags, res);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = GetThumbnails;
|
|
16
|
+
GetThumbnails.description = 'Gets the thumbnail of an attachment.';
|
|
17
|
+
GetThumbnails.flags = Object.assign({ fallbackToDefault: core_1.Flags.boolean({ description: 'Whether a default thumbnail is returned when the requested thumbnail is not found.', default: true }), width: core_1.Flags.integer({ char: 'w', description: 'The maximum width to scale the thumbnail to.' }), height: core_1.Flags.integer({ char: 'h', description: 'The maximum height to scale the thumbnail to.' }) }, get_content_1.default.flags);
|