Mantis bugtracker integration

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

nhaumont
TestLink user
Posts: 3
Joined: Thu May 20, 2010 9:56 am

Mantis bugtracker integration

Post by nhaumont »

Hi,

I just wanted to know if the integration between Testlink & Mantis Bugtracker has been improved in the 1.9 version or if you plan to do so. This feature is very usefull.
Has someone been able to integrate those two tools in another way than just associate a testcase to a bugtracker id. The goal is to have a real collaboration with the two tools.

thanks
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Mantis bugtracker integration

Post by fman »

method is still the same, simple but effective
a tight coupling requires the configuration of mapping between tl and mantis items like:
what mantis project and category to use
what will be issue subject ?
eelcodegraaff
TestLink user
Posts: 4
Joined: Wed Jun 02, 2010 5:12 pm

Re: Mantis bugtracker integration

Post by eelcodegraaff »

I am currently building a new environment for our testers here, but it seems the reports do not show the mantis calls when you use the report functions from testlink. I will build an other testlink system with the current production build of testlink to compare this item.
MarceUru
Advanced user
Posts: 23
Joined: Wed Jul 14, 2010 5:49 pm
Location: Montevideo

Re: Mantis bugtracker integration

Post by MarceUru »

Hello,
What do mean when you say "what mantis project and category to use?" and "what will be issue subject ?"
I have modifications in mantis.cfg.php (renamed Mantis), int_bugtracking.php, int_mantis.php (renamed Mantis) files but without a satisfactory result; do you know a better way to setup the interconnection between those app?
Thanks.
"Nada se crea, nada se destruye, todo se transforma"
Lavoisier
MarceUru
Advanced user
Posts: 23
Joined: Wed Jul 14, 2010 5:49 pm
Location: Montevideo

Re: Mantis bugtracker integration

Post by MarceUru »

Another question: Is necessary the anonymous login into mantis (turned oN) to access by testlink?
"Nada se crea, nada se destruye, todo se transforma"
Lavoisier
MarceUru
Advanced user
Posts: 23
Joined: Wed Jul 14, 2010 5:49 pm
Location: Montevideo

Re: Mantis bugtracker integration

Post by MarceUru »

Hi Guys and Girls,
On my owns, i maked (trying before this) all modifications on cfg files to integrated Mantis with Testlink. The problem is that i don't see the "bug management" option when i going to execute a test case. Is possible that anyone can help me this time?
"Nada se crea, nada se destruye, todo se transforma"
Lavoisier
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Re: Mantis bugtracker integration

Post by Amaradana »

did you also change the parameter in the config.inc.php

$g_interface_bugs = 'NO'; to

$g_interface_bugs = 'MANTIS';
Thanks,
TesterWorld
Http://amartester.blogspot.com
MarceUru
Advanced user
Posts: 23
Joined: Wed Jul 14, 2010 5:49 pm
Location: Montevideo

Re: Mantis bugtracker integration

Post by MarceUru »

Hi Amaradana....yes, I had already made this change...
"Nada se crea, nada se destruye, todo se transforma"
Lavoisier
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Mantis bugtracker integration

Post by fman »

download 1.9 beta 4 or beta 5 bundle with XAMPP, this packs are mantis integration configured and that run without problems
MarceUru
Advanced user
Posts: 23
Joined: Wed Jul 14, 2010 5:49 pm
Location: Montevideo

Re: Mantis bugtracker integration

Post by MarceUru »

I have version 1.9 beta 4 with XAMPP, is necessary download the beta 5 to resolve this problem?
"Nada se crea, nada se destruye, todo se transforma"
Lavoisier
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Mantis bugtracker integration

Post by fman »

as stated in my previous post 1.9 beta 4 or 5 are ok.
integration has to work if configured in the right way => read all doc available
georgemrc
TestLink user
Posts: 4
Joined: Tue Apr 05, 2011 10:54 pm

Re: Mantis bugtracker integration

Post by georgemrc »

