Back to index
Summary
Creates a new report object type.reportObjectTypeNameStringrequiredUnique name of the report object type. colorCodeStringoptionalThe color associated with the report object type, in hexcode format #rrggbb .descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. displayNameStringoptionalDisplay name of report object type. sourceTypeStringoptionalCategory of the third-party tool that data for the given report object type is obtained from. sourceTypeDescriptionStringoptionalDescription of the category of the third-party tool that may be displayed on the UI. storagePatternStringoptionalStorage pattern for report object type. Possible values: "NONE" , "YYYY" , "YYYY_MM" , "YYYY_MM_dd" |
Usage
Perl
$cmdr->createReportObjectType( "test-reportObjectTypeName" # reportObjectTypeName # optionals );
ectool
ectool createReportObjectType \ "test-reportObjectTypeName" `# reportObjectTypeName` \ # optionals
Examples
DSL example of a report object type definition
reportObjectType 'cust_market_stats', { description = 'Application features delivered as part of a release' reportObjectAttribute 'featureName', { type = 'STRING' required = true } reportObjectAttribute 'issues', { type = 'NUMBER' required = true } reportObjectAssociation 'release', { sourceFields = 'releaseName, releaseProjectName' targetFields = 'releaseName, releaseProjectName' required = true } reportObjectAssociation 'application', { sourceFields = 'applicationName, projectName' targetFields = 'applicationName, applicationProjectName' } }