Jira Query authentication guide
This is a step-by-step guide to acquiring Jira credentials and authorizing the Jira Query component.
The Jira Query component uses either a username and password or a username and API token for third-party authentication. This guide will only explain the username and API token method.
Authorizing the Jira Query component requires four steps:
- Obtain an API token from the Atlassian portal.
- Create a Secret in AWS Secrets Manager.
- Add a Secret definition to the Your projects menu.
- Use the API Token property drop-down in the Jira Query component to select the Jira token you have created by this process.
Obtain an API token
- Navigate to the Atlassian portal and enter valid login credentials.
- On the Atlassian product dashboard, click your user icon at the upper-right of the page, and then click Account Settings.
- On the Atlassian account page, click Security on the left sidebar.
- On the Security page, click Create and manage API tokens at the bottom of the API token section.
- On the API Tokens page, click Create API token.
- In the Create an API token dialog, enter a memorable and concise name for the API token in the Label field, then click Create.
- In the Your new API token dialog, copy the displayed code as this will be required in creating the secret.
- Make sure to copy the API token immediately as it will only appear once.
- When copying the token, some browsers may add a space to the end of the string. Watch out for this as it will cause the credentials to fail.
You can now close the dialog and exit the Atlassian portal.
Create an AWS Secret
- Log on to the AWS console, and in the search bar search for Secrets Manager to access the Secrets page.
- Click Store a new secret.
- Select Other type of secret and enter a Key/value pair, in which:
- Key is the Label you gave to your Atlassian API token.
- Value is the code you copied from the token dialog.
- Click Next and on the next page enter a Secret name. This is the name that will appear in the Secret definitions list in your Your projects.
- The remainder of the details are not needed, so click Next and Next again, then Store to complete the creation of the secret.
Add a secret definition
Follow the steps in Add new secret definition.
Return to Designer
- Return to the Jira Query component in Designer.
- Click into the API Token property.
- Select your new secret definition representing your Jira API token.
- Click Save.