HomeUser GuideIssue Manager IntegrationIntegrating Test Collab with Jira

10.7. Integrating Test Collab with Jira

Configuring application wide integration settings for JIRA in Test Collab : 

To integrate JIRA with Test Collab, you should have the URL, username and password ready that you use to access your JIRA instance. 

On your Test Collab instance use "Issue Manager" option under "Settings" menu on main dashboard. 

Here is the form that you get while defining the global issue manager settings: 

 

Since the integration helps you in automatically reporting the bugs into JIRA when a test cases fails during execution and the tester has opted to report the failure; there is also an option on the global settings page that allows to automatically set the status of reported issue as resolved or closed, when the related test case passes in Test Collab in subsequent test runs. 

This can be done by checking "Resolve reported issues when a failed test case is marked as passed". When you check this you will be prompted to provide the status code that JIRA uses for closed or resolved issues, you need to enter the same for "Status code for resolved".  

You can test the connection with your JIRA instance to check whether the settings would work or not. 

When clicked on "Test" you would see a window popped up to show the status of the connection. 

 

 

Project wise integration settings 

To configure project specific settings for the integrated issue manager, switch to the project and use "Issue Manager" option under "Settings" menu. 

On project specific issue manager settings page, values for following fields can be provided for JIRA: 

 

project - Code of JIRA project under which you want the issues to be reported need to be entered here.

issue type - Specify the type of issue that you want to be created when a test case fails during execution. 1 for Bug, 2 for New feature, and so on

assignee - Here you can specify the username of the user to whom you want to assign all issues created from Test Collab. This field is an optional field, if you will leave this field empty all bugs will be assigned to default assignee of that project.

priority - You can define the priority of the issue here. Go to add issue page, and click on view source and you will see the value for priority in similar format- <option value="2" style="background-image: url(/images/icons/priority_critical.gif);" class="imagebacked">Critical</option>. So, value for critical is 2. Similarly default value for blocker is 1, major is 3, minor 4 & trivial 5.

components - You can define components here. Go to add issue page, and click on view source and you will see the value for components in similar format- <option value="10000" title="Addons ">Addons</option> So, in this case value for our component addon is 10000.

affectsVersions - You can define version in which the issue is manifesting here. Go to add issue page, and click on view source and you will see the value for versions in similar format- <option value="10000">1.0</option> So, in this case value for our affected version 1.0 is 10000.

fixVersions - You can define version to which this issue belongs here. Go to add issue page, and click on view source and you will see the value for versions in similar format- <option value="10000">1.0</option> So, in this case value for our fix version 1.0 is 10000. 

Adding other fields 

You can also add other fields as may be required to make the integration complete including any custom fields using "Add user defined field" from the drop down, clicking this you will get a text box in place of drop down to enter the name of the field and its desired value. 

A completed settings form

A completed project specific issue manager setting form for JIRA would look like this.

After the values for all fields have been provided you can save and use the "Test" button to test the settings by creating a test issue in JIRA.  

When "Test" button is used a window pops up and asks for the title you want to keep for the test issue

In the next step the status related to test issue creation is shown 

 

What's Next

Once you have configured JIRA as an issue manager , bugs can now be automatically reported into JIRA if a test case fails while execution and the tester has opted to report. More information on this is available here

You can also get requirements from JIRA linked with test cases in Test Collab so that you can have a better traceability and coverage analysis. For details on requirements management please refer relevant user guide article

Bi-directional integration is also possible allowing you to perform all your test case management related tasks from JIRA without any need to login to Test Collab. Please refer this article for details.

 

Knowledge Tags

This page was: Helpful | Not Helpful
Test Case Management
Test Collab Support
Product Tour