eelcodegraaff wrote:I am currently building a new environment for our testers here, but it seems the reports do not show the mantis calls when you use the report functions from testlink. I will build an other testlink system with the current production build of testlink to compare this item.
Hi, I was able to integrate both tools, but I ran into an issue. I'm currently executing a test plan (700+ tests) and when I review reports the "General test plan metrics"/"test result matrix"/"charts" reports give me and error message
"500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

When I disable Mantis integration, I can access the data just fine.

Anyone else had this issue? how can I fix it?
testtools420
Advanced user
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Re: Mantis bugtracker integration

Post by testtools420 »

Hi guys,

My Scenario: I am trying to use issue tracker management. We use Mantis DB in the company i work. So, i need to integrate this with Mantis DB. I selected "Mantis (interface: db)" as Soap UI is not used as interface. The configuration is as follows:

<dbhost>DATABASE SERVER NAME</dbhost>
<dbname>DATABASE NAME</dbname>
<dbtype>mysql</dbtype>
<dbuser>USER</dbuser>
<dbpassword>PASSWORD</dbpassword>

I have entered the DB servername where the database is hosted. I have entered the database type which is "mySQL". The name, username & PW are too entered. So , this part is clear.

<uriview>http://localhost:8080/development/manti ... =</uriview>
<uricreate>http://localhost:8080/development/manti ... /uricreate>

For the above part: Here i have a problem. The DB admin created a folder namely „TestLink“ on Mantis & provided me the URL of this folder. So that i can connect to this folder from issue tracker management. I pasted it between „uriview“ tags. I could not have a connection established & there was a warning in Test Execution panel displayed „Attention please: Something is preventing connection to Bug Tracking system, and is going to create performance issues. Please contact your TestLink Administrator“.

What should i insert in <uricreate> & <uriview>?

If i had got a specific message about the problem i could have pasted it here or looked out for solution elsewhere. Unfortunately i couldn't.

TL's installation details:
OS Version: Windows Server 2012 R2
php – Version: 5.5.29
MySQL Server: 5.6
Apache: 2.4.16

TL Version: 1.9.14
MantisBT-Version: 1.2.15
Schema Version: 183
dbtype: mySQL

i will list out what i did:

1) As "fman" in his post mentioned (viewtopic.php?f=25&t=6972) i checked for the library named issuetrackerintegration. This library does exist & a module named "mantisdbInterface.class.php" is too integrated. But i have no idea about the methods

completeCfg() - I don't know what is present there
getCfgTemplate() - This method had the template in it

2) Checked out this link (viewtopic.php?f=44&t=7191) which explained integration with "interface:SOAP UI" & not with "interface:db"

3) I tried different paths for <uriview> & <uricreate> but didn't succeed. I am pretty sure that i am making a mistake in this place but don't know what the mistake is.
testtools420
Advanced user
Posts: 16
Joined: Sun Nov 22, 2015 10:52 am

Re: Mantis bugtracker integration

Post by testtools420 »

Should i follow this configuration on Mantis? (Reference:https://wiki.bitnami.com/Applications/BitNami_TestLink )

Mantis configuration
It is necessary to allow anonymous login for Mantis application:
• Create a user in the Mantis application from the manager control panel. In this example we add the "testlink" user:
Manage -> Manage Users
• Check that this user is "enabled" and give him the "reporter" access level.
• Add the following lines in the "installdir/apps/mantis/htdocs/config_inc.php" file
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'testlink';
• Log out from the Mantis application and check the "Login Anonymously" link works properly.
Once you configured Mantis, create a sample project to integrate with TestLink application.

I even followed a video for configuration : https://www.youtube.com/watch?v=RkwGCPZLn3I

STILL UNSUCCESSFUL
Will let know soon the answer for this problem but till then i will keep on updating this thread with my different methods. SO, THAT NOONE ELSE HAS TO REPEAT THESE STEPS & loose time on it
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Mantis bugtracker integration

Post by fman »

1) posting same post on multiple forum areas is not a good approach IMHO
2) you need to check TestLink logs to try to understand what is happening.
describing your installation can be useful:
testlink & mantis are installed on same server?
Locked