How do we integrate Testlink 1.9.14 with JIRA Agile 7

Our scenario is to be able to relate user stories or bugs directly to test link items that appear in JIRA after integrating it with Testlink.

But in JIRA 7, how to enable REST API. We have recently upgraded JIRA (earlier through SOAP we could do the integration with other applications).

Can anyone shed some light on this, if possible with some steps of references.

Thank you

Raghav

8 answers

0 votes

The REST API is enabled and usable automatically in JIRA 7.  You just need to configure whatever you're using to do this "integration" to use it.

 

Hi Nic,

Thanks! Can you help us know the steps involved in configuring the REST API, please?

I mean, where to begin? etc.

 

Thanks

There isn't anything to configure in the REST interface.  It exposes functions that other systems can use to read and update data held in JIRA.  That's it.  It's there, you can use it.

You need to configure Testlink to use the REST interface, there's nothing to do in JIRA.

Going the other way, if you want JIRA to update Testllink, you'll need to set up things in JIRA to send the data over - post-functions, listeners, hooks etc - but to do that, you'll need to know what Testlink can respond to.

We are using the server version of JIRA 7. Should we configure for OAUTH or Basic access? if OAUTH then, can you tell me what should we enter?

I believe, once this is setup we should be able to see Testlink under JIRA.

Thank you

Raghav

 

Configure what?  What does the Testlink system require?

Navigation path in JIRA: Administration > Applications > Application  Links

Created a new link for Testlink, then edited it to set OAUTH or Basic access.

what should we enter inside?

Whatever your Teslink system is going to use.  I can't tell you this, it's your system, and I'm not the admin for that system.

I have contacted Atlassian Support in this regard, hopefully I will get their advise and proceed from there on to configure TestLink.

Thanks! Nic.

Hi Raghav, I'd like to answer about your Testlink and JIRA integration experience. Is that the rigth forum or do you prefere I'll send you an e-mail?

Hi Begona, please share your comments/experience here.

 

Thanks!

Ok!

We are planing about integrating Testlink and JIRA. Now we are using JIRA intensively but we haven't used Testlink jet. We are now evaluating Testlink.

We have also implemented a Requirements Management in JIRA which must be linked with Test suites (this is the reason to evaluate Testlink and JIRA integration).

My feeling is that, with our experience configuring JIRA, it will be relatively easy to create a Test Management in JIRA with issues representing Test cases and Test suites (as if we will use Testlink) and in this way to have all the information into JIRA (without using Testlink). What do you think about? What Testlink provides in addition to define an register tests and results?

 

Thanks in advance

 

Begoña

That's correct, through JIRA we should be able to refer to any test case. But to get that function, we should configure the rest API in JIRA first and that is what I have posted here for some advise.

I will keep you posted if I find anything in detail.

Cheers!

Raghav

I want to say that in my case, I think is beter to create in JIRA at least 2 new type of issues: TEST-CASE and TEST-SUITE with customfields to include the same (or similar) information that TestLink provide for these concepts, instead of using TestLink and conect with JIRA through the API REST.

I think (I not sure if I'm right because I've no experience with Testlink) that, the same features that Testlink provides to describe test cases can be reproduced in JIRA. Doesn't it?

Hello Begoña, i'm a newbie to Qa and its tools, in fact I'm working on an undergraduate final year project... i'm trying to integrate Testlink 1.9.14 with JIRA. I installed the JIRA software 6.3.15 and chosen its integrated database. when i wanted to configure it in testlink and it said db , soap or rest i was confused. I figured db since i wanted to test it in my local machine then i couldnt fill with the needed uri and stuff.. like you see it's all new to me and it will be great if you helped me with some basic advice.

Thanks!

Aymen 

You can find most of the procedure in here. Be sure you understand each step as they are identical regardless of the interface. 

Also if you are using jira version 7.0 and up SOAP inteface has been removed. I suggest using rest. (In jira navigate to profile page and check version at the bottom of the page)

http://blogs.quovantis.com/step-by-step-integration-of-jira-with-testlink/

Its rather basic. Navigate to issue tracker managnment. Create new or edit existing. Input info. Then click wrench icon and you are all set.

[jira(Interface:rest)].

<issuetracker>
<username>username</username>
<password>password</password>
<uribase>Your jira URL</uribase>

<uriapi>Your jira URL/rest/api/latest/</uriapi>
<uriview>Your jira URL/browse/</uriview>
<userinteraction>1/0</userinteraction>

<projectkey>Key</projectkey>
<issuetype>10004</issuetype>

</issuetracker>

Can someone please advie me how to get test link and jira connection to work. Currectly when i test the connection after setting up Jira on Test link I get the " Test Connection KO".

thanks

 

Have you looked through the blog post Ivan gave?

yes I did, I followed every step until step 5 successfully. when I click  the Check connection button at the botton of the Issue Tracker Management page I get the "Test Connection KO" response.

I am not sure what is it that I might be doing wrong. See below my Rest configuration

<issuetracker> <username>my Jira username</username> <password> my Jira password</password> <uribase>https://myjira.atlassian.net/</uribase> <uriapi>https://myjira.atlassian.net/rest/api/latest/</uriapi> <uriview>https://myjira.atlassian.net/browse/</uriview> <uricreate>https:// myjira.atlassian.net/secure/CreateIssue!default.jspa</uricreate> <projectkey>myprojectkey</projectkey> </issuetracker>

 

I installed my testlink via the XAMPP package it is on my machine. I do not if it makes any difference. It is the my first time setting up testlink.

 

Thanks P

I managed to resolved my issue, above. Problem was with Testlink setup.

Tnx

I am facing the Same issue. Please let me know the steps you used to fix the issue

I have followed this link(http://mantis.testlink.org/view.php?id=8107&history=1), which solved my problem

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

27,264 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you