Can Bugzilla Automatically Create a ServiceNow Ticket

Dylan Hardison dylan at mozilla.com
Thu Jan 28 07:50:41 UTC 2016


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! :-)



More information about the developers mailing list