Configure qTest Scenario with OAuth
As of qTest Scenario 3.3.0+, Scenario can be configured to work with OAuth for either Jira Server or Jira Data Center. This article outlines how to set up this configuration.
Prerequisites
You need to have generated a Client and Server key pair.
You can find the instructions below.
The account that setup Scenario must have the Global Administration permission.
Enable Jira Server/Jira Data Center to use OAuth for qTest Scenario
Before configuring Scenario to work with OAuth, your qTest and Jira Integration should also be using OAuth.
-
New Jira Integrated Project to use with OAuth
-
Jira Server/Data Center
-
-
Edit an Existing Jira Integrated Project to use with OAuth.
-
Jira Server/Data Center
-
Configure Scenario to Work with OAuth
-
From your Jira instance, select Jira System in the Gear button beside the account image.
-
The Administrator page updates, select the Add-ons tab.
-
Choose Manage add-ons at the left navigation panel.
-
Select qTest Scenario - BDD for Jira add-on. Then choose Configure.
-
The Plug-in Configuration page of qTest Scenario will load. Scroll down to the Basic Authentication and Jira OAuth sections.
-
Configure OAuth private key: Copy the content of the Private key file, and then paste into the corresponding text box. If the private key has a passphrase, then type it into the Passphrase field.
Key decryption is only supported for pkcs8 format. -
Configure access token (required): Enter oauth in the Username field and leave the Password field empty.
-
Select Save Configuration.
-
The user will be redirected to the Jira authorization page. Jira will then ask if the user wants to allow access from Scenario.
-
After clicking the Allow button, the user will be redirected to the Plug-in Configuration page and see the successful configuration message.