Search code examples
apicontinuous-integrationbugzilla

Bugzilla web API for adding a version to a product


I want my build server to create a version in our Bugzilla tracker every time a release build is made. Is this possible? So far, I've found the following APIs that come close, but don't provide this functionality:

Bugzilla::WebServer::Product - Allows updating of a couple fields from the product, but not the versions. Bugzilla REST API - Only provides methods dealing with bugs, nothing with the product.


Solution

  • I think you will have to create your own API. I'd create a simple Perl CGI that uses the Version package. http://www.bugzilla.org/docs/4.2/en/html/api/Bugzilla/Version.html