Integrate Testlink with Jira.

I was  facing trouble to configure Testlink and integrate this with Jira  Bug Tracking System.

Below is the snippets for my reference and those need to configure  it quickly. I really didn’t find a good material  to do this.

Altassian won’t give much support as  it need to be mainly done from the Test Link. So below are the steps.

The lack of documentation is mainly because the  options got changed with 1.9 version onwards. This steps are relevent

only from 1.9.4 versions onwards. Not before.

My working environment:

TestLink Version: 1.9.4

Jira Version:  5.1.3

——————————————————————————————————————————————————————————————————

1. Install and configure Testlink as per the documentation.

2. Create the project in the Testlink with relevant data.

3. After the creation of the project, then select the project, go to  Issue Tracker Management Under  Test Project.

4. Then create connector to the Bug tracking system. In our case it is  Jira.

5. On the Issue tracker , give a suitable name.

On type, select  Jira (Interface: soap) as we are going to interact with Jira through its SOAP interface.

On the configuration page  you need configure the XML as below:

<!– Template jirasoapInterface –>
<issuetracker>
<username>admin user name </username>
<password>admin user password</password>
<uribase>http://jira url </uribase>
<uriwsdl>http://jira url/rpc/soap/jirasoapservice-v2?wsdl</uriwsdl>
<uriview>http://jira url /browse/</uriview>
<uricreate>http://jira url/secure/CreateIssue!default.jspa</uricreate>
</issuetracker>

——————————————————————————————————————————————————————————————————

Here  user account need to be  the admin user account you use with jira. Only admin accounts are able to ineract with SOAP interface.I didn’t

get success with other accounts.  You can get a sample XMl file by clicking  ‘show configuration example’.

Save this configuration.

After that you can test the  Jira integration  by going to the test execution and  select a test case.  That will give  Bug Management Option

and through that you can add relevant Jira Bug ID and access the Jira Bugs directly from the  Testlink window.

Note that the settings are  not global and each connector to the  BTS (Bug Tracking system ) is project specific. You need to select this per project.

 

 

 

 

 

 

 

 

 

 

 

 

 

Leave a Reply