Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

About

You use OAuth authentication when connecting to Jira Cloud or Jira Server / Data Center(DC). For Jira Cloud, this is the only supported authentication type.

...

This topic enlists the steps to configure OAuth Connection:

...

 Open the command line prompt and run the following commands. They will generate the keys in the needed format:

openssl genrsa -out jira_privatekey.pem  1024
openssl req -newkey rsa:1024 -x509 -key jira_privatekey.pem -out jira_publickey.cer -days 365
openssl pkcs8 -topk8 -nocrypt -in jira_privatekey.pem -out jira_privatekey.pcks8
openssl x509 -pubkey -noout -in jira_publickey.cer > jira_publickey.pem

To configure the connection, we will need the private key in the PCKS8 format and the public key in the PEM format.

...

  1. In Jira, go to ⚙ > Products > Application links (under Integrations):

  2. On the subsequent page, enter the URL of your Zephyr Enterprise instance followed by /flex:
    - If you use Zephyr Enterprise Cloud –
    https://{your-subdomain}.yourzephyr.com/flex
    - If you use Zephyr Enterprise Server –
    http(s)://{your-host-URL-or-IP}:{port}/flex

    Image RemovedImage Added

  3. Click Create new link.

  4. Click Continue in the subsequent confirmation dialog:

    Image RemovedImage Added
  5. Now you need to configure the link properties:
    - Enter some name into the Application Name box, for example, Zephyr Ent.
    - Enter the same value into other text boxes in the dialog.
    - Scroll the dialog box down and select the Create incoming link check box.
    (warning) It’s important to select this check box.

  6. In the next dialog, you need to specify the key.
    - In the Consumer Key text box, enter the key name, for instance, Zephyr Ent.
    (info) You will need the Consumer Key value later. Write it down or remember.
    - Enter some value into the Consumer Name box.
    - Enter the contents of the public key .pem file (jira_publickey.pem) you generated earlier into the Public Key text box.
    To do this, open the key file in any text editor, copy the file contents and paste it in the Public Key box.
    (info) When copying, skip the first and last lines of the file (they have the BEGIN PUBLIC KEY and END PUBLIC KEY phrases).
    Also, make sure you don’t enter leading or trailing characters like spaces or line breaks by accident. A good practice is to clear the text box before pasting the key contents to it.

  7. Click Continue.

  8. The new application link will appear in the list of links in Jira:

    Tip: To check if you specified the app URL correctly, click “Go to remote” for the created link. This should open the Zephyr Login form.

...