Atlassian JIRA adapter for salto.io
Salto supports authenticating with Atlassian Jira using a user email and an API Token:
- Go to https://id.atlassian.com/manage-profile/security/api-tokens
- Create a new token
- Connect to Jira with the command 'salto account add jira' or 'salto account login jira'.
- You will be asked to provide the Atlassian Base URL (e.g. https://acme.atlassian.net/), the user email, and the token you created.
The Jira adapter is heavily relying on the Atlassian JIRA Cloud platform and Atlassian JIRA Software Cloud API swagger definitions. To make sure the adapter won't unexpectedly break due to a change in one of the swaggers. The adapter uses the swaggers Jira Swaggers Repository which will contain the latest swagger version that this adapter was tested on.
When starting a new E2E server there are several manual steps to perform before you can ran the tests
- Install the addons of ScriptRunner and ScriptRunner Behaviours
- Enter the ScriptRunner screens and advance through the survey until you can add an item (for instance in Scripted Fields)
- Enter the ScriptRunner Behavior screen and advance through the survey until you can add a behavior
- In your google account - go to “AWS SSO”.
- Click on “AWS account”
- Click on Salto → SaltoDevs - “Command line or programmatic access”
- Copy the access token.
- Paste the token in the terminal you run your e2e tests.
- write the following command in your desired folder
yarn build && SALTO_LOG_FILE=logsalto.log SALTO_LOG_LEVEL=trace yarn e2e-test