Page 1 of 1

Integration of TestLink 1.9 (Prague) with JIRA 4.2

Posted: Thu Dec 23, 2010 1:39 pm
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

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

Posted: Thu Jan 06, 2011 1:08 pm
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/");

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

Posted: Mon Jan 24, 2011 5:34 am
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");

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

Posted: Thu Jan 27, 2011 12:54 pm
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.