![bugzilla xml rpc bugzilla xml rpc](https://cdn.crunchify.com/wp-content/uploads/2021/04/xml-rpc-is-not-enabled-on-crunchify.com-and-pro.crunchify.com_.png)
![bugzilla xml rpc bugzilla xml rpc](http://2.bp.blogspot.com/_U6iMln3g6LI/S7z3SpE9abI/AAAAAAAAAds/q-nHhTWhv30/w1200-h630-p-k-no-nu/XML-RPC.gif)
#Bugzilla xml rpc how to#
Refer to Plugins on how to install plugins manually.įirst we make changes to source code Bugzilla (for v.3.2) in file Bugzilla/WebService/Bug.pm, this change is optional :ĭiff -u Bugzilla /WebService /Bug. To fix it, make the type_id attribute #IMPLIED (optional) in the bugzilla.dtd file.Search and install the plugin using the Extension Manager. This happens because the generated XML does not correspond to the bundled bugzilla.dtd. Sometimes you may see a SAXParseException saying that Open quote is expected for attribute type_id associated with an element type flag. To fix that, set the server URL in Bugzilla. If you see the path/to/bugzilla.dtd not found error, this means that the issue XML contains the relative path to the bugzilla.dtd file, and not the URL. However, this can usually be fixed by tweaking the Bugzilla configuration. There are several known issues in Bugzilla regarding XMLs generated for the issues, which makes it hard to communicate with it. This will allow TeamCity to retrieve the information about issues and display it in the UI. Note that a user specified in the connection to Bugzilla should have sufficient permissions to view Bugzilla issues.
![bugzilla xml rpc bugzilla xml rpc](https://cdn.drlinkcheck.com/blog/xml-rpc.png)
This is not required if you use anonymous access to Bugzilla without the username and password.
#Bugzilla xml rpc password#
If the username and password are specified, you need to have Bugzilla XML-RPC interface switched on. The most common case is #(\d+) - this will extract 1234 as the issue ID from the text Fix for #1234. The matched text (or the first group if there are groups defined) is used as the issue number. Specify a Java Regular Expression pattern to recognize an issue ID in the comment text. Specify the connection name to distinguish it from the other connections.Įnter a username of your Bugzilla user account.Įnter a password for your Bugzilla user account. To enable the integration, create a connection to Bugzilla on the Project Settings | Issue Trackers page and specify the following settings: If the settings are different in a subproject, they have priority over the parent project's settings. Note that enabling integration for a project enables it for all its subprojects as well. Mark fixed issues as Resolved in Bugzilla to display them with the Fixed status in TeamCity logs (the time of resolve does not really matter).Įnabling TeamCity integration with Bugzilla requires Project Administrator permissions as it is configured at a project level. When committing changes to your version control, always mention the issue ID related to the fix in the comment to the commit. You can filter the list to a particular range of builds and/or enable the Show only resolved issues option to display only issues fixed in the builds.įollow these recommendations to get the maximum benefit from the Bugzilla integration: To view issues related to a whole build configuration (not only to individual builds), use the Issue Log tab of the Build Configuration Home page. Issues fixed in the build can be viewed on the Issues tab of the build results. Documentation for the deprecated XML-RPC and JSON-RPC APIs is also available. This Bugzilla installation has the following WebService APIs available (as of the last time you compiled the documentation). To see the basic details of a issue in the TeamCity UI, open the Changes tab of the related build’s results and hover over the icon next to the issue ID. WebService API Reference Bugzilla 5.1.2+ documentation. It transforms these IDs into links to the corresponding issues in Bugzilla and displays them to TeamCity users in the UI: When integration with Bugzilla is enabled, TeamCity automatically detects issue IDs mentioned in the comments of VCS commits. Displaying Links to Bugzilla Issues in TeamCity UI You can integrate TeamCity with Bugzilla (3.0 or later) to provide links to Bugzilla issues from the TeamCity UI.