@thestarware/atlascli-jira 1.2.0
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/LICENSE.md +1 -0
- package/README.md +9755 -0
- package/bin/dev +18 -0
- package/bin/dev.cmd +3 -0
- package/bin/run +5 -0
- package/bin/run.cmd +3 -0
- package/lib/commands/announcement-banner/get.js +1 -0
- package/lib/commands/announcement-banner/update.js +1 -0
- package/lib/commands/application-role/get-all.js +2 -0
- package/lib/commands/application-role/get.js +1 -0
- package/lib/commands/application-role/update.js +1 -0
- package/lib/commands/attachment/add.js +1 -0
- package/lib/commands/attachment/delete.js +1 -0
- package/lib/commands/attachment/get-content.js +1 -0
- package/lib/commands/attachment/get-jira-settings.js +1 -0
- package/lib/commands/attachment/get-metadata-for-zip.js +1 -0
- package/lib/commands/attachment/get-metadata.js +1 -0
- package/lib/commands/attachment/get-thumbnails.js +1 -0
- package/lib/commands/audit-record/get-associated.js +1 -0
- package/lib/commands/audit-record/get-changed.js +1 -0
- package/lib/commands/avatar/delete-universal-avatar.js +1 -0
- package/lib/commands/avatar/delete-user-avatar.js +1 -0
- package/lib/commands/avatar/get-all-user-avatar.js +1 -0
- package/lib/commands/avatar/get-image-by-id.js +1 -0
- package/lib/commands/avatar/get-image-by-owner.js +1 -0
- package/lib/commands/avatar/get-image-by-type.js +1 -0
- package/lib/commands/avatar/get-system-avatars.js +1 -0
- package/lib/commands/avatar/get-universal-avatars.js +1 -0
- package/lib/commands/avatar/set-user-avatar.js +1 -0
- package/lib/commands/avatar/upload-universal-avatar.js +1 -0
- package/lib/commands/avatar/upload-user-avatar.js +1 -0
- package/lib/commands/comment/add.js +1 -0
- package/lib/commands/comment/delete.js +1 -0
- package/lib/commands/comment/get-for-issue.js +1 -0
- package/lib/commands/comment/get-with-ids.js +1 -0
- package/lib/commands/comment/get.js +1 -0
- package/lib/commands/comment/update.js +1 -0
- package/lib/commands/comment-property/delete-property.js +1 -0
- package/lib/commands/comment-property/get-property-keys.js +1 -0
- package/lib/commands/comment-property/get-property.js +1 -0
- package/lib/commands/comment-property/set-property.js +1 -0
- package/lib/commands/config/add.js +1 -0
- package/lib/commands/config/delete.js +1 -0
- package/lib/commands/config/get-default.js +1 -0
- package/lib/commands/config/list.js +1 -0
- package/lib/commands/config/set-default.js +1 -0
- package/lib/commands/dashboard/add-edit-permission.js +1 -0
- package/lib/commands/dashboard/add-share-permission.js +1 -0
- package/lib/commands/dashboard/copy.js +1 -0
- package/lib/commands/dashboard/create.js +1 -0
- package/lib/commands/dashboard/delete.js +1 -0
- package/lib/commands/dashboard/get-all.js +1 -0
- package/lib/commands/dashboard/get-permissions.js +1 -0
- package/lib/commands/dashboard/get.js +1 -0
- package/lib/commands/dashboard/search.js +1 -0
- package/lib/commands/dashboard/update.js +1 -0
- package/lib/commands/dashboard-gadget/add.js +1 -0
- package/lib/commands/dashboard-gadget/get-availables.js +1 -0
- package/lib/commands/dashboard-gadget/remove.js +1 -0
- package/lib/commands/dashboard-gadget/search.js +1 -0
- package/lib/commands/dashboard-gadget/update.js +1 -0
- package/lib/commands/dashboard-item-property/delete.js +1 -0
- package/lib/commands/dashboard-item-property/get-keys.js +1 -0
- package/lib/commands/dashboard-item-property/get.js +1 -0
- package/lib/commands/dashboard-item-property/set.js +1 -0
- package/lib/commands/filter/add-favourite.js +1 -0
- package/lib/commands/filter/change-owner.js +1 -0
- package/lib/commands/filter/create.js +1 -0
- package/lib/commands/filter/delete.js +1 -0
- package/lib/commands/filter/get-columns.js +1 -0
- package/lib/commands/filter/get-details.js +1 -0
- package/lib/commands/filter/get-favourites.js +1 -0
- package/lib/commands/filter/get-my.js +1 -0
- package/lib/commands/filter/get.js +1 -0
- package/lib/commands/filter/remove-favourite.js +1 -0
- package/lib/commands/filter/reset-columns.js +1 -0
- package/lib/commands/filter/search.js +1 -0
- package/lib/commands/filter/set-columns.js +1 -0
- package/lib/commands/filter/update.js +1 -0
- package/lib/commands/filter-sharing/add-edit-permission.js +1 -0
- package/lib/commands/filter-sharing/add-share-permission.js +1 -0
- package/lib/commands/filter-sharing/delete-permission.js +1 -0
- package/lib/commands/filter-sharing/get-default-scope.js +1 -0
- package/lib/commands/filter-sharing/get-edit-permissions.js +1 -0
- package/lib/commands/filter-sharing/get-permission.js +1 -0
- package/lib/commands/filter-sharing/get-share-permissions.js +1 -0
- package/lib/commands/filter-sharing/set-default-scope.js +1 -0
- package/lib/commands/group/add-user.js +1 -0
- package/lib/commands/group/create.js +1 -0
- package/lib/commands/group/find-groups.js +1 -0
- package/lib/commands/group/get-all.js +1 -0
- package/lib/commands/group/get-users.js +1 -0
- package/lib/commands/group/get.js +1 -0
- package/lib/commands/group/remove-user.js +1 -0
- package/lib/commands/group/remove.js +1 -0
- package/lib/commands/group-and-user-picker/find-groups.js +1 -0
- package/lib/commands/group-and-user-picker/find-users.js +1 -0
- package/lib/commands/issue/archive.js +1 -0
- package/lib/commands/issue/assign.js +1 -0
- package/lib/commands/issue/create.js +1 -0
- package/lib/commands/issue/delete.js +1 -0
- package/lib/commands/issue/edit.js +1 -0
- package/lib/commands/issue/get-changelogs.js +1 -0
- package/lib/commands/issue/get-create-metadata.js +1 -0
- package/lib/commands/issue/get-edit-metadata.js +1 -0
- package/lib/commands/issue/get-events.js +1 -0
- package/lib/commands/issue/get-transitions.js +1 -0
- package/lib/commands/issue/get.js +1 -0
- package/lib/commands/issue/restore.js +1 -0
- package/lib/commands/issue/send-notifications.js +1 -0
- package/lib/commands/issue/transition.js +1 -0
- package/lib/commands/issue-field/create.js +1 -0
- package/lib/commands/issue-field/delete.js +1 -0
- package/lib/commands/issue-field/get-all.js +1 -0
- package/lib/commands/issue-field/move-trash.js +1 -0
- package/lib/commands/issue-field/restore-trash.js +1 -0
- package/lib/commands/issue-field/search-trash.js +1 -0
- package/lib/commands/issue-field/search.js +1 -0
- package/lib/commands/issue-field/update.js +1 -0
- package/lib/commands/issue-field-configuration/assign-issue-type.js +1 -0
- package/lib/commands/issue-field-configuration/assign-scheme-to-project.js +1 -0
- package/lib/commands/issue-field-configuration/create-scheme.js +1 -0
- package/lib/commands/issue-field-configuration/create.js +1 -0
- package/lib/commands/issue-field-configuration/delete-scheme.js +1 -0
- package/lib/commands/issue-field-configuration/delete.js +1 -0
- package/lib/commands/issue-field-configuration/get-all-issue-type-items.js +1 -0
- package/lib/commands/issue-field-configuration/get-all-schemes.js +1 -0
- package/lib/commands/issue-field-configuration/get-all.js +1 -0
- package/lib/commands/issue-field-configuration/get-items.js +1 -0
- package/lib/commands/issue-field-configuration/get-project-schemes.js +1 -0
- package/lib/commands/issue-field-configuration/remove-issue-types.js +1 -0
- package/lib/commands/issue-field-configuration/update-items.js +1 -0
- package/lib/commands/issue-field-configuration/update-scheme.js +1 -0
- package/lib/commands/issue-field-configuration/update.js +1 -0
- package/lib/commands/issue-field-context/add-issue-types.js +1 -0
- package/lib/commands/issue-field-context/assign-to-projects.js +1 -0
- package/lib/commands/issue-field-context/create.js +1 -0
- package/lib/commands/issue-field-context/delete.js +1 -0
- package/lib/commands/issue-field-context/get-all.js +1 -0
- package/lib/commands/issue-field-context/get-contexts-for-projects-and-issue-types.js +1 -0
- package/lib/commands/issue-field-context/get-default-values.js +1 -0
- package/lib/commands/issue-field-context/get-issue-types.js +1 -0
- package/lib/commands/issue-field-context/get-project-mappings.js +1 -0
- package/lib/commands/issue-field-context/remove-from-projects.js +1 -0
- package/lib/commands/issue-field-context/remove-issue-types.js +1 -0
- package/lib/commands/issue-field-context/set-default-values.js +1 -0
- package/lib/commands/issue-field-context/update.js +1 -0
- package/lib/commands/issue-field-option/create-for-context.js +1 -0
- package/lib/commands/issue-field-option/delete-for-context.js +1 -0
- package/lib/commands/issue-field-option/get-for-context.js +1 -0
- package/lib/commands/issue-field-option/get.js +1 -0
- package/lib/commands/issue-field-option/reorder-for-context.js +1 -0
- package/lib/commands/issue-field-option/update-for-context.js +1 -0
- package/lib/commands/issue-link/create.js +1 -0
- package/lib/commands/issue-link/delete.js +1 -0
- package/lib/commands/issue-link/get.js +1 -0
- package/lib/commands/issue-link-type/create.js +1 -0
- package/lib/commands/issue-link-type/delete.js +1 -0
- package/lib/commands/issue-link-type/get-all.js +1 -0
- package/lib/commands/issue-link-type/get.js +1 -0
- package/lib/commands/issue-link-type/update.js +1 -0
- package/lib/commands/issue-navigator-setting/get-columns.js +1 -0
- package/lib/commands/issue-navigator-setting/set-columns.js +1 -0
- package/lib/commands/issue-priority/create.js +1 -0
- package/lib/commands/issue-priority/delete.js +1 -0
- package/lib/commands/issue-priority/move.js +1 -0
- package/lib/commands/issue-priority/search.js +1 -0
- package/lib/commands/issue-priority/set-default.js +1 -0
- package/lib/commands/issue-priority/update.js +1 -0
- package/lib/commands/issue-property/delete-bulk.js +1 -0
- package/lib/commands/issue-property/delete.js +1 -0
- package/lib/commands/issue-property/get-keys.js +1 -0
- package/lib/commands/issue-property/get.js +1 -0
- package/lib/commands/issue-property/set-bulk.js +1 -0
- package/lib/commands/issue-property/set-by-issue-bulk.js +1 -0
- package/lib/commands/issue-property/set-by-list-bulk.js +1 -0
- package/lib/commands/issue-property/set.js +1 -0
- package/lib/commands/issue-remote-link/create.js +1 -0
- package/lib/commands/issue-remote-link/delete-by-global-id.js +1 -0
- package/lib/commands/issue-remote-link/delete.js +1 -0
- package/lib/commands/issue-remote-link/get-all.js +1 -0
- package/lib/commands/issue-remote-link/get.js +1 -0
- package/lib/commands/issue-remote-link/update.js +1 -0
- package/lib/commands/issue-resolution/create.js +1 -0
- package/lib/commands/issue-resolution/delete.js +1 -0
- package/lib/commands/issue-resolution/get-all.js +1 -0
- package/lib/commands/issue-resolution/get.js +1 -0
- package/lib/commands/issue-resolution/move.js +1 -0
- package/lib/commands/issue-resolution/search.js +1 -0
- package/lib/commands/issue-resolution/set-default.js +1 -0
- package/lib/commands/issue-resolution/update.js +1 -0
- package/lib/commands/issue-search/get-picker-suggestions.js +1 -0
- package/lib/commands/issue-search/search.js +1 -0
- package/lib/commands/issue-search/test-jql.js +1 -0
- package/lib/commands/issue-security-level/get-members.js +1 -0
- package/lib/commands/issue-security-level/get.js +1 -0
- package/lib/commands/issue-security-scheme/get-all.js +1 -0
- package/lib/commands/issue-security-scheme/get-levels.js +1 -0
- package/lib/commands/issue-security-scheme/get.js +1 -0
- package/lib/commands/issue-type/create.js +1 -0
- package/lib/commands/issue-type/delete.js +1 -0
- package/lib/commands/issue-type/get-all-for-projects.js +1 -0
- package/lib/commands/issue-type/get-all.js +1 -0
- package/lib/commands/issue-type/get-alternatives.js +1 -0
- package/lib/commands/issue-type/get.js +1 -0
- package/lib/commands/issue-type/set-avatar.js +1 -0
- package/lib/commands/issue-type/update.js +1 -0
- package/lib/commands/issue-type/upload-avatar.js +1 -0
- package/lib/commands/issue-type-property/delete.js +1 -0
- package/lib/commands/issue-type-property/get-keys.js +1 -0
- package/lib/commands/issue-type-property/get.js +1 -0
- package/lib/commands/issue-type-property/set.js +1 -0
- package/lib/commands/issue-type-scheme/add-issue-types.js +1 -0
- package/lib/commands/issue-type-scheme/assign-to-project.js +1 -0
- package/lib/commands/issue-type-scheme/create.js +1 -0
- package/lib/commands/issue-type-scheme/delete.js +1 -0
- package/lib/commands/issue-type-scheme/get-for-projects.js +1 -0
- package/lib/commands/issue-type-scheme/get-issue-types.js +1 -0
- package/lib/commands/issue-type-scheme/get-mappings.js +1 -0
- package/lib/commands/issue-type-scheme/get-projects.js +1 -0
- package/lib/commands/issue-type-scheme/move-issue-types.js +1 -0
- package/lib/commands/issue-type-scheme/remove-all-projects.js +1 -0
- package/lib/commands/issue-type-scheme/remove-issue-type.js +1 -0
- package/lib/commands/issue-type-scheme/remove-project.js +1 -0
- package/lib/commands/issue-type-scheme/search.js +1 -0
- package/lib/commands/issue-type-scheme/set-projects.js +1 -0
- package/lib/commands/issue-type-scheme/update.js +1 -0
- package/lib/commands/issue-type-screen-scheme/add-mappings.js +1 -0
- package/lib/commands/issue-type-screen-scheme/assign-to-project.js +1 -0
- package/lib/commands/issue-type-screen-scheme/create.js +1 -0
- package/lib/commands/issue-type-screen-scheme/delete.js +1 -0
- package/lib/commands/issue-type-screen-scheme/get-for-projects.js +1 -0
- package/lib/commands/issue-type-screen-scheme/get-items.js +1 -0
- package/lib/commands/issue-type-screen-scheme/get-projects.js +1 -0
- package/lib/commands/issue-type-screen-scheme/remove-mappings.js +1 -0
- package/lib/commands/issue-type-screen-scheme/search.js +1 -0
- package/lib/commands/issue-type-screen-scheme/set-default-screen.js +1 -0
- package/lib/commands/issue-type-screen-scheme/update.js +1 -0
- package/lib/commands/issue-vote/add.js +1 -0
- package/lib/commands/issue-vote/delete.js +1 -0
- package/lib/commands/issue-vote/get-all.js +1 -0
- package/lib/commands/issue-watcher/add.js +1 -0
- package/lib/commands/issue-watcher/delete.js +1 -0
- package/lib/commands/issue-watcher/get-all.js +1 -0
- package/lib/commands/issue-watcher/get-bulk.js +1 -0
- package/lib/commands/jira-expression/analyse.js +1 -0
- package/lib/commands/jira-expression/evaluate.js +1 -0
- package/lib/commands/jira-settings/get-advanced.js +1 -0
- package/lib/commands/jira-settings/get-globals.js +1 -0
- package/lib/commands/jira-settings/get-properties.js +1 -0
- package/lib/commands/jira-settings/set-property.js +1 -0
- package/lib/commands/jql/convert-user-identifiers.js +1 -0
- package/lib/commands/jql/get-auto-complete-suggestions.js +1 -0
- package/lib/commands/jql/get-reference-data.js +1 -0
- package/lib/commands/jql/parse.js +1 -0
- package/lib/commands/jql/sanitize.js +1 -0
- package/lib/commands/label/get-all.js +1 -0
- package/lib/commands/license/get.js +1 -0
- package/lib/commands/myself/change-password.js +1 -0
- package/lib/commands/myself/delete-preference.js +1 -0
- package/lib/commands/myself/get-locale.js +1 -0
- package/lib/commands/myself/get-preference.js +1 -0
- package/lib/commands/myself/get.js +1 -0
- package/lib/commands/myself/set-preference.js +1 -0
- package/lib/commands/myself/update-user.js +1 -0
- package/lib/commands/notification-scheme/add.js +1 -0
- package/lib/commands/notification-scheme/create.js +1 -0
- package/lib/commands/notification-scheme/delete-notification.js +1 -0
- package/lib/commands/notification-scheme/delete.js +1 -0
- package/lib/commands/notification-scheme/get-all.js +1 -0
- package/lib/commands/notification-scheme/get-projects.js +1 -0
- package/lib/commands/notification-scheme/get.js +1 -0
- package/lib/commands/notification-scheme/update.js +1 -0
- package/lib/commands/permission/check-global-permission.js +1 -0
- package/lib/commands/permission/check-issue-permission.js +1 -0
- package/lib/commands/permission/check-project-permission.js +1 -0
- package/lib/commands/permission/get-all.js +1 -0
- package/lib/commands/permission/get-my.js +1 -0
- package/lib/commands/permission/get-permitted.js +1 -0
- package/lib/commands/permission-scheme/create-grant.js +1 -0
- package/lib/commands/permission-scheme/create-scheme.js +1 -0
- package/lib/commands/permission-scheme/delete-grant.js +1 -0
- package/lib/commands/permission-scheme/delete-scheme.js +1 -0
- package/lib/commands/permission-scheme/get-all-grants.js +1 -0
- package/lib/commands/permission-scheme/get-all.js +1 -0
- package/lib/commands/permission-scheme/get-grant.js +1 -0
- package/lib/commands/permission-scheme/get.js +1 -0
- package/lib/commands/project/archive.js +1 -0
- package/lib/commands/project/create.js +1 -0
- package/lib/commands/project/delete.js +1 -0
- package/lib/commands/project/get-all-issue-types.js +1 -0
- package/lib/commands/project/get-all.js +1 -0
- package/lib/commands/project/get-issue-type-hierarchy.js +1 -0
- package/lib/commands/project/get-notification-schema.js +1 -0
- package/lib/commands/project/get.js +1 -0
- package/lib/commands/project/project.js +1 -0
- package/lib/commands/project/restore.js +1 -0
- package/lib/commands/project/search.js +1 -0
- package/lib/commands/project/unarchive.js +1 -0
- package/lib/commands/project/update.js +1 -0
- package/lib/commands/project-avatar/delete.js +1 -0
- package/lib/commands/project-avatar/get-all.js +1 -0
- package/lib/commands/project-avatar/set.js +1 -0
- package/lib/commands/project-avatar/upload.js +1 -0
- package/lib/commands/project-category/create.js +1 -0
- package/lib/commands/project-category/delete.js +1 -0
- package/lib/commands/project-category/get-all.js +1 -0
- package/lib/commands/project-category/get.js +1 -0
- package/lib/commands/project-category/update.js +1 -0
- package/lib/commands/project-component/create.js +1 -0
- package/lib/commands/project-component/delete.js +1 -0
- package/lib/commands/project-component/get-all.js +1 -0
- package/lib/commands/project-component/get-issues-count.js +1 -0
- package/lib/commands/project-component/get.js +1 -0
- package/lib/commands/project-component/search.js +1 -0
- package/lib/commands/project-component/update.js +1 -0
- package/lib/commands/project-email/get-sender.js +1 -0
- package/lib/commands/project-email/set-sender.js +1 -0
- package/lib/commands/project-feature/get.js +1 -0
- package/lib/commands/project-feature/set.js +1 -0
- package/lib/commands/project-key-and-name-validation/get-valid-key.js +1 -0
- package/lib/commands/project-key-and-name-validation/get-valid-name.js +1 -0
- package/lib/commands/project-key-and-name-validation/validate-key.js +1 -0
- package/lib/commands/project-permission-scheme/get-issue-security-levels.js +1 -0
- package/lib/commands/project-permission-scheme/get-issue-security-scheme-levels.js +1 -0
- package/lib/commands/project-permission-scheme/get-issue-security-scheme.js +1 -0
- package/lib/commands/project-permission-scheme/get-permissions.js +1 -0
- package/lib/commands/project-permission-scheme/get.js +1 -0
- package/lib/commands/project-permission-scheme/set.js +1 -0
- package/lib/commands/project-property/delete.js +1 -0
- package/lib/commands/project-property/get-keys.js +1 -0
- package/lib/commands/project-property/get.js +1 -0
- package/lib/commands/project-property/set.js +1 -0
- package/lib/commands/project-role/create.js +1 -0
- package/lib/commands/project-role/delete.js +1 -0
- package/lib/commands/project-role/get-all.js +1 -0
- package/lib/commands/project-role/get-role.js +1 -0
- package/lib/commands/project-role/get-roles-and-details.js +1 -0
- package/lib/commands/project-role/get-roles.js +1 -0
- package/lib/commands/project-role/get.js +1 -0
- package/lib/commands/project-role/project-role.js +1 -0
- package/lib/commands/project-role/update-partial.js +1 -0
- package/lib/commands/project-role/update.js +1 -0
- package/lib/commands/project-role-actor/add-actors.js +1 -0
- package/lib/commands/project-role-actor/add-default-actors.js +1 -0
- package/lib/commands/project-role-actor/delete-actors.js +1 -0
- package/lib/commands/project-role-actor/delete-default-actors.js +1 -0
- package/lib/commands/project-role-actor/get.js +1 -0
- package/lib/commands/project-role-actor/set-actors.js +1 -0
- package/lib/commands/project-type/check-accessible.js +1 -0
- package/lib/commands/project-type/get-all.js +1 -0
- package/lib/commands/project-type/get-licensed.js +1 -0
- package/lib/commands/project-type/get.js +1 -0
- package/lib/commands/project-type/update.js +1 -0
- package/lib/commands/project-version/create.js +1 -0
- package/lib/commands/project-version/delete-and-replace.js +1 -0
- package/lib/commands/project-version/get-all.js +1 -0
- package/lib/commands/project-version/get-related-issue-count.js +1 -0
- package/lib/commands/project-version/get-unresolved-issue-count.js +1 -0
- package/lib/commands/project-version/get.js +1 -0
- package/lib/commands/project-version/merge.js +2 -0
- package/lib/commands/project-version/move.js +1 -0
- package/lib/commands/project-version/search.js +1 -0
- package/lib/commands/project-version/update.js +1 -0
- package/lib/commands/screen/add-field-to-default-screen.js +1 -0
- package/lib/commands/screen/create.js +1 -0
- package/lib/commands/screen/delete.js +1 -0
- package/lib/commands/screen/get-all.js +1 -0
- package/lib/commands/screen/get-available-fields.js +1 -0
- package/lib/commands/screen/get-field-screens.js +1 -0
- package/lib/commands/screen/get-workflows.js +1 -0
- package/lib/commands/screen/update.js +1 -0
- package/lib/commands/screen-scheme/create.js +1 -0
- package/lib/commands/screen-scheme/delete.js +1 -0
- package/lib/commands/screen-scheme/get-all.js +1 -0
- package/lib/commands/screen-scheme/update.js +1 -0
- package/lib/commands/screen-tab/create.js +1 -0
- package/lib/commands/screen-tab/delete.js +1 -0
- package/lib/commands/screen-tab/get-all.js +1 -0
- package/lib/commands/screen-tab/move.js +1 -0
- package/lib/commands/screen-tab/update.js +1 -0
- package/lib/commands/screen-tab-field/add.js +1 -0
- package/lib/commands/screen-tab-field/get-all.js +1 -0
- package/lib/commands/screen-tab-field/move.js +1 -0
- package/lib/commands/screen-tab-field/remove.js +1 -0
- package/lib/commands/server-info/get.js +1 -0
- package/lib/commands/server-info/jmx.js +1 -0
- package/lib/commands/status/create.js +1 -0
- package/lib/commands/status/delete.js +1 -0
- package/lib/commands/status/get-usages.js +1 -0
- package/lib/commands/status/get.js +1 -0
- package/lib/commands/status/search.js +1 -0
- package/lib/commands/status/status-command.js +1 -0
- package/lib/commands/status/update.js +1 -0
- package/lib/commands/task/cancel.js +1 -0
- package/lib/commands/task/get.js +1 -0
- package/lib/commands/time-tracking/get-all.js +1 -0
- package/lib/commands/time-tracking/get-setting.js +1 -0
- package/lib/commands/time-tracking/get.js +1 -0
- package/lib/commands/time-tracking/select.js +1 -0
- package/lib/commands/time-tracking/set.js +1 -0
- package/lib/commands/user/add-user-to-application.js +1 -0
- package/lib/commands/user/change-password.js +1 -0
- package/lib/commands/user/create.js +1 -0
- package/lib/commands/user/delete.js +1 -0
- package/lib/commands/user/get-all.js +1 -0
- package/lib/commands/user/get-default-columns.js +1 -0
- package/lib/commands/user/get-email.js +1 -0
- package/lib/commands/user/get-user-groups.js +1 -0
- package/lib/commands/user/get.js +1 -0
- package/lib/commands/user/remove-user-from-application.js +1 -0
- package/lib/commands/user/reset-default-columns.js +1 -0
- package/lib/commands/user/set-default-columns.js +1 -0
- package/lib/commands/user/update.js +1 -0
- package/lib/commands/user/user-command.js +1 -0
- package/lib/commands/user-property/delete.js +1 -0
- package/lib/commands/user-property/get-all-keys.js +1 -0
- package/lib/commands/user-property/get-user-property.js +1 -0
- package/lib/commands/user-property/set.js +1 -0
- package/lib/commands/user-search/accounts-with-query.js +1 -0
- package/lib/commands/user-search/assignable-users-bulk.js +1 -0
- package/lib/commands/user-search/assignable-users.js +1 -0
- package/lib/commands/user-search/find.js +1 -0
- package/lib/commands/user-search/with-permission.js +1 -0
- package/lib/commands/user-search/with-query.js +1 -0
- package/lib/commands/workflow/create.js +1 -0
- package/lib/commands/workflow/delete.js +1 -0
- package/lib/commands/workflow/get-projects.js +1 -0
- package/lib/commands/workflow/get-schemes.js +1 -0
- package/lib/commands/workflow/get-statuses-properties.js +1 -0
- package/lib/commands/workflow/get-statuses.js +1 -0
- package/lib/commands/workflow/get-transitions-rules.js +1 -0
- package/lib/commands/workflow/get-transitions.js +1 -0
- package/lib/commands/workflow/search.js +1 -0
- package/lib/commands/workflow-scheme/create.js +5 -0
- package/lib/commands/workflow-scheme/delete-default-workflow.js +1 -0
- package/lib/commands/workflow-scheme/delete-issue-types-for-workflow.js +1 -0
- package/lib/commands/workflow-scheme/delete-workflow-for-issue-type.js +1 -0
- package/lib/commands/workflow-scheme/delete.js +1 -0
- package/lib/commands/workflow-scheme/get-all.js +1 -0
- package/lib/commands/workflow-scheme/get-default-workflow.js +1 -0
- package/lib/commands/workflow-scheme/get-issue-types-for-workflows.js +1 -0
- package/lib/commands/workflow-scheme/get-workflow-for-issue-type.js +1 -0
- package/lib/commands/workflow-scheme/get.js +1 -0
- package/lib/commands/workflow-scheme/set-issue-types-for-workflow.js +1 -0
- package/lib/commands/workflow-scheme/set-workflow-for-issue-type.js +1 -0
- package/lib/commands/workflow-scheme/update-default-workflow.js +1 -0
- package/lib/commands/workflow-scheme/update.js +5 -0
- package/lib/commands/workflow-scheme-draft/create.js +1 -0
- package/lib/commands/workflow-scheme-draft/delete-default-workflow.js +1 -0
- package/lib/commands/workflow-scheme-draft/delete-issue-types-for-workflow.js +1 -0
- package/lib/commands/workflow-scheme-draft/delete-workflow-for-issue-type.js +1 -0
- package/lib/commands/workflow-scheme-draft/delete.js +1 -0
- package/lib/commands/workflow-scheme-draft/get-default-workflow.js +1 -0
- package/lib/commands/workflow-scheme-draft/get-issue-types-for-workflows.js +1 -0
- package/lib/commands/workflow-scheme-draft/get-workflow-for-issue-type.js +1 -0
- package/lib/commands/workflow-scheme-draft/get.js +1 -0
- package/lib/commands/workflow-scheme-draft/publish.js +1 -0
- package/lib/commands/workflow-scheme-draft/set-issue-types-for-workflow.js +1 -0
- package/lib/commands/workflow-scheme-draft/set-workflow-for-issue-type.js +1 -0
- package/lib/commands/workflow-scheme-draft/update-default-workflow.js +1 -0
- package/lib/commands/workflow-scheme-draft/update.js +5 -0
- package/lib/commands/workflow-scheme-project-association/assign.js +1 -0
- package/lib/commands/workflow-scheme-project-association/get-all.js +1 -0
- package/lib/commands/workflow-status/get-all.js +1 -0
- package/lib/commands/workflow-status/get.js +1 -0
- package/lib/commands/workflow-status-category/get-all.js +1 -0
- package/lib/commands/workflow-status-category/get.js +1 -0
- package/lib/commands/workflow-transition-property/create.js +1 -0
- package/lib/commands/workflow-transition-property/delete.js +1 -0
- package/lib/commands/workflow-transition-property/get.js +1 -0
- package/lib/commands/workflow-transition-property/update.js +1 -0
- package/lib/commands/worklog/add.js +1 -0
- package/lib/commands/worklog/delete.js +1 -0
- package/lib/commands/worklog/get-deleted.js +1 -0
- package/lib/commands/worklog/get-for-issue.js +1 -0
- package/lib/commands/worklog/get-updated.js +1 -0
- package/lib/commands/worklog/get-with-ids.js +1 -0
- package/lib/commands/worklog/get.js +1 -0
- package/lib/commands/worklog/update.js +1 -0
- package/lib/commands/worklog-property/delete.js +1 -0
- package/lib/commands/worklog-property/get-keys.js +1 -0
- package/lib/commands/worklog-property/get.js +1 -0
- package/lib/commands/worklog-property/set-property.js +1 -0
- package/lib/index.js +1 -0
- package/package.json +358 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common"),atlascli_common_2=require("@thestarware/atlascli-common");class UpdateWorkflowSchemeDraft extends atlascli_common_1.CommandWithSite{async runWithSite(e){var{flags:o,args:a}=await this.parse(UpdateWorkflowSchemeDraft),e=this.getJira(e,o),t=this.removeFlagsFromBase(o);o.show?this.showSampleJSONBody(o):await this.updateWorkflowScheme(t,a,e)}async updateWorkflowScheme(e,o,a){var t=e["workflowSchemeId"],r=tslib_1.__rest(e,["workflowSchemeId"]),s=Object.values(r).every(e=>void 0===e);let i=o.issueLinkBody;if(s&&void 0===i){if(!(i=JSON.parse(await(0,atlascli_common_1.readStdin)()))||0===i.length)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.")}else i=r;o=await a.workflowSchemeDraftManager.updateWorkflowSchemeDraft(t,i);this.display(e,o)}showSampleJSONBody(e){e.json=!0,this.display(e,{name:"Example workflow scheme",description:"The description of the example workflow scheme.",defaultWorkflow:"jira",issueTypeMappings:{1e4:"jira",10001:"Builds Workflow"},updateDraftIfNeeded:!0})}}(exports.default=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.",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:!0}),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({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",parse:e=>(0,atlascli_common_2.commaSeperatedListOfKeyValuePairsToJsonObjectArrayMapper)(e)[0]}),updateDraftIfNeeded:core_1.Flags.boolean({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:
|
|
2
|
+
|
|
3
|
+
• 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
|
+
• 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.`}),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),UpdateWorkflowSchemeDraft.args=[{name:"WorkflowSchemeBody",description:"Workflow scheme update request in JSON format."}];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class AssignToProject extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,o){var t=(await this.parse(AssignToProject))["flags"],t=this.removeFlagsFromBase(t),s=await(0,project_util_1.getProject)(o,t.project);t.projectId=s.projectId,delete t.project,await o.workflowSchemeProjectAssociationManager.assingToProject(t)}}(exports.default=AssignToProject).description="Assigns a workflow scheme to a project. This operation is performed only when there are no issues in the project.",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);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common"),project_util_1=require("@thestarware/atlascli-common/lib/project-util");class GetProjectAssociations extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,o){var t=(await this.parse(GetProjectAssociations))["flags"],s=this.removeFlagsFromBase(t),r=await(0,project_util_1.getProject)(o,s.project),r=(s.projectId=r.projectId,delete s.project,await o.workflowSchemeProjectAssociationManager.getProjects(s));this.display(t,this.modifyResponseForDisplay(r.values))}modifyResponseForDisplay(e){const t=[];return e.forEach(e=>{var o={};o.projectId=e.projectIds[0],o.workflowSchemeId=e.workflowScheme.id,o.workflowSchemeName=e.workflowScheme.name,t.push(o)}),t}}(exports.default=GetProjectAssociations).description="Gets a list of the workflow schemes associated with a list of projects",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:!0,required:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const atlascli_common_1=require("@thestarware/atlascli-common");class GetAllWorkflowStatus extends atlascli_common_1.CommandWithSite{async runWithSite(t){var a=(await this.parse(GetAllWorkflowStatus))["flags"],t=await this.getJira(t,a).workflowStatusManager.getAllStatuses();this.display(a,t)}}(exports.default=GetAllWorkflowStatus).description="Gets all statuses associated with active workflows.",GetAllWorkflowStatus.flags=Object.assign({},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetWorkflowStatus extends atlascli_common_1.CommandWithSite{async runWithSite(t){var e=[];const{flags:s,argv:a}=await this.parse(GetWorkflowStatus),o=this.getJira(t,s);e.push(...s.idOrName||[]),e.push(...Array.isArray(a)?a:"string"==typeof a?[a]:[]),0===e.length&&this.error("No workflow status id is specified.");t=e.sort().map(t=>o.workflowStatusManager.getStatus(t));await Promise.all(t).then(t=>{0<t.length&&this.display(s,t)})}}(exports.default=GetWorkflowStatus).strict=!1,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.",GetWorkflowStatus.flags=Object.assign({idOrName:core_1.Flags.string({description:"The ID or name of the status.",multiple:!0})},atlascli_common_1.CommandWithSite.flags),GetWorkflowStatus.args=[{name:"idOrName",description:"The ID or name of the status."}];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const atlascli_common_1=require("@thestarware/atlascli-common");class GetAllStatusCategories extends atlascli_common_1.CommandWithSite{async runWithSite(t){var a=(await this.parse(GetAllStatusCategories))["flags"],t=await this.getJira(t,a).workflowStatusCategoryManager.getAllStatusCatagories();this.display(a,t)}}(exports.default=GetAllStatusCategories).description="Gets a all status categories.",GetAllStatusCategories.flags=Object.assign({},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetWorkflowStatusCategory extends atlascli_common_1.CommandWithSite{async runWithSite(t){var e=(await this.parse(GetWorkflowStatusCategory))["flags"],t=await this.getJira(t,e).workflowStatusCategoryManager.getStatusCategory(e.idOrName);this.display(e,t)}}(exports.default=GetWorkflowStatusCategory).description="Gets a status category. Status categories provided a mechanism for categorizing statuses.",GetWorkflowStatusCategory.flags=Object.assign({idOrName:core_1.Flags.string({description:"The ID or name of the status.",required:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class CreateTransitionProperties extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(CreateTransitionProperties))["flags"],e=this.getJira(e,t),r=this.removeFlagsFromBase(t),{transitionId:i,value:o}=r,r=tslib_1.__rest(r,["transitionId","value"]),e=await e.workflowTransitionPropertiesManager.createTransitionProperties(i,r,{value:o});this.display(t,e)}}(exports.default=CreateTransitionProperties).description="Adds a property to a workflow transition. Transition properties are used to change the behavior of a transition.",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:!0}),workflowName:core_1.Flags.string({char:"n",description:"The name of the workflow that the transition belongs to.",required:!0}),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:!0}),value:core_1.Flags.string({description:"The value of the transition property.",required:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class DeleteTransitionProperties extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(DeleteTransitionProperties))["flags"],e=this.getJira(e,t),t=this.removeFlagsFromBase(t),r=t["transitionId"],t=tslib_1.__rest(t,["transitionId"]);await e.workflowTransitionPropertiesManager.deleteTransitionProperties(r,t)}}(exports.default=DeleteTransitionProperties).description="Deletes a property from a workflow transition. Transition properties are used to change the behavior of a transition.",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:!0}),workflowName:core_1.Flags.string({char:"n",description:"The name of the workflow that the transition belongs to.",required:!0}),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:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class GetTransitionProperties extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(GetTransitionProperties))["flags"],e=this.getJira(e,t),r=this.removeFlagsFromBase(t),i=r["transitionId"],r=tslib_1.__rest(r,["transitionId"]),e=await e.workflowTransitionPropertiesManager.getTransitionProperties(i,r);this.display(t,e)}}(exports.default=GetTransitionProperties).description="Gets properties on a workflow transition. Transition properties are used to change the behavior of a transition.",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:!0}),workflowName:core_1.Flags.string({char:"n",description:"The name of the workflow that the transition belongs to.",required:!0}),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({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.",default:!1})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),core_1=require("@oclif/core"),atlascli_common_1=require("@thestarware/atlascli-common");class UpdateTransitionProperties extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(UpdateTransitionProperties))["flags"],e=this.getJira(e,t),r=this.removeFlagsFromBase(t),{transitionId:i,value:o}=r,r=tslib_1.__rest(r,["transitionId","value"]),e=await e.workflowTransitionPropertiesManager.updateTransitionProperties(i,r,{value:o});this.display(t,e)}}(exports.default=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.",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:!0}),workflowName:core_1.Flags.string({char:"n",description:"The name of the workflow that the transition belongs to.",required:!0}),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:!0}),value:core_1.Flags.string({description:"The value of the transition property.",required:!0})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core"),worklogs_1=require("@thestarware/atlassian-typescript-client/lib/jira/common/worklogs"),get_1=tslib_1.__importDefault(require("./get"));class Add extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(Add))["flags"],s=this.getJira(e,t);if(t.adjustEstimate===worklogs_1.AdjustEstimate.NEW&&void 0===t.newEstimate)throw new Error("--newEstimate is required when --adjustEstime=new!");if(t.adjustEstimate===worklogs_1.AdjustEstimate.MANUAL&&void 0===t.reduceBy)throw new Error("--reduceBy is required when --adjustEstime=manual!");if(void 0===t.timeSpent&&void 0===t.timeSpentSeconds)throw new Error("Either --timeSpent or --timeSpentSeconds is required!");var i=Add.flagsToWorklogRequest(t,e.cloud),s=await s.worklogManager.addWorklog(t.issue,i,t.adjustEstimate,t.newEstimate,t.reduceBy,t.notifyUsers);this.displayAlternativeForTable(t,s,get_1.default.mapWorklog(s,e.cloud))}static flagsToWorklogRequest(e,t){return{comment:void 0!==e.comment?(0,atlascli_common_1.getComment)(e.comment,t):void 0,visibility:(0,atlascli_common_1.getVisibility)(e),started:e.started,timeSpent:e.timeSpent,timeSpentSeconds:e.timeSpentSeconds,properties:null==(t=e.property)?void 0:t.map(e=>e.split("/")).map(e=>({key:e[0],value:e[1]}))}}}(exports.default=Add).description="Adds a worklog to an issue.",Add.requestBodyFlags=Object.assign(Object.assign({comment:core_1.Flags.string({description:"A acomment about worklog. In ADF for Cloud and simple string for Server/DC. "})},(0,atlascli_common_1.getVisibilityFlags)()),{started:core_1.Flags.string({description:"The datetime on which the worklog effort was started. Example: 2014-03-19T18:45:42.000+0200"}),timeSpent:core_1.Flags.string({exclusive:["timeSpentSeconds"],description:"The time spent working on the issue as days (#d), hours (#h), or minutes (#m or #). Cannot be provided if timeSpentSecond is provided. "}),timeSpentSeconds:core_1.Flags.integer({exclusive:["timeSpent"],description:"The time in seconds spent working on the issue. Cannot be provided if timeSpent is provided. "}),property:core_1.Flags.string({multiple:!0,description:"An entity property in the form of key/value. This parameter can be repeated."})}),Add.flags=Object.assign(Object.assign(Object.assign({issue:core_1.Flags.string({required:!0,description:"Issue ID or key."})},Add.requestBodyFlags),{adjustEstimate:core_1.Flags.string({description:"Defines how to update the issue's time estimate. Defaults to 'auto'.",options:["new","leave","manual","auto"]}),newEstimate:core_1.Flags.string({dependsOn:["adjustEstimate"],description:"The value to set as the issue's remaining time estimate, as days (#d), hours (#h), or minutes (#m or #). For example, 2d. Required when adjustEstimate is new."}),reduceBy:core_1.Flags.string({dependsOn:["adjustEstimate"],description:"The amount to reduce the issue's remaining estimate by, as days (#d), hours (#h), or minutes (#m). For example, 2d. Required when adjustEstimate is manual."}),notifyUsers:core_1.Flags.boolean({description:"notifyUsers Whether users watching the issue are notified by email. This parameter is only for Jira Cloud."})}),atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core"),worklogs_1=require("@thestarware/atlassian-typescript-client/lib/jira/common/worklogs");class WorklogDelete extends atlascli_common_1.CommandWithSite{async runWithSite(e){var s=(await this.parse(WorklogDelete))["flags"],e=this.getJira(e,s);if(s.adjustEstimate===worklogs_1.AdjustEstimate.NEW&&void 0===s.newEstimate)throw new Error("--newEstimate is required when --adjustEstime=new!");if(s.adjustEstimate===worklogs_1.AdjustEstimate.MANUAL&&void 0===s.increaseBy)throw new Error("--increaseBy is required when --adjustEstime=manual!");await e.worklogManager.deleteWorklog(s.issue,s.worklogId,s.adjustEstimate,s.newEstimate,s.increaseBy,s.notifyUsers)}}(exports.default=WorklogDelete).description="Deletes a worklog.",WorklogDelete.flags=Object.assign({issue:core_1.Flags.string({required:!0,description:"Issue ID or key."}),worklogId:core_1.Flags.integer({required:!0,description:"ID of Worklog"}),adjustEstimate:core_1.Flags.string({description:"Defines how to update the issue's time estimate. Defaults to 'auto'.",options:["new","leave","manual","auto"]}),newEstimate:core_1.Flags.string({description:"The value to set as the issue's remaining time estimate, as days (#d), hours (#h), or minutes (#m or #). For example, 2d. Required when adjustEstimate is new."}),increaseBy:core_1.Flags.string({description:"TThe amount to increase the issue's remaining estimate by, as days (#d), hours (#h), or minutes (#m or #). For example, 2d. Required when adjustEstimate is manual."}),notifyUsers:core_1.Flags.boolean({description:"notifyUsers Whether users watching the issue are notified by email. This parameter is only for Jira Cloud."})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core");class WorklogGetDeleted extends atlascli_common_1.CommandWithSite{async runWithSite(e){var{flags:t,args:a}=await this.parse(WorklogGetDeleted),e=await this.getJira(e,t).worklogManager.getDeletedWorklogs(t.since||a.since);this.displayAlternativeForTable(t,e,e.values)}}(exports.default=WorklogGetDeleted).description="Returns a list of IDs and delete timestamps for worklogs deleted after a date and time.",WorklogGetDeleted.flags=Object.assign({since:core_1.Flags.string({description:"The date and time, as a UNIX timestamp in milliseconds or ISDO Date Time, after which deleted worklogs are returned."})},atlascli_common_1.CommandWithSite.flags),WorklogGetDeleted.args=[{name:"since",description:WorklogGetDeleted.flags.since.description}];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core"),get_1=tslib_1.__importDefault(require("./get"));class GetIssueWorklogs extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(GetIssueWorklogs))["flags"],s=this.getJira(e,t);let r=Number.parseInt(t.startedAfter||"",10);t.startedAfter&&Number(r).toString(10)!==t.startedAfter&&(r=new Date(t.startedAfter).getTime());s=await s.worklogManager.getIssueWorklogs(t.issue,t.startAt,t.maxResults,r);this.isTabularOutput(t)?this.display(t,s.worklogs.map(t=>get_1.default.mapWorklog(t,e.cloud))):this.display(t,s)}}(exports.default=GetIssueWorklogs).description="Returns worklogs for an issue, starting from the oldest worklog or from the worklog started on or after a date and time.",GetIssueWorklogs.flags=Object.assign(Object.assign(Object.assign({issue:core_1.Flags.string({required:!0,description:"Issue ID or key."})},(0,atlascli_common_1.getStartAtAndMaxFlags)()),{startedAfter:core_1.Flags.string({description:"The worklog start date and time. Can be an ISO Date Time or a UNIX timestamp in milliseconds, after which worklogs are returned."})}),atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),get_deleted_1=tslib_1.__importDefault(require("./get-deleted"));class WorklogGetUpdated extends atlascli_common_1.CommandWithSite{async runWithSite(e){var{flags:t,args:a}=await this.parse(WorklogGetUpdated),e=await this.getJira(e,t).worklogManager.getUpdatedWorklogs(t.since||a.since);this.displayAlternativeForTable(t,e,e.values)}}(exports.default=WorklogGetUpdated).description="Returns a list of IDs and update timestamps for worklogs updated after a date and time.",WorklogGetUpdated.flags=get_deleted_1.default.flags,WorklogGetUpdated.args=get_deleted_1.default.args;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core"),get_1=tslib_1.__importDefault(require("./get"));class GetWorklogs extends atlascli_common_1.CommandWithSite{async runWithSite(t){var{flags:o,args:r}=await this.parse(GetWorklogs),e=this.getJira(t,o),e=(o.worklogId=o.worklogId||[],r.worklogId=r.worklogId?[r.worklogId]:[],await e.worklogManager.getWorklogs(...o.worklogId,...r.worklogId));this.isTabularOutput(o)?this.display(o,e):this.display(o,e.map(o=>get_1.default.mapWorklog(o,t.cloud)))}}(exports.default=GetWorklogs).description="Returns worklog details for a list of worklog IDs.",GetWorklogs.flags=Object.assign({worklogId:core_1.Flags.integer({multiple:!0,description:"ID of Worklog"})},atlascli_common_1.CommandWithSite.flags),GetWorklogs.args=[{name:"worklogId",description:"ID of Worklog"}];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core"),mapper_utils_1=require("@thestarware/atlascli-common/lib/util/mapper-utils");class GetWorklog extends atlascli_common_1.CommandWithSite{async runWithSite(t){var e=(await this.parse(GetWorklog))["flags"],r=await this.getJira(t,e).worklogManager.getWorklog(e.issue,e.worklogId);this.isTabularOutput(e)?this.display(e,GetWorklog.mapWorklog(r,t.cloud)):this.display(e,r)}static mapWorklog(t,e){return Object.assign(Object.assign(Object.assign({id:t.id,self:t.self,timeSpent:t.timeSpent,timeSpentSeconds:t.timeSpentSeconds},(0,mapper_utils_1.mapToUser)(t.author,e)),{comment:GetWorklog.getComment(t.comment),created:t.created,started:t.started,updated:t.updated}),(0,mapper_utils_1.mapToUser)(t.updateAuthor,e,"updateAuthor"))}static getComment(t){if("string"!=typeof t&&"object"==typeof t&&Array.isArray(t.content)&&0<t.content.length){var e=t.content[0];if(Array.isArray(e.content)&&0<e.content.length)return e.content[0].text}return t}}(exports.default=GetWorklog).description="Returns a specific worklog.",GetWorklog.flags=Object.assign({issue:core_1.Flags.string({required:!0,description:"Issue ID or key."}),worklogId:core_1.Flags.integer({required:!0,description:"ID of Worklog"})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const tslib_1=require("tslib"),atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core"),worklogs_1=require("@thestarware/atlassian-typescript-client/lib/jira/common/worklogs"),add_1=tslib_1.__importDefault(require("./add")),get_1=tslib_1.__importDefault(require("./get"));class WorklogUpdate extends atlascli_common_1.CommandWithSite{async runWithSite(e){var t=(await this.parse(WorklogUpdate))["flags"],s=this.getJira(e,t);if(t.adjustEstimate===worklogs_1.AdjustEstimate.NEW&&void 0===t.newEstimate)throw new Error("--newEstimate is required when --adjustEstime=new!");var i=add_1.default.flagsToWorklogRequest(t,e.cloud),s=await s.worklogManager.updateWorklog(t.issue,t.worklogId,i,t.adjustEstimate,t.newEstimate,t.notifyUsers);this.displayAlternativeForTable(t,s,get_1.default.mapWorklog(s,e.cloud))}}(exports.default=WorklogUpdate).description="Adds a worklog to an issue.",WorklogUpdate.flags=Object.assign(Object.assign(Object.assign(Object.assign({issue:core_1.Flags.string({required:!0,description:"Issue ID or key."}),worklogId:core_1.Flags.integer({required:!0,description:"ID of Worklog"})},add_1.default.requestBodyFlags),{adjustEstimate:core_1.Flags.string({description:"Defines how to update the issue's time estimate. Defaults to 'auto'.",options:["new","leave","auto"]}),newEstimate:core_1.Flags.string({dependsOn:["adjustEstimate"],description:"The value to set as the issue's remaining time estimate, as days (#d), hours (#h), or minutes (#m or #). For example, 2d. Required when adjustEstimate is new."}),notifyUsers:core_1.Flags.boolean({dependsOn:["adjustEstimate"],description:"notifyUsers Whether users watching the issue are notified by email. This parameter is only for Jira Cloud."})}),(0,atlascli_common_1.getVisibilityFlags)()),atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core");class SetWorklogProperty extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,r){var o=(await this.parse(SetWorklogProperty))["flags"];await r.worklogPropertyManager.deleteWorklogProperty(o.issue,o.worklogId,o.key)}}(exports.default=SetWorklogProperty).description="Deletes a property for a worklog.",SetWorklogProperty.flags=Object.assign({issue:core_1.Flags.string({required:!0,description:"Issue ID or key."}),worklogId:core_1.Flags.string({required:!0,description:"Worklog ID."}),key:core_1.Flags.string({required:!0,description:"Property key."})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core");class GetWorklogPropertyKeys extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,o){const r=(await this.parse(GetWorklogPropertyKeys))["flags"],s=await o.worklogPropertyManager.getWorklogPropertyKeys(r.issue,r.worklogId);this.displayJsonYamlOrTable(r,s,()=>this.tabularFormat(s.keys,r))}}(exports.default=GetWorklogPropertyKeys).description="Returns the keys of all the properties of a worklog.",GetWorklogPropertyKeys.flags=Object.assign({issue:core_1.Flags.string({required:!0,description:"Issue ID or key."}),worklogId:core_1.Flags.string({required:!0,description:"Worklog ID."})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core");class GetWorklogProperty extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,r){var o=(await this.parse(GetWorklogProperty))["flags"],r=await r.worklogPropertyManager.getWorklogProperty(o.issue,o.worklogId,o.key);this.display(o,r)}}(exports.default=GetWorklogProperty).description="Gets the value of a property for a worklog.",GetWorklogProperty.flags=Object.assign({issue:core_1.Flags.string({required:!0,description:"Issue ID or key."}),worklogId:core_1.Flags.string({required:!0,description:"Worklog ID."}),key:core_1.Flags.string({required:!0,description:"Property key."})},atlascli_common_1.CommandWithSite.flags);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const atlascli_common_1=require("@thestarware/atlascli-common"),core_1=require("@oclif/core");class SetWorklogProperty extends atlascli_common_1.BaseCommandWithCloudSite{async runWithCloudSite(e,r){var o=(await this.parse(SetWorklogProperty))["flags"];await r.worklogPropertyManager.setWorklogProperty(o.issue,o.worklogId,o.key,o.value)}}(exports.default=SetWorklogProperty).description="Creates or updates the value of a property for a worklog.",SetWorklogProperty.flags=Object.assign({issue:core_1.Flags.string({required:!0,description:"Issue ID or key."}),worklogId:core_1.Flags.string({required:!0,description:"Worklog ID."}),key:core_1.Flags.string({required:!0,description:"Property key."}),value:core_1.Flags.string({required:!0,description:"Non-empty JSON blob. The maximum length is 32768 characters."})},atlascli_common_1.CommandWithSite.flags);
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.run=void 0;var core_1=require("@oclif/core");Object.defineProperty(exports,"run",{enumerable:!0,get:function(){return core_1.run}});
|
package/package.json
ADDED
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@thestarware/atlascli-jira",
|
|
3
|
+
"description": "ATLAS CLI for Jira: Command Line Tool",
|
|
4
|
+
"version": "1.2.0",
|
|
5
|
+
"buildOrder": 3,
|
|
6
|
+
"author": "deniz@thestarware.com",
|
|
7
|
+
"bin": {
|
|
8
|
+
"jira": "./bin/run"
|
|
9
|
+
},
|
|
10
|
+
"bugs": "https://denizoguz.atlassian.net/jira/software/c/projects/ATLASCLI/issues/",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "restricted"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@oclif/core": "^1.18.0",
|
|
16
|
+
"@oclif/plugin-help": "^5",
|
|
17
|
+
"@oclif/plugin-plugins": "^2.1.2",
|
|
18
|
+
"@oclif/plugin-update": "^2.2.0",
|
|
19
|
+
"@thestarware/atlascli-common": "1.1.0",
|
|
20
|
+
"@types/node-fetch": "^2.5.7",
|
|
21
|
+
"node-fetch": "^2.6.1",
|
|
22
|
+
"tslib": "^2.3.1",
|
|
23
|
+
"uuid": "^8.3.2"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@oclif/test": "^2.2.3",
|
|
27
|
+
"@types/chai": "^4",
|
|
28
|
+
"@types/mocha": "^10.0.0",
|
|
29
|
+
"@types/node": "^14",
|
|
30
|
+
"aws-sdk": "^2.824.0",
|
|
31
|
+
"chai": "^4",
|
|
32
|
+
"eslint": "^7.15.0",
|
|
33
|
+
"eslint-config-oclif": "^3.1",
|
|
34
|
+
"eslint-config-oclif-typescript": "^0.1",
|
|
35
|
+
"eslint-config-prettier": "^7.0.0",
|
|
36
|
+
"eslint-plugin-prettier": "^3.2.0",
|
|
37
|
+
"mocha": "^9",
|
|
38
|
+
"nyc": "^14",
|
|
39
|
+
"oclif": "^3",
|
|
40
|
+
"prettier": "^2.2.1",
|
|
41
|
+
"ts-node": "^10.9.1",
|
|
42
|
+
"uglify-js": "^3.17.4"
|
|
43
|
+
},
|
|
44
|
+
"engines": {
|
|
45
|
+
"node": ">=14.19.0"
|
|
46
|
+
},
|
|
47
|
+
"files": [
|
|
48
|
+
"/bin",
|
|
49
|
+
"/lib",
|
|
50
|
+
"README.md",
|
|
51
|
+
"LICENSE.md"
|
|
52
|
+
],
|
|
53
|
+
"homepage": "https://denizoguz.atlassian.net/wiki/spaces/CLIFJ/pages/1470496882/Getting+started",
|
|
54
|
+
"keywords": [
|
|
55
|
+
"oclif",
|
|
56
|
+
"atlassian",
|
|
57
|
+
"atlascli",
|
|
58
|
+
"jira"
|
|
59
|
+
],
|
|
60
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
61
|
+
"main": "lib/index.js",
|
|
62
|
+
"oclif": {
|
|
63
|
+
"macos": {
|
|
64
|
+
"identifier": "com.thestarware.atlascli.atlascli-jira"
|
|
65
|
+
},
|
|
66
|
+
"bin": "jira",
|
|
67
|
+
"dirname": "atlascli-jira",
|
|
68
|
+
"commands": "./lib/commands",
|
|
69
|
+
"plugins": [
|
|
70
|
+
"@oclif/plugin-help",
|
|
71
|
+
"@oclif/plugin-plugins",
|
|
72
|
+
"@oclif/plugin-update"
|
|
73
|
+
],
|
|
74
|
+
"additionalHelpFlags": [
|
|
75
|
+
"-h"
|
|
76
|
+
],
|
|
77
|
+
"update": {
|
|
78
|
+
"s3": {
|
|
79
|
+
"host": "https://thestarware-atlas-cli.s3.amazonaws.com",
|
|
80
|
+
"bucket": "thestarware-atlas-cli",
|
|
81
|
+
"templates": {
|
|
82
|
+
"target": {
|
|
83
|
+
"unversioned": "tarballs/atlascli-<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %>atlascli-<%- bin %>-<%- platform %>-<%- arch %><%- ext %>",
|
|
84
|
+
"versioned": "tarballs/atlascli-<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %>atlascli-<%- bin %>-v<%- version %>/atlascli-<%- bin %>-v<%- version %>-<%- platform %>-<%- arch %><%- ext %>",
|
|
85
|
+
"manifest": "tarballs/atlascli-<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %>atlascli-<%- platform %>-<%- arch %>"
|
|
86
|
+
},
|
|
87
|
+
"vanilla": {
|
|
88
|
+
"unversioned": "tarballs/atlascli-<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %>atlascli-<%- bin %><%- ext %>",
|
|
89
|
+
"versioned": "tarballs/atlascli-<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %>atlascli-<%- bin %>-v<%- version %>/atlascli-<%- bin %>-v<%- version %><%- ext %>",
|
|
90
|
+
"manifest": "tarballs/atlascli-<%- bin %>/<%- channel === 'stable' ? '' : 'channels/' + channel + '/' %>version"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"topicSeparator": " ",
|
|
96
|
+
"topics": {
|
|
97
|
+
"announcement-banner": {
|
|
98
|
+
"description": "Manage announcement banner"
|
|
99
|
+
},
|
|
100
|
+
"application-roles": {
|
|
101
|
+
"description": "Manage application roles."
|
|
102
|
+
},
|
|
103
|
+
"audit-record": {
|
|
104
|
+
"description": "Manage audit records"
|
|
105
|
+
},
|
|
106
|
+
"attachment": {
|
|
107
|
+
"description": "Manage attachments for issues."
|
|
108
|
+
},
|
|
109
|
+
"avatar": {
|
|
110
|
+
"description": "Manage all kinds of avatars for issues, users, projects etc."
|
|
111
|
+
},
|
|
112
|
+
"comment": {
|
|
113
|
+
"description": "Manage comments for issues."
|
|
114
|
+
},
|
|
115
|
+
"config": {
|
|
116
|
+
"description": "Manage site configurations."
|
|
117
|
+
},
|
|
118
|
+
"issue": {
|
|
119
|
+
"description": "Manage issues."
|
|
120
|
+
},
|
|
121
|
+
"project": {
|
|
122
|
+
"description": "Manage projects."
|
|
123
|
+
},
|
|
124
|
+
"project-avatar": {
|
|
125
|
+
"description": "Manage project avatars."
|
|
126
|
+
},
|
|
127
|
+
"project-category": {
|
|
128
|
+
"description": "Manage project categories."
|
|
129
|
+
},
|
|
130
|
+
"project-component": {
|
|
131
|
+
"description": "Manage project components."
|
|
132
|
+
},
|
|
133
|
+
"project-email": {
|
|
134
|
+
"description": "Manage project emails"
|
|
135
|
+
},
|
|
136
|
+
"project-feature": {
|
|
137
|
+
"description": "Manage project features"
|
|
138
|
+
},
|
|
139
|
+
"project-key-and-name-validation": {
|
|
140
|
+
"description": "Manage project key and name validation."
|
|
141
|
+
},
|
|
142
|
+
"project-permission-scheme": {
|
|
143
|
+
"description": "Manage project permission scheme."
|
|
144
|
+
},
|
|
145
|
+
"project-property": {
|
|
146
|
+
"description": "Manage project properties."
|
|
147
|
+
},
|
|
148
|
+
"project-version": {
|
|
149
|
+
"description": "Manage project versions."
|
|
150
|
+
},
|
|
151
|
+
"project-role": {
|
|
152
|
+
"description": "Manage project roles."
|
|
153
|
+
},
|
|
154
|
+
"project-role-actor": {
|
|
155
|
+
"description": "Manage project role actors"
|
|
156
|
+
},
|
|
157
|
+
"project-type": {
|
|
158
|
+
"description": "Manage project types."
|
|
159
|
+
},
|
|
160
|
+
"server-info": {
|
|
161
|
+
"description": "Get information about Jira server."
|
|
162
|
+
},
|
|
163
|
+
"user": {
|
|
164
|
+
"description": "Manage users."
|
|
165
|
+
},
|
|
166
|
+
"user-property": {
|
|
167
|
+
"description": "Manage user properties."
|
|
168
|
+
},
|
|
169
|
+
"user-search": {
|
|
170
|
+
"description": "Manage user search."
|
|
171
|
+
},
|
|
172
|
+
"worklog": {
|
|
173
|
+
"description": "Manage worklogs for issues."
|
|
174
|
+
},
|
|
175
|
+
"worklog-property": {
|
|
176
|
+
"description": "Manage worklog properties."
|
|
177
|
+
},
|
|
178
|
+
"issue-field": {
|
|
179
|
+
"description": "Manage issue fields."
|
|
180
|
+
},
|
|
181
|
+
"issue-field-configuration": {
|
|
182
|
+
"description": "Manage issue field configurations."
|
|
183
|
+
},
|
|
184
|
+
"issue-field-context": {
|
|
185
|
+
"description": "Manage custom field contexts."
|
|
186
|
+
},
|
|
187
|
+
"issue-field-option": {
|
|
188
|
+
"description": "Manage custom field options for contexts."
|
|
189
|
+
},
|
|
190
|
+
"issue-link": {
|
|
191
|
+
"description": "Manage issue links."
|
|
192
|
+
},
|
|
193
|
+
"issue-remote-link": {
|
|
194
|
+
"description": "Manage issue remote links."
|
|
195
|
+
},
|
|
196
|
+
"issue-link-type": {
|
|
197
|
+
"description": "Manage issue link types."
|
|
198
|
+
},
|
|
199
|
+
"issue-navigator-setting": {
|
|
200
|
+
"description": "Manage issue navigator settings"
|
|
201
|
+
},
|
|
202
|
+
"notification-scheme": {
|
|
203
|
+
"description": "Manage notification schemes"
|
|
204
|
+
},
|
|
205
|
+
"issue-priority": {
|
|
206
|
+
"description": "Manage issue priorities."
|
|
207
|
+
},
|
|
208
|
+
"issue-resolution": {
|
|
209
|
+
"description": "Manage issue resolutions"
|
|
210
|
+
},
|
|
211
|
+
"issue-security-level": {
|
|
212
|
+
"description": "Manage issue security levels"
|
|
213
|
+
},
|
|
214
|
+
"issue-security-scheme": {
|
|
215
|
+
"description": "Manage issue security schemes"
|
|
216
|
+
},
|
|
217
|
+
"issue-property": {
|
|
218
|
+
"description": "Manage issue properties."
|
|
219
|
+
},
|
|
220
|
+
"issue-search": {
|
|
221
|
+
"description": "Various commands to search issues."
|
|
222
|
+
},
|
|
223
|
+
"issue-type": {
|
|
224
|
+
"description": "Manage issue types."
|
|
225
|
+
},
|
|
226
|
+
"issue-type-scheme": {
|
|
227
|
+
"description": "Manage issue type schemes."
|
|
228
|
+
},
|
|
229
|
+
"issue-type-screen-scheme": {
|
|
230
|
+
"description": "Manage issue type screen schemes."
|
|
231
|
+
},
|
|
232
|
+
"issue-vote": {
|
|
233
|
+
"description": "Manage issue votes"
|
|
234
|
+
},
|
|
235
|
+
"issue-watcher": {
|
|
236
|
+
"description": "Manage issue watchers."
|
|
237
|
+
},
|
|
238
|
+
"label": {
|
|
239
|
+
"description": "Manage labels"
|
|
240
|
+
},
|
|
241
|
+
"license": {
|
|
242
|
+
"description": "Manage licence"
|
|
243
|
+
},
|
|
244
|
+
"myself": {
|
|
245
|
+
"description": "Manage current user"
|
|
246
|
+
},
|
|
247
|
+
"permission": {
|
|
248
|
+
"description": "Manage permissions"
|
|
249
|
+
},
|
|
250
|
+
"permission-scheme": {
|
|
251
|
+
"description": "Manage permission schemes"
|
|
252
|
+
},
|
|
253
|
+
"issue-type-property": {
|
|
254
|
+
"description": "Manage issue type properties."
|
|
255
|
+
},
|
|
256
|
+
"group": {
|
|
257
|
+
"description": "Manage groups."
|
|
258
|
+
},
|
|
259
|
+
"group-and-user-picker": {
|
|
260
|
+
"description": "Manage group and user picker."
|
|
261
|
+
},
|
|
262
|
+
"filter": {
|
|
263
|
+
"description": "Manage filters."
|
|
264
|
+
},
|
|
265
|
+
"filter-sharing": {
|
|
266
|
+
"description": "Manager filter sharing."
|
|
267
|
+
},
|
|
268
|
+
"dashboard": {
|
|
269
|
+
"description": "Manage dashboards."
|
|
270
|
+
},
|
|
271
|
+
"dashboard-gadget": {
|
|
272
|
+
"description": "Manage dashboard gadgets."
|
|
273
|
+
},
|
|
274
|
+
"dashboard-item-property": {
|
|
275
|
+
"description": "Manage dashboard item properties."
|
|
276
|
+
},
|
|
277
|
+
"screen": {
|
|
278
|
+
"description": "Manage screens."
|
|
279
|
+
},
|
|
280
|
+
"screen-scheme": {
|
|
281
|
+
"description": "Manage screen schemes."
|
|
282
|
+
},
|
|
283
|
+
"screen-tab": {
|
|
284
|
+
"description": "Manage screen tabs."
|
|
285
|
+
},
|
|
286
|
+
"screen-tab-field": {
|
|
287
|
+
"description": "Manage screen tab fields."
|
|
288
|
+
},
|
|
289
|
+
"task": {
|
|
290
|
+
"description": "Manage tasks."
|
|
291
|
+
},
|
|
292
|
+
"time-tracking": {
|
|
293
|
+
"description": "Manage time tracking providers and settings"
|
|
294
|
+
},
|
|
295
|
+
"workflow": {
|
|
296
|
+
"description": "Manage workflows."
|
|
297
|
+
},
|
|
298
|
+
"workflow-scheme": {
|
|
299
|
+
"description": "Manage workflow schemes."
|
|
300
|
+
},
|
|
301
|
+
"workflow-scheme-draft": {
|
|
302
|
+
"description": "Manage workflow scheme drafts."
|
|
303
|
+
},
|
|
304
|
+
"workflow-scheme-project-association": {
|
|
305
|
+
"description": "Manager workflow scheme project associations."
|
|
306
|
+
},
|
|
307
|
+
"workflow-status": {
|
|
308
|
+
"description": "Manage workflow statuses."
|
|
309
|
+
},
|
|
310
|
+
"workflow-status-category": {
|
|
311
|
+
"description": "Manage workflow status categories."
|
|
312
|
+
},
|
|
313
|
+
"workflow-transition-property": {
|
|
314
|
+
"description": "Manage workflow transition properties."
|
|
315
|
+
},
|
|
316
|
+
"jql": {
|
|
317
|
+
"description": "Manage JQLs"
|
|
318
|
+
},
|
|
319
|
+
"jira-settings": {
|
|
320
|
+
"description": "Manage Jira settings."
|
|
321
|
+
},
|
|
322
|
+
"jira-expression": {
|
|
323
|
+
"description": "Manager jira expressions."
|
|
324
|
+
},
|
|
325
|
+
"status": {
|
|
326
|
+
"description": "Manage statuses."
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"repository": {
|
|
331
|
+
"type": "git",
|
|
332
|
+
"url": "git@bitbucket.org:denizoguz/atlascli.git",
|
|
333
|
+
"directory": "atlascli-jira"
|
|
334
|
+
},
|
|
335
|
+
"scripts": {
|
|
336
|
+
"clean": "rm -rf lib && rm -rf dist && rm -rf tmp",
|
|
337
|
+
"compile": "npx tsc -b",
|
|
338
|
+
"uglify": "find lib/ -type f -name '*.js' -exec uglifyjs {} -o {} -c -m \\;",
|
|
339
|
+
"prepublishOnly": "find lib -name \"*.d.ts\" -type f -delete",
|
|
340
|
+
"build": "npm run clean && npm run compile && npm run uglify",
|
|
341
|
+
"lint": "eslint . --ext .ts --config ../.eslintrc",
|
|
342
|
+
"pack": "oclif pack tarballs",
|
|
343
|
+
"test-server": "TEST_ENVIRONMENT=server TS_NODE_TRANSPILE_ONLY=true TEST_OUTPUT=0 mocha \"test/{,!(cloud)/**/}*.test.ts\"",
|
|
344
|
+
"test-server-debug": "TEST_ENVIRONMENT=server TS_NODE_TRANSPILE_ONLY=true DEBUG=true TEST_OUTPUT=1 mocha \"test/{,!(cloud)/**/}*.test.ts\"",
|
|
345
|
+
"test-cloud": "TEST_ENVIRONMENT=cloud TS_NODE_TRANSPILE_ONLY=true TEST_OUTPUT=0 mocha \"test/{,!(server)/**/}*.test.ts\"",
|
|
346
|
+
"test-cloud-debug": "TEST_ENVIRONMENT=cloud TS_NODE_TRANSPILE_ONLY=true DEBUG=true TEST_OUTPUT=1 mocha \"test/{,!(server)/**/}*.test.ts\"",
|
|
347
|
+
"test": "npm run test-server && npm run test-cloud",
|
|
348
|
+
"version": "oclif-dev readme && git add README.md"
|
|
349
|
+
},
|
|
350
|
+
"types": "lib/index.d.ts",
|
|
351
|
+
"mocha": {
|
|
352
|
+
"require": "ts-node/register",
|
|
353
|
+
"watch-extensions": "ts",
|
|
354
|
+
"recursive": true,
|
|
355
|
+
"reporter": "spec",
|
|
356
|
+
"timeout": 15000
|
|
357
|
+
}
|
|
358
|
+
}
|