Integration of TestLink 1.9 (Prague) with JIRA 4.2

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
dom4388
TestLink user
Posts: 1
Joined: Thu Dec 23, 2010 1:20 pm

Integration of TestLink 1.9 (Prague) with JIRA 4.2

Post by dom4388 »

I'm currenty having problems attempting to integrate TetsLink with JIRA.

I've made the releveant ammendments to config.inc.php

$g_interface_bugs = 'JIRA';


and also to jira.cfg.php

//Set the bug tracking system Interface to JIRA v4.2.1
/** The DB host to use when connecting to the JIRA db */
define('BUG_TRACK_DB_HOST', 'localhost:8080');

/** The name of the database that contains the jira tables */
define('BUG_TRACK_DB_NAME', 'jiradb');

/** 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', 'mysqlroot');

/** link of the web server for jira */
// define('BUG_TRACK_HREF', "http://localhost:8080/secure/Dashboard.jspa");
define('BUG_TRACK_HREF', "http://localhost:8080/secure/Dashboard.jspa");

/** The DB type to use for connecting to the bugtracking db */
//define('BUG_TRACK_DB_TYPE', 'mysql');
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!default.jspa");


It may be that I'm just missing something really simple, but if anyone has experienced similar problems then any help would be appreciated
relwe
TestLink user
Posts: 12
Joined: Wed Oct 13, 2010 1:52 pm

Re: Integration of TestLink 1.9 (Prague) with JIRA 4.2

Post by relwe »

that what i entered and it worked fine:
//Set the bug tracking system Interface to JIRA 3.1.1
/** The DB host to use when connecting to the JIRA db */
define('BUG_TRACK_DB_HOST', 'localhost');

/** The name of the database that contains the jira tables */
define('BUG_TRACK_DB_NAME', 'jiradb');

/** 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', 'mypassword');

/** link of the web server for jira */
// define('BUG_TRACK_HREF', "http://localhost:8080/secure/Dashboard.jspa");
define('BUG_TRACK_HREF', "http://localhost: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/browse/");
asgzl
Advanced user
Posts: 19
Joined: Fri May 28, 2010 3:22 am

Re: Integration of TestLink 1.9 (Prague) with JIRA 4.2

Post by asgzl »

I have made change to config.inc.php and below is my jira.cfg.php, I don't know what is wrong but I can't intergrate with jira in testlink. (can't find place to input jira id in execute test page). Can some body help? Is there any debug methord to see the error message? Thanks.

//Set the bug tracking system Interface to JIRA 3.1.1
/** The DB host to use when connecting to the JIRA db */
define('BUG_TRACK_DB_HOST', '135.251.208.42');

/** The name of the database that contains the jira tables */
define('BUG_TRACK_DB_NAME', 'jiradb4');

/** 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', 'jira');

/** link of the web server for jira */
// define('BUG_TRACK_HREF', "http://localhost:8080/secure/Dashboard.jspa");
define('BUG_TRACK_HREF', "http://135.251.208.42:8080/secure/Dashboard.jspa");

/** 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://135.251.208.42:8080/secure/CreateIssue.jspa");
asgzl
Advanced user
Posts: 19
Joined: Fri May 28, 2010 3:22 am

Re: Integration of TestLink 1.9 (Prague) with JIRA 4.2

Post by asgzl »

the issue is fixed after I install JIRA on the same machine of TL. Seem that you can't put ip address in the db host line. You can only input localhost. this is my experience.
Post Reply