Redmine 1.1.2 integration

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
ayreon
TestLink user
Posts: 1
Joined: Wed Apr 20, 2011 10:58 am

Redmine 1.1.2 integration

Post by ayreon »

Hey all,

Following your guidelines i successfully integrated the two systems,
except one thing, namely the URL which is used to open new issues in Redmine

Code: Select all

define('BUG_TRACK_ENTER_BUG_HREF',"https://localhost/redmine/projects/[PROJECT_NAME_GOES_HERE_SOMEHOW]/issues/new");
Because Redmine is a multi-project enabled tool, the required URL is project specific too,
so i'd need the Test Project's name (not the id or the prefix!) injected into the URL above. Of course you have to choose the same name for your Testlink and Redmine project in this case, but it's not an issue.

So, any idea how to insert the name? I bet it's not more than two lines of PHP code, but i'm not a PHP nor TestLink expert,

Thanks for your help in advance,
Cheers,
Janos
Post Reply