Testlink Integration with jira cloud

prasanna.r
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 9, 2019

Hi,

Am trying to integrate jira cloud with test link.

followed the steps mentioned in

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

When I tryto enter the information in the configuration and test the connection I keep getting the Test Connection KO message. When I go back to the Issue tracker menu and click on the little wrench to activate the issue tracker I get a little icon that looks like a grey chain with yellow triangle over it. I hover over it and it says to check the TestLink Event logs.

My configuration file looks like

<issuetracker>

<username>UID</username>

<password>pwd</password>

<uribase>jiraurl//</uribase>

<uriapi>jiraurl//rest/api/latest/</uriapi>

<uriview>jiraurl//browse/</uriview>

<userinteraction>1/0</userinteraction>

<projectkey>KEY</projectkey>

<issuetype>10004</issuetype>

</issuetracker>

Also I have selected jira(interface: rest) type. 

Please help!

4 answers

1 accepted

7 votes
Answer accepted
Guiu Mateu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 3, 2019

I had the same problem but I solved by creating a new API Token and use it as my password.

More details:

  • (Jira Cloud, TestLink 1.9.19 and jira (Interface: rest))
  • Go to your Jira account https://id.atlassian.com
  • Login with your user
  • Go to "Security" on left menu
  • On API Token click to "Create and manage API tokens"
  • And then create new API Token for TestLink
  • Use this new token as password on TestLink issue tracker configuration

It's all, now the "Check connection" button result is "Test Connection OK"

admin selenium
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2019

do you have example configuration file for above?

raghuram May 17, 2019

<issuetracker>
<username>Admin user mail id with which you are going to login to atlassian</username>
<password>Newly created API Token</password>
<uribase>https://XXXXXXX.atlassian.net/</uribase>
<!-- CRITIC - WITH HTTP getIssue() DOES NOT WORK -->
<uriapi>https://XXXXX.atlassian.net/rest/api/latest/</uriapi>
<uriview>https://XXXXXX.atlassian.net/browse/</uriview>
<projectkey>Project key that will unique for each and every project</projectkey>
<userinteraction>1/0</userinteraction>
</issuetracker>

Like # people like this
raghuram May 17, 2019

@Guiu MateuThanks much .It worked for me

Like Guiu Mateu likes this
GOPESH CHAUDHARY
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2019

@Guiu Mateu Thanks Buddy. Worked for me as well. It needs token auth. But testlink template shows password that's confusing for all.

Nikita Talele June 18, 2019

Specification of the <userinteraction>

1: User will be able to manage the following attributes from GUI

0: Values for attributes will be taken FROM this config from GUI

 

Attributes: 

  1. Issue Type
  2. Issue Priority
  3. Affects Versions
  4. Components
Like atrishin likes this
Shahjerome Ambrose
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 22, 2020

The solution worked for us. Thank you very much

Like Nikita Talele likes this
IOTTESam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 2, 2021

after add <issuetype>, it worked for me ... ^__^
share my configration as below:
--------------------------------------------------------

<issuetracker>
<username>Admin user mail id with which you are going to login to atlassian</username>
<password>Newly created API Token</password>
<uribase>https://XXXXXXX.atlassian.net/</uribase>
<!-- CRITIC - WITH HTTP getIssue() DOES NOT WORK -->
<uriapi>https://XXXXX.atlassian.net/rest/api/latest/</uriapi>
<uriview>https://XXXXXX.atlassian.net/browse/</uriview>
<projectkey>Project key that will unique for each and every project</projectkey>
<userinteraction>1</userinteraction>
<issuetype>10003</issuetype>
</issuetracker>

---------------------------------------------------------

Like Ravi Darji likes this
Ravi Darji
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 14, 2022

Following this format it works thanks.!!

0 votes
cbustamante
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 23, 2020

<issuetracker>
<username>User(Email)</username>
<password>Token</password>
<uribase>https://testlink.atlassian.net/browse/project key</uribase>
<uriapi>https://testlink.atlassian.net/rest/api/latest/</uriapi>
<uriview>https://testlink.atlassian.net/browse/</uriview>
<userinteraction>1</userinteraction>
<issuetype>1</issuetype>
<projectkey>"project key"</projectkey>
</issuetracker>

Generate token: https://id.atlassian.com/manage/api-tokens

Also modify the file : issuetrackerintegration.php of testlink

and comment the code:

/* if (property_exists($opt, 'reporter')) {
$issue['fields']['reporter'] = array('name' => (string)$opt->reporter);
}
*/

raghuram March 23, 2020

@cbustamantecan you please ask your question in English

0 votes
Rushi Prajapati April 26, 2019

Did anyone find a solution for this?

raghuram May 17, 2019

Try this

 

<issuetracker>
<username>Admin user mail id with which you are going to login to atlassian</username>
<password>Newly created API Token</password>
<uribase>https://XXXXXXX.atlassian.net/</uribase>
<!-- CRITIC - WITH HTTP getIssue() DOES NOT WORK -->
<uriapi>https://XXXXX.atlassian.net/rest/api/latest/</uriapi>
<uriview>https://XXXXXX.atlassian.net/browse/</uriview>
<projectkey>Project key that will unique for each and every project</projectkey>
<userinteraction>1/0</userinteraction>
</issuetracker>

mikelroteta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2019

Hi raghuram,

It does not work for me.

¿How do you use fill username field? I tried putting my email address (the same I user for login to atlassian) but doesn't work.

I have admin permissions on my jira project so I don't think that is the matter. ¿Did you make any changes in settings of Jira Domain or Project (I made the conection check in other domain and it was successfull)?

Jaykumar Bidarkar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2019

Please ensure you followed below steps
1. Login with Admin email id(You should be admin for entire JIRA but not for your project).
2. Create a new api token with that JIRA Admin credentials.(Enter the https://id.atlassian.com/manage/api-tokens URL and click Enter. )
3. Click on Create API token and name it anything.
4. Now copy this token and paste it as the password for your JIRA admin email which we will be using.
5. Now try the connection.It should work.Please let me know if you still face any problem

Jaykumar Bidarkar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2019

@mikelroteta 

 

Please find the steps as below.

 

Please ensure you followed below steps
1. Login with Admin email id(You should be admin for entire JIRA but not for your project).
2. Create a new api token with that JIRA Admin credentials.(Enter the https://id.atlassian.com/manage/api-tokens URL and click Enter. )
3. Click on Create API token and name it anything.
4. Now copy this token and paste it as the password for your JIRA admin email which we will be using.
5. Now try the connection.It should work.Please let me know if you still face any problem

Tarunam Nair November 21, 2019

Any idea If it is possible to link Jira Epics or stories with test cases present in testlink??

Kishore Nerilla February 11, 2020

<projectkey>Project key that will unique for each and every project</projectkey>

what needs tp use ?

raghuram February 11, 2020

For every project that we created in JIRA while creating it we need to give a project key which will be unique.so you need to give that key here so that it will connect to that project

 

Please let me know if you face any issues while dn that

Tarunam Nair February 13, 2020

My question was linking of requirements with test cases. I have no issue in integrating Jira with TestLink. Only advantage that I have doing is that the jira tickets can be created from testLink. But my purpose is to get number of test cases written against requirement, which is not possible if we don't integrate stories of jira with test cases. I hope you got my point

Prachi Garg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2021

Hi Tarunam is this problem resolved?

i am facing the same issue i.e link Testlink test cases with Jira User Story. 

Tarunam Nair July 12, 2021

It wasn't resolved at that time. I didn't check it afterwards.

Mat Rush
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 26, 2023

Does Testlink integration work with a Jira Personal Access Token?

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 10, 2019

Hello Prasanna and welcome to the Community!

TestLink is a 3rd party application, along with this, it is not a supported product within the Atlassian Marketplace. For support with TestLink we would suggest reaching out to that vendor for support on their product.

With this said, I did some searching for you issue and found the following which seem similar to your issue.

https://stackoverflow.com/questions/15385251/testlink-1-9-5-jira-integration

http://forum.testlink.org/viewtopic.php?f=43&t=7904

The forum for Testlink and Jira.

http://forum.testlink.org/viewforum.php?f=43

If you find a solution to the problem you’re facing, please post it here so other in your situation may find a resolution.

Regards,
Stephen Sifers

Suggest an answer

Log in or Sign up to answer