Skip to content

jira alias delete

  • Usage: jira alias delete NAME [flags]
  • Aliases: del, rm

Remove one alias from the active config file. Use it when a shortcut is stale or conflicts with the command you now want to run.

Removing local state is a mutation: a live delete requires --force in headless, agent, or --no-input mode, matching jira cache clear; an interactive terminal proceeds without a prompt, since an alias is one line to re-add. --dry-run previews the delete without writing.

Deleting a missing alias still returns structured output showing that nothing was removed.

Safety

--dry-run

Preview the deletion without writing the config file

--force

Delete without the interactive-mode guard (required in headless / agent / --no-input mode)

Output fields

With --output json, the response envelope's data object carries these fields. Run jira agent schema for the full machine-readable schema.

Field Type Description
deleted boolean
dry_run boolean
name string

Examples

jira alias delete mine
jira alias delete mine --output=json # (1)!
jira alias delete mine --force # (2)!
  1. Report whether the alias existed
  2. Non-interactive (agent / script) delete