CloudBees Analytics with the ServiceNow (PDK) plugin

2 minute readExtensibilityDeveloper productivity
On this page

This plugin provides integration with CloudBees Analytics reports and/or dashboards to focus on key metrics across releases and pipelines - from code commit to deployment. The ability to visualize this information as dashboards enables enterprises to understand the overall status of their release and deployment process, identify hotspots that require action, understand trends, and find opportunities for further improvement.

You can create reports and dashboards by adding data sources for different external tools you are using in your release. The supported tools are based on the installed plugins that support collecting data for the dashboard to send to the CloudBees Analytics server. For more information, refer to Monitoring with CloudBees Analytics.

Incident

Collects incident-related reporting data from ServiceNow to use in CloudBees Analytics dashboards and reports. Data Source of this report type is ServiceNow DataSource.

Input parameters

Table 1. Incident input parameters
Parameter Description

Source table

Required. Servicenow table to get reporting data from. It should be the ServiceNow table actual name, and not the label. For example, for Incident table it should be incident, for Change Request it should change_request.

Filter

Simple filters can be written in JSON. For example: {"number": "CR1938910"}. Complex filters must be written in ServiceNow query language. For example: priority=1^ORpriority=2. NOTE: Regardless of using JSON or ServiceNow query language, all field names must be the actual field names from ServiceNow and not display names. There are references, descriptions, and use case examples for this field in the plugin documentation.

Use Table API

If checked, ServiceNow Table API will be used instead of JSONv2 API for data retrieval. Table API returns data with a different structure, thus default mappings in "Field mapping" won’t work. Default mappings for Table API are available in the Help file.

Field mapping

Allows user to modify payload values. Examples: "MyApplication":releaseName - map value "MyApplication" to payload releaseName field. NOTE: Please refer to the CloudBees CD/RO supported fields for the incident report type here.

Metadata property path

Property sheet where procedure will store it’s results. It is defaults depending on context. To project or schedule.