Skip to end of metadata
Go to start of metadata

The Sauce Labs JIRA plugin lets you create and send a ticket from your test results to your JIRA Cloud or Server instance. The information in the ticket is based on the required fields used in your instance.

Sauce Labs for JIRA Changelog

You can find the changelogs for all Sauce Labs for JIRA plugin versions in our Atlassian Marketplace listing.  

JIRA Cloud Installation and Configuration

  1. Visit the plugin page at the Atlassian marketplace: https://marketplace.atlassian.com/plugins/sauce-jira-integration/cloud/overview.
  2. Install the plugin onto your Atlassian Cloud instance by clicking Get it now.
  3. Follow these installation instructions: https://marketplace.atlassian.com/plugins/sauce-jira-integration/cloud/installation.
  4. Once the plugin is installed, you can configure your Sauce account by clicking Add-ons in the JIRA administration portal.
  5. Click Manage add-ons.
  6. Navigate to the Sauce for JIRA Plugin and click Configure.
  7. Add the Sauce username and access key for any accounts that you want to be able to use the plugin.

    Finding Your Username and Access Key

    You can find your Sauce Labs username and access key in the User Profile > User Settings section of your Sauce Labs dashboard. You should also check out our topic on setting your username and access key as environment variables.

    Using the Plugin with Sub-accounts

    Adding a Sauce account with sub-accounts to the Sauce for JIRA plugin will also allow each of those sub-accounts to use the plugin. You can see the sub-accounts associated with an account by logging into Sauce Labs and going to the Team Management page for the main account.
  8. You should now see a Create JIRA Issue button on the Test Details pages of all authenticated users.

JIRA Server Installation and Configuration

Configuring JIRA to work with Sauce Labs involves whitelisting the Sauce Labs domain, as described in the JIRA wiki. Use these settings to whitelist saucelabs.com for your JIRA instance:

Expressionhttps://saucelabs.com/
TypeDomain Name
Allow IncomingSelected

Once you've configured JIRA, you need to set up the integration with your Sauce Labs account.

  1. Log in to saucelabs.com.
  2. Open the User menu and click My Account.
  3. Under Integrations, for JIRA Server, enter the URL of your JIRA instance.
  4. Click Save

Sending Test Details to JIRA 

  1. On the Test Details page of the result you want to create a ticket for, click Create JIRA Issue.
  2. Select the test assets you want to include with the JIRA ticket.
  3. Select the Project and Issue Type for the ticket.
  4. Complete the rest of the JIRA ticket fields as required.
  5. Click Create Issue.
  6. You'll see a link to the JIRA issue you just created appear on the Test Details page. 

    Reporter Depends on JIRA Instance

    If you are using the Cloud version of JIRA with the Sauce plugin, the reporter on your JIRA tickets will be the Sauce Labs Plugin. If you are using the Server version, the reporter will be the individual user account that files the ticket.

  • No labels