Back to index
Summary
Modifies a report.projectNameStringrequiredThe name for the project that must be unique among all projects. reportNameStringrequiredThe name of the report. definitionStringoptionalThe Elasticsearch query definition to use for retrieving report data. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. newNameStringoptionalThe new name for an existing object that is being renamed. parametersStringoptionalInput parameters in JSON format accepted by the report definition. reportObjectTypeForSourceTypeStringoptionalThe report object type name to use to determine the source type for the report. Set this if the sourceType of the report's reportObjectType is different from the actual source of the report data. reportObjectTypeNameStringoptionalReport object type name. reportQueryStringoptionalThe report query in JSON format. It will be translated to the Elasticsearch query definition when retrieving report data. titleStringoptionalThe title of report. uriStringoptionalAn advanced mode option for identifying the Elasticsearch URI to use for retrieving report data. By default, the reportObjectTypeName argument will be used to construct the URI based on the Elasticsearch index for the report object, e.g., ef-deployment-*/_search?pretty . |
Usage
Perl
$cmdr->modifyReport( "test-projectName", # projectName "test-reportName" # reportName # optionals );
ectool
ectool modifyReport \ "test-projectName" `# projectName` \ "test-reportName" `# reportName` \ # optionals