It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Testlink Integration with jira cloud

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!

3 answers

1 accepted

2 votes
Answer accepted

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"

do you have example configuration file for above?

<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>

@Guiu MateuThanks much .It worked for me

Like Guiu Mateu likes this

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

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
0 votes

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

Did anyone find a solution for this?

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>

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)?

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

@testlinktest testlinktest 

 

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Calling all Jira Cloud users! Give us feedback on our exploration of a new navigation.

Hi everyone! My name’s Matt and I’m a product manager at Atlassian. I work in the navigation & findability space for all our Jira Cloud products. We’ve been working on trying to improve the exp...

1,065 views 16 12
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you