[SOLVED] Jira Integration -> Something is preventing connect

Moderators: Amaradana, TurboPT, TL Developers

[SOLVED] Jira Integration -> Something is preventing connect

Postby peachwyss » Wed Dec 05, 2012 6:49 am

Hy

We’re trying to integrate Testlink (Installed via BitNami) with Jira (Jira Version 5.2.1, TestLink Version 1.9.4).

Here’s the issue tracker config:
<issuetracker>
<username>xxx</username>
<password>xxx</password>
<uribase>http://servername:8085</uribase>
<uriwsdl>http://servername:8085/rpc/soap/jirasoapservice-v2?wsdl</uriwsdl>
<uriview>http://servername:8085/browse/</uriview>
<uricreate>http://servername:8085/secure/CreateIssue!default.jspa</uricreate>
</issuetracker>

-> All Urls are valid (can be opened in the browser with no error)


Error Message (When opening a test result via test execution in testlink):

Attention Please:
Something is preventing connection to Bug Tracking System,
and is going to create performance issues.
Please contact your TestLink Administrator


I don’t see anything related to this in the events of testlink or in the log-files of the apache-server or testlink.

The only thing I see in the events are the following warning events (no error events are displayed):
- E_NOTICE Undefined index: can_delete_execution - in C:\Program Files\BitNami TestLink Stack\apps\testlink\htdocs\gui\templates_c\%%8E^8EC^8ECF17FA%%inc_exec_show_tc_exec.tpl.php - Line 375
- string 'issue_tracker_integration_problems' is not localized for locale 'en_US'

…but I don’t think this has anything to do with the above error.

What we’ve tried so far:
- According to viewtopic.php?f=1&t=7005:
-> Disable JIRA JSON-RPC Plugin and RPC JIRA Plugin/ System XML-RPC Services (xmlrpc) in Jira
- According to http://www.361way.com/testlink-jira/2032.html:
-> Enable PHP SOAP in the Apache-Instance of testlink
- Using https instead of http in the tracker config

-> No success

Some more infos:
- The jira instance is on another server and we cannot use the db-integration (we aren't allowed to).
- When we install the jira on the same server as the Testlink instance -> Same problem occurs.

Thanks for your help,
Peter Wyss
peachwyss
TestLink user
 
Posts: 4
Joined: Tue Dec 04, 2012 8:55 pm

Re: Jira Integration problems -> Something is preventing con

Postby fman » Wed Dec 05, 2012 9:32 am

I can provide you configuration to connect to JIRA ON DEMAND.
Then you have to try to check that ISSUE IN NOT ON TL but on your JIRA CONFIG.

Please silly thing => restart the webserver where TL is installed AFTER ANY CHANGE TO PHP.
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira Integration problems -> Something is preventing con

Postby fman » Wed Dec 05, 2012 7:08 pm

This points to a sample file JUST USED to test JIRA integration.

http://gitorious.org/testlink-ga/testli ... fd8627518f

Please do not abuse of this jiraondemand account
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira Integration problems -> Something is preventing con

Postby peachwyss » Thu Dec 06, 2012 8:57 am

hy

Thanks for your answer. I've tried with the following config:

<issuetracker>
<username>testlink.forum</username>
<password>password>forum</password>
<uribase>http://testlink.atlassian.net/</uribase>
<uriwsdl>http://testlink.atlassian.net/rpc/soap/jirasoapservice-v2?wsdl</uriwsdl>
<uriview>http://testlink.atlassian.net/browse/</uriview>
<uricreate>http://testlink.atlassian.net/secure/CreateIssue!default.jspa</uricreate>
</issuetracker>

-> No luck! Same error as above.

Then i've restarted apache -> Same error.

I see the following error in the error.log of apache:
[Thu Dec 06 09:46:35.458972 2012] [ssl:warn] [pid 7576:tid 300] AH01909: RSA certificate configured for www.example.com:444 does NOT include an ID which matches the server name

-> Maybe this has something todo with our issue? Where can I configure RSA certificate?

Thanks for your help,
Peter
peachwyss
TestLink user
 
Posts: 4
Joined: Tue Dec 04, 2012 8:55 pm

Re: Jira Integration problems -> Something is preventing con

Postby fman » Thu Dec 06, 2012 12:59 pm

You need to have PHP SOAP EXTENSION enabled
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am

Re: Jira Integration problems -> Something is preventing con

Postby peachwyss » Thu Dec 06, 2012 4:23 pm

I have already activated the php soap extension in php.ini (in the BitNami TestLink Stack\php Folder):
extension=php_soap.dll

When i run php -m I see soap under "PHP Modules".

I've also restarted Apache -> Same error.

Other Soap-Related entries in php.ini:
[soap]
; Enables or disables WSDL caching feature.
; http://php.net/soap.wsdl-cache-enabled
soap.wsdl_cache_enabled=1

; Sets the directory name where SOAP extension will put cache files.
; http://php.net/soap.wsdl-cache-dir
soap.wsdl_cache_dir="/tmp"

; (time to live) Sets the number of second while cached file will be used
; instead of original one.
; http://php.net/soap.wsdl-cache-ttl
soap.wsdl_cache_ttl=86400

; Sets the size of the cache limit. (Max. number of WSDL files to cache)
soap.wsdl_cache_limit = 5
peachwyss
TestLink user
 
Posts: 4
Joined: Tue Dec 04, 2012 8:55 pm

Re: Jira Integration problems -> Something is preventing con

Postby peachwyss » Tue Mar 12, 2013 3:06 pm

Finally the problem is solved:

- Our Issue Tracker wasn't selected under Test Project Management > XXX Project > Issue Tracker Integration

Thanks for your help.
Peter
peachwyss
TestLink user
 
Posts: 4
Joined: Tue Dec 04, 2012 8:55 pm


Return to Jira



Who is online

Users browsing this forum: No registered users and 1 guest