Archives a work item or multiple work items. Archive a work item if you want to remove it from your project without deleting it. If you archive a work item, it will only appear in Archived work items and can no longer be edited. You can restore an archived work item if you need it in the future.
1 2acli jira workitem archive [flags]
1 2# Archive work item with work item keys $ acli jira workitem archive --key "KEY-1,KEY-2" # Archive work item with JQL query $ acli jira workitem archive --jql "project = TEAM" # Archive work item with filter ID $ acli jira workitem archive --filter 10001 # Archive work item from file $ acli jira workitem archive --from-file "issues.txt" --yes
1 2--filter string Filter ID of work items to be archived -f, --from-file string Read the files to be archived from the file. The file may contain work item IDs, work item keys separated by commas, white spaces, or new lines -h, --help Show help for command --ignore-errors Ignore the errors and continue --jql string JQL query for work items to be archived --json Generate a JSON output -k, --key string A list of work item keys to be archived -y, --yes Confirm archival without prompting
Rate this page: