Best practice
For the integration with Oomnitza, create a dedicated user account.
For the integration with Jira, you can use OAuth or Basic Authentication.
Use Basic authentication for the following workflows:
Use OAuth authentication for the following:
Adding authentication credentials for Jira
To add your authentication credentials to Oomnitza, you must:
- Retrieve your API token
- Add your Jira credentials to Oomnitza
Retrieving your Jira API token
To use basic authentication in Oomnitza, you must retrieve a Jira API token.
- Log in to https://id.atlassian.com/manage/api-tokens.
- Click Create API token.
- Enter a label for your token and click Create.
Adding your credentials
When you add your credentials, enter the email associated with your Jira account as the username and your API token as the password.
- In Oomnitza, click Configuration > Security > Credentials.
- Click Add new credential (+).
- Click Advanced Mode
- Add the information details.
- Click the AUTHORIZATION tab.
- Ensure that Basic Auth is selected as the authorization type.
- Enter the username in the username field and the API Token in the password field of the new credential.
- Click Create.
Related documentation
Jira Documentation: Manage API tokens for your Atlassian account
OAuth
To use OAuth authentication in Oomnitza, you need to have the following information to hand:
- Your Jira Client ID and Secret.
- Your Jira Scopes.
Jira Client ID and Secret
To create your OAuth credentials:
- Log in to developer.atlassian.com
- Select your profile icon in the top-right corner and select Developer console.
- In the My Apps page, click Create > OAuth 2.0 integration
- Provide an app name and click Create
- Select Authorization in the left menu.
- Next to OAuth 2.0 (3LO), select Add.
- Enter the following Callback URL
https://generic-oauth2-proxy.oomnitza.com/oauth2/redirect_url - Click Save changes.
- Select Permissions in the left menu.
- Click Add for the Jira API and then click Configure
- Click Edit Scopes
- Select the View user profiles scope, code name
read:jira-user - Select Settings in the left menu.
- In the Authentication details section, copy your Client ID and Secret.
For further information, refer to Jira API documentation: Creating OAuth credentials in Jira Cloud.
Scopes
This user load uses the Get Users API which requires theread:jira-userscope. See Jira API Documentation: Get user.
Adding your OAuth credentials to Oomnitza
- In Oomnitza, click Configuration > Security > Credentials.
- Click Add new credential (+).
- Search for the integration, and then click the forward arrow > to select the integration.
- Enter your client credentials and any other additional information.
- Click Authenticate. You are prompted to log in to authorize your request.
- Click CREATE.
Information
If the integration is not listed, click Advanced Mode, and add your credentials.
- Add the information details.
- Click the AUTHORIZATION tab.
- Ensure that OAuth 2.0 is selected as the Authorization type.
- Ensure that Jira is selected from the SaaS list.
- Enter the Client ID and Client Secret.
- Enter your Jira Scopes such as
read:jira-user. - Authenticate the connection. If you are already logged in to Jira in another browser, the pop-up will automatically detect your Jira credentials so you do not need to log in. You will be asked to select your site in the Authorize for dropdown.
- Click Accept
- Click CREATE.
Comments
0 comments
Please sign in to leave a comment.