Re: Can Bugzilla Automatically Create a ServiceNow Ticket

Dylan Hardison <[email protected]> Thu, 28 Jan 2016 08:50:41 +0100
Newsgroups gmane.comp.bug-tracking.bugzilla.devel
Message-ID <CANx7wfkn_5eNkKeekdXEaftdkOZCqHjO+Os9VsK8wx1nwH462g@mail.gmail.com>
This could be done from an extension and a little bit of experimentation.

To write an extension you need to know a little perl. A starting point
is http://bugzilla.readthedocs.org/en/latest/integrating/extensions.html

Conveniently, there is a perl API to Service Now on CPAN:
https://metacpan.org/pod/ServiceNow::SOAP

If I were doing this, I think I'd start with figuring out how to
create a ServiceNow ticket using that library
and then figure out the Bugzilla bits.

The Bugzilla bits is probably the bug_after_create() -- so your
extension would define that hook and use ServiceNow::SOAP to create
the ticket.

I think this is a useful extension idea. I'm sure you have more
questions -- if email is a bit too slow, I and other bugzilla
developers also hang out in #bugzilla on irc.mozilla.org.

Hope that helps, happy hacking! :-)
-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=gcbd-developers-Uylq5CNFT+jYtjvyW6yDsg@public.gmane.org>