Testlink 1.8.5 Integration with Jira 4.0.1

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
hammerton
TestLink user
Posts: 4
Joined: Tue Jan 26, 2010 10:47 am

Testlink 1.8.5 Integration with Jira 4.0.1

Post 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.
hammerton
TestLink user
Posts: 4
Joined: Tue Jan 26, 2010 10:47 am

Post by hammerton »

Hi Chaps, I'm still have issues can anyone help please?
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Post 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.
ptimo3
TestLink user
Posts: 4
Joined: Wed Mar 24, 2010 3:53 pm

Post 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");
rangalatika
TestLink user
Posts: 3
Joined: Fri Oct 01, 2010 6:05 am

Re: Testlink 1.8.5 Integration with Jira 4.0.1

Post 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?
Locked