Setting up component subscription notification

Coverity Documentation

Version
latest

In order to allow Coverity Connect to send issue notification based on user component subscription, you must create an external Coverity Connect Web Services script that runs periodically (for example, nightly), executes the appropriate query for users and their component assignments, and then invokes the notification API to send out a message in a predetermined format, such as HTML.

To ensure that notification will work, you should be aware of the following in your Web Services implementation:
  • The usernames of all users that subscribe to the component are available in the subscribers element in the componentDataObj type for Configuration Web Services.

  • The notify() method in the Administration Web Services works.

For more information, see the Coverity Platform SOAP Web Services API Reference and the Coverity Platform REST Web Services API Guide.