Hi,

We are using Bugzilla for some time now, and we wanted to have some
interaction between OTRS and Bugzilla, so I have coded something quite
simple but that fits our needs, and might fit other people's too. I know
such interfacing is on the TODO list, but I hope it may help someone, and
maybe give ideas to the dev team ?

It works that way : in zoom view, you have a new 'bugzilla' link. Click on
it to have the bugzilla form, prefilled with the url of the ticket.
Whenever a bugzilla user clicks on the url, he will be shown the whole
ticket within OTRS.

It consists of a new Module Kernel/Modules/AgentTicketAddBug.pm, a new
template file : Kernel/Output/HTML/Standard/AgentTicketAddBug.dtl and a
modification on Kernel/Output/HTML/Standard/AgentZoomHead.dtl.
You should modify AgentTicketAddBug.dtl to adapt it to your bugzilla
confiduration (fields options), and you have to set a few variables in
Kernel/Config.pm :
$Self->{UseBugzilla} = 1;
$Self->{BugzillaUrl} = 'http://host.example.com/bugs' ;
$Self->{BugzillaUser} = 'bugzilla';
$Self->{BugzillaPassword} = 'bugzillapw'
Also note that you have to use HTTP Basic Auth for User Authentification,
because the item entered in Bugzilla is a link to the ticket in the form :
http://bugzilla:[EMAIL PROTECTED]/otrs. Yes, it means you have to
create a bugzilla user, with appropriate permissions to the tickets you want
to add to bugzilla. I've been using mod_auth_mysql so I can use the DB
backend with HTTP Auth, without the need for an .htpasswd.

I've tested it on otrs 1.2beta1, 2, 3, and it should run on 1.1.3 also.
(files come in attachement)

Hope that helps,

Brice Levy

Attachment: otrs-bugzilla.tgz
Description: Binary data

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/

Reply via email to