Page 1 of 1

Testlink 1.8.5 Integration with Jira 4.0.1

Posted: Tue Feb 02, 2010 10:21 am
by hammerton
Hi,

I am having trouble integrating JIRA with Testlink for some reason. I have added the following to my config.inc.php and custom.config.inc.php

$g_interface_bugs = 'JIRA';

and then added the below to jira.cfg.php

/** The DB host to use when connecting to the JIRA db */
define('BUG_TRACK_DB_HOST', 'http://192.168.1.22: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', 'admin');

/** The DB password to use for connecting to the jira db */
define('BUG_TRACK_DB_PASS', 'admin');

/** link of the web server for jira */
// define('BUG_TRACK_HREF', "http://localhost:8080/secure/Dashboard.jspa");
define ('BUG_TRACK_HREF', "http://192.168.1.22: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://192.168.1.22:8080/secure/CreateI ... fault.jspa");

I am not entirely sure what the name of the database is but I have put the 'BUG_TRACK_DB_NAME' as jiradb as I presume that it is the default.

After restarting everything up and accessing Testlink after executing a test the link to Jira is not present.

I have spent some time looking through this forum and others but I cannot find any solution it.

I am really struggling with this and seem to have hit a brick wall :? , can anyone please help??

Thank you in advance.

Posted: Mon Feb 08, 2010 9:38 am
by hammerton
Hi Chaps, I'm still have issues can anyone help please?

Posted: Sat Feb 13, 2010 3:18 am
by TurboPT
Up front, I will say that I don't have JIRA, but we might be able to figure this out.

1. How was JIRA installed? You have "presume" the default of jiradb, but is there a way to verify that is correct?

2. Are there any TestLink or jira-related errors in the Apache log?

3. Also, check the TestLink event log.

Let's start with those.

Posted: Thu Mar 25, 2010 6:34 pm
by ptimo3
try the following:
The only line that was incorrect was the HOST :-)

(I've been playing around this last week) if the DB is mysql its straightforward and simple, let me know if you have any issue's

/** The DB host to use when connecting to the JIRA db */
define('BUG_TRACK_DB_HOST', '192.168.1.22');

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

/** The DB password to use for connecting to the jira db */
define('BUG_TRACK_DB_PASS', 'admin');

/** link of the web server for jira */
// define('BUG_TRACK_HREF', "http://localhost:8080/secure/Dashboard.jspa");
define ('BUG_TRACK_HREF', "http://192.168.1.22: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://192.168.1.22:8080/secure/CreateI ... fault.jspa");

Re: Testlink 1.8.5 Integration with Jira 4.0.1

Posted: Tue Oct 05, 2010 10:15 am
by rangalatika
Hi it's working fine. And how to integrate the tesstlink with JIRA as a HSQL database? can anyone have a solution for this?