TestLink is running through XAMPP 1.7.3 with MySQL database.
I've tried with both integration methods:
Jira SOAP:
1. Added $g_interface_bugs = 'JIRASOAP'; in the '/custom_config.inc.php' file.
2. Created a '/cfg/jirasoap.cfg.php' file with the following configuration:
Code: Select all
<?php
/* The following parameters are not in use. */
define('BUG_TRACK_DB_TYPE', '[Not in Use]');
define('BUG_TRACK_DB_NAME', '[Not in Use]');
define('BUG_TRACK_DB_CHARSET', '[Not in Use]');
define('BUG_TRACK_DB_USER', '[Not in Use]');
define('BUG_TRACK_DB_PASS', '[Not in Use]');
/** The Username being used by JIRA logon */
define('BUG_TRACK_USERNAME', 'admin');
/** The Password being used by JIRA logon*/
define('BUG_TRACK_PASSWORD', 'admin');
/** link of the web server for JIRA*/
define('BUG_TRACK_HREF', "http://localhost:8080/");
/** path of JIRA WSDL */
define('BUG_TRACK_SOAP_HREF', "rpc/soap/jirasoapservice-v2?wsdl");
/** link of the web server for jira ticket*/
define('BUG_TRACK_SHOW_BUG_HREF', "browse/");
/** link of the web server for creating new jira ticket*/
define('BUG_TRACK_ENTER_BUG_HREF', "secure/CreateIssue.jspa");
?>
Code: Select all
define('BUG_TRACK_DB_TYPE', '[Not in Use]');
define('BUG_TRACK_DB_NAME', '[Not in Use]');
define('BUG_TRACK_DB_CHARSET', '[Not in Use]');
define('BUG_TRACK_DB_USER', '[Not in Use]');
define('BUG_TRACK_DB_PASS', '[Not in Use]');
define('BUG_TRACK_USERNAME', 'admin');
define('BUG_TRACK_PASSWORD', 'admin');
define('BUG_TRACK_HREF', "http://localhost:8080/");
define('BUG_TRACK_SOAP_HREF', "rpc/soap/jirasoapservice-v2?wsdl");
define('BUG_TRACK_SHOW_BUG_HREF', "browse/");
define('BUG_TRACK_ENTER_BUG_HREF', "secure/CreateIssue.jspa");
Attention Please: Something is preventing connection to Bug Tracking System, and is going to create performance issues. Please contact your TestLink Administrator
No information in the log files though. And I check the SOAP services work in Jira (http://localhost:8080/rpc/soap/jirasoapservice-v2?wsdl).
Jira DB:
1. Added $g_interface_bugs = 'JIRA'; in the '/custom_config.inc.php' file.
2. Created a '/cfg/jira.cfg.php' file with the following configuration:
Code: Select all
<?php
/** The DB host to use when connecting to the JIRA db */
define('BUG_TRACK_DB_HOST', 'localhost:3306');
/** The name of the database that contains the jira tables */
define('BUG_TRACK_DB_NAME', 'jira');
/** The DB type being used by jira */
define('BUG_TRACK_DB_USER', 'root');
/** The DB password to use for connecting to the jira db */
define('BUG_TRACK_DB_PASS', '');
/** link of the web server for jira */
define('BUG_TRACK_HREF', "http://localhost:8080/");
//define('BUG_TRACK_HREF', "http://10.1.6.110:8080/browse/");
/** The DB type to use for connecting to the bugtracking db */
define('BUG_TRACK_DB_TYPE', 'mysql');
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost:8080/secure/CreateIssue.jspa");
?>
Code: Select all
define('BUG_TRACK_DB_HOST', 'localhost:3306');
define('BUG_TRACK_DB_NAME', 'jira');
define('BUG_TRACK_DB_USER', 'root');
define('BUG_TRACK_DB_PASS', '');
define('BUG_TRACK_HREF', "http://localhost:8080/");
define('BUG_TRACK_DB_TYPE', 'mysql');
define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost:8080/secure/CreateIssue.jspa");
Fatal error: require_once() [function.require]: Failed opening required 'jiradbInterface.class.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear:.:/Applications/XAMPP/xamppfiles/htdocs/testlink/lib/functions/:/Applications/XAMPP/xamppfiles/htdocs/testlink/lib/issuetrackerintegration/:/Applications/XAMPP/xamppfiles/htdocs/testlink/third_party/') in /Applications/XAMPP/xamppfiles/htdocs/testlink/lib/functions/common.php on line 99
No information in the log files either.
I'd say I don't know the format for the configuration in the "Issue Tracker Management" screen, since the "Show configuration example" button doesn't work for me (no pop-up displayed). So I assumed the format is the same as in the .cfg.php files.
What else do I need to do or change to get this integration working?