Skip to content

jira config set

  • Usage: jira config set KEY VALUE [flags]

Set one supported config key and save the file. Use it for small local edits such as theme settings, default project values, and TUI preferences.

The new value is validated before saving. --dry-run runs the same validation and reports the current and new value without writing the file. Secrets are not written through config set; use jira auth login or jira auth migrate for credentials.

Safety

--dry-run

Validate and preview the change without writing the file

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
dry_run boolean
key string
previous_value
value string

Examples

jira config set theme.name dracula
jira config set profiles.default.default_project PROJ # (1)!
jira config set theme.name dracula --dry-run --output=json # (2)!
  1. Set the default project for a profile
  2. Validate and preview the change without writing the file