Documentation

Looking for something in particular?

Automation V3: Integrating with Jira

During test case executions, it is very useful if the results are updated to a project management tool like Jira. Jira integration is primarily used to raise a bug if any test cases fail while executing in Automation. This automation removes manual tasks as much as possible.

In short, Automation’s integration with Jira allows you to easily capture and track the results of test cases and submit incident tickets directly in Jira. Automation integrates with Jira using the Jira REST endpoints. This is done by using the web services available in Provar.

Steps for Integrating with Jira

Step 1: Add a Jira connection.

Navigate to the Settings view and click Rest Web Service connection from the Add a Generic Web Service option from the Add a Browser Provider device option from the + menu to add a Jira connection:

Above: Adding a Jira connection in Automation.

Step 2: Add an authentication.

In the URL field, enter the Jira base URL. Select Authentication Type from the drop-down menu. 

Above: Adding the authentication.

Step 3: Test the connection.

Click Test Connection to check if the connection is successful.

Above: View of the Test Connection dialog box.

Step 4: Use the Jira connection in your test case. 

To use the Jira connection in your test case, use Web Connect and Web Request (REST) test step types from the Test Palette.

Above: The Generic Web Services test steps in the Data section of the Test Palette.

Step 5: Pass the Jira connection in the Web Connect step.

Above: Pass the Jira connection. 

Step 6: Configure the Web Request (REST) test step.

In this example, we create a Jira ticket when a test case fails during execution. Please refer to the Atlassian documentation for more information.

NOTE: The JSON body requires a slash in front of each JSON object to differentiate it from a variable. You’ll notice the difference for the “summary” and “description” that use the variable “{error[1]}”.

If the integration is successful, the following screenshot provides an example of a Jira response in Provar.


Feedback

Was this article helpful for you?
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top