Back to index
Summary
Creates a new reporting filter.projectNameStringrequiredThe name for the project that must be unique among all projects. dashboardNameStringrequiredUnique name of the dashboard within the project. reportingFilterNameStringrequiredThe name of the reporting filter. afterReportingFilterStringoptionalThe name of the reporting filter after which this reporting filter should be placed. beforeReportingFilterStringoptionalThe name of the reporting filter before which this reporting filter should be placed. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. filtersStringoptionalString representation of CompositeFilter object used for additional attribute values filtering. operatorStringoptionalThe operator is allowed to use in a reporting filter. orderIndexIntegeroptionalOrder that the reporting filter should be displayed. parameterNameStringoptionalThe parameter name to filter on it. reportObjectTypeNameStringoptionalThe name of the report object type, if the reporting filter is a custom filter. requiredBooleanoptionalThe flag to see is this reporting filter required to be used. typeStringoptionalThe type of the field value. widgetNameStringoptionalThe name of the widget this reporting filter is scoped to. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createReportingFilter( projectName: "test-projectName", dashboardName: "test-dashboardName", reportingFilterName: "test-reportingFilterName" /* optional arguments */ )