jira config init¶
- Usage:
jira config init [flags]
Create a config file with one Jira profile and token-auth metadata. Use it for a quick bootstrap when you want to add the credential later with jira auth login.
The command requires a Jira base URL and account email. It writes config only; no secret is stored and Jira is not contacted.
Configuration¶
--base-url <URL>¶
Jira base URL
--email <EMAIL>¶
Jira account email
Examples¶
jira config init --base-url https://acme.atlassian.net --email me@example.com
jira config init --profile work --base-url https://acme.atlassian.net --email me@example.com # (1)!
jira --config ./jira.toml config init --base-url https://acme.atlassian.net --email me@example.com # (2)!
- Create config under a named profile
- Create config at an explicit path