jira auth whoami¶
- Usage:
jira auth whoami [flags]
Fetch /myself for the active profile and print the account identity Jira returns. Use it to confirm which Atlassian account a profile is using.
With --save, the resolved account ID is written back to the file-backed profile so --assignee me and TUI shortcuts can use Jira's canonical identifier. --save refuses environment-only profile overlays to avoid writing an account ID for the wrong tenant.
Configuration¶
--save¶
Persist the resolved account_id (and email if blank) to the active profile
Examples¶
jira auth whoami
jira auth whoami --save # (1)!
jira --profile prod auth whoami --output=json # (2)!
- Persist the resolved account ID to the active profile
- Check another profile without changing the active one