Skip to content

jira auth switch

  • Usage: jira auth switch PROFILE [flags]

Set the config file's default profile. Use it when most upcoming commands should target a different Jira site or account without passing --profile each time.

This changes local config only. It does not verify credentials or contact Jira.

Examples

jira auth switch work
jira auth switch work --output=json # (1)!
  1. Return the new active profile as JSON