createReportObjectAttribute

Back to index

Summary

Creates a new report object attribute.
reportObjectTypeName
Stringrequired
Report object type for which this attribute is defined. The attribute is owned by the specified report object type.
reportObjectAttributeName
Stringrequired
The name of the report object attribute.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
displayName
Stringoptional
Display name of report object attribute.
enumerationValues
Stringoptional
Enumeration values of report object attribute.
required
Booleanoptional
Whether the association between the report object type and attribute is always present.
type
Stringoptional
Type of report object attribute.
Possible values: "BOOLEAN", "CONSTANT", "DATE", "DATETIME", "DURATION", "NUMBER", "PERCENT", "STRING"

Usage

Perl

$cmdr->createReportObjectAttribute( "test-reportObjectTypeName", # reportObjectTypeName "test-reportObjectAttributeName" # reportObjectAttributeName # optionals );

ectool

ectool createReportObjectAttribute \ "test-reportObjectTypeName" `# reportObjectTypeName` \ "test-reportObjectAttributeName" `# reportObjectAttributeName` \ # optionals

Examples

Perl

$cmdr->createReportObjectAttribute("MyReportType", "feature");

ectool

ectool createReportObjectAttribute MyReportType feature