Integrating Jira with TestLink

TestLink is an open source tool that can be installed in almost any LAMP server in a matter of minutes. Once installed and configured we can start creating and managing:

  • TestCases

  • Requirements

  • Test Plans

Testlink also generates reports during each test case execution. This allows to get visibility on how the testing in our product is doing. It also offers the possibility to integrate with Jira, a widely used project management tool that allows to create issues — in this case of the BUG type. The integration with TestLink will be mainly used in the test case execution, enabling us to link Jira issues to the test case that is being executed. Besides, we will be able to automatically create issues when we fail a test case for whatever reason.

This is how the integration is done.

Access TestLink with “Admin” credentials and select from the site dashboard the link called “Issue Tracker Management”.

screenshot 1

Once in the IT management, click the “CREATE” button.

screenshot 2

In the “Issue Tracker” field we choose any name for it. Then in the “Type” section we select from the drop down selector the bug tracking tool we want (in this case JIRA SOAP). Then we click in the configuration field using the following code:

“The difference between SOAP and db is that SOAP is used for Jira instances running on the cloud with the paid service from Atlassian while db is used for instances running in our own servers. It extracts and creates information directly into our own Jira database”

<!– Template jirasoapInterface –>

<username>Your Jira username</username>
<password>Your Jira user password</password>

screenshot 3

screenshot 4

Once we get all these fields completed, we click the “Save” button.

We can test the integration once we have created a Test Plan with test cases in it. When we fail a test case, two options will appear: one to create a new issue from the failed test case and one to link an existing issue in Jira.

screenshot 5

screenshot 6

There you have it, an easy integration of two great tools to manage test cases and issues.

Martin Navarro is a detailed Quality Assurance professional with full system development lifecycle experience, including designing, developing and implementing test plans, test cases and test processes. Martin is a strategic team player always willing to contribute and to solve problems.

Leave a reply