The auto_rn_ft.py Python script relies on the following environment variables:
| Variable | Required | Description |
|---|---|---|
JIRA_URL |
Yes | The URL of the Jira instance, for example: https://jira.mycompany.com. |
JIRA_PAT |
Yes, if not using JIRA_USER + JIRA_PASSWORD |
A Jira Personal Access Token (PAT), for authentication. |
JIRA_USER |
Yes, if not using JIRA_PAT |
A Jira username, for authentication. |
JIRA_PASSWORD |
Yes, if not using JIRA_PAT |
A Jira user account password, for authentication. |
JIRA_FIX_VERSION_FIELD |
Yes | The name of a Jira field containing the version of the changes in the ticket. |
JIRA_DESCRIPTION_FIELD |
Yes | The name of a Jira field containing a description of the changes resulting from the ticket. |
To set these environment variables in:
- Windows, see How to View and Manage Environment Variables in Windows.
- macOS, see How to Set Environment Variables in MacOS