Skip to content

jira auth refresh

  • Usage: jira auth refresh [flags]

Report whether the active profile's auth type has a refresh flow. Use it from scripts that share a generic auth lifecycle across CLIs.

Jira API-token profiles do not have refreshable credentials, so this command returns refreshed: false with a reason instead of rotating a token.

Examples

jira auth refresh # (1)!
jira --profile prod auth refresh --output=json # (2)!
  1. Token profiles report why no refresh happened
  2. Check another profile without changing the active one