Back to index
Summary
Modifies a dashboard.projectNameStringrequiredThe name for the project that must be unique among all projects. dashboardNameStringrequiredUnique name of the dashboard within the project. clearColumnsBooleanoptionalWhether or not to clear columns for the dashboard. columnsArray<Unknown>optionalList of the columns to display for the dashboard of type COMMAND_CENTER. customizeBooleanoptionalSet to true to create a custom copy of the out-of-the-box Release Command Center dashboard. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. layoutStringoptionalLayout to use for adding the widgets to the dashboard. newNameStringoptionalThe new name for an existing object that is being renamed. typeStringoptionalType of the dashboard. Possible values: "COMMAND_CENTER" , "STANDARD" |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.modifyDashboard( projectName: "test-projectName", dashboardName: "test-dashboardName" /* optional arguments */ )