Developer
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
admin auth
admin user
jira auth
jira board
jira dashboard
jira field
jira filter
jira project
jira sprint
jira workitem
rovodev auth
Last updated Oct 3, 2024

acli jira workitem archive

Archives a work item or multiple work items.

Synopsis

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
2
acli jira workitem archive [flags]

Examples

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

Options

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

SEE ALSO

Rate this page: