Jira integration help plz

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
alp.torun
TestLink user
Posts: 1
Joined: Tue Jan 06, 2009 3:05 pm

Jira integration help plz

Post by alp.torun »

I think testlink is not integrate with jira. We have got jira with oracle db. We are hosting testlink with apache.
Our jira.cfg.php file which testlink uses is this:
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: jira.cfg.php,v 1.0 2005/10/25 17:40:56
*
*
* 20051229 - scs - added DEFINE for the DB-Type
*/

// Contributed by jbarchibald@gmail.com

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

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

/** The DB type to use for connecting to the bugtracking db */
define('BUG_TRACK_DB_TYPE', 'oracle');


/** The DB type being used by jira */
define('BUG_TRACK_DB_USER', 'user');

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


define('BUG_TRACK_DB_CHARSET',"windows-1250");
// define('BUG_TRACK_DB_CHARSET',"gb2312");
// define('BUG_TRACK_DB_CHARSET',"UTF-8");


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


/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://10.17.4.15:8082/secure/CreateIssue!default.jspa");
?>
we alter the customconfig file which is:
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* This script is distributed under the GNU General Public License 2 or later.
*
* Filename $RCSfile: custom_config.inc.php,v $
*
* @version $Revision: 1.4.2.3 $
* @modified $Date: 2007/11/03 07:51:43 $ by $Author: franciscom $
*
* SCOPE:
* Constants and configuration parameters used throughout TestLink
* DEFINED BY USERS.
*
* Use this page to overwrite configuration parameters (variables and defines)
* presente in:
*
* config.inc.php
* cfg\const.inc.php
*-----------------------------------------------------------------------------
*/
$g_interface_bugs='JIRA';

?>
How we can integrate jira and testlink .
Thank you for your advice.


Also where the logs are placed in testlink because i modified
database.class.php line 95 with
tLog('DB Connect failed: ' . $result['dbms_msg'],'ERROR');
regards
Post Reply