Commandsauth

ody auth jira

Configure Jira authentication credentials

Synopsis

ody auth jira [--profile <name>]

Flags

FlagAliasTypeDefaultDescription
--profilestringdefaultNamed profile for storing credentials

Behavior

  1. Prompts for a Jira email address.
  2. Prompts for a Jira API token.
  3. Validates both values are non-empty.
  4. Saves credentials under the selected profile in $XDG_DATA_HOME/ody/auth.json.
  5. Writes the credentials file with 0600 permissions.

If either prompt is cancelled, no changes are written.

Examples

Store credentials in the default profile:

ody auth jira

Store credentials in a named profile:

ody auth jira --profile work

On this page