Back to index
Summary
Change the owner of an object.applicationNameStringoptionalThe name of an application. applicationTierNameStringoptionalThe name of an application tier. archiveConnectorNameStringoptionalThe name of an archive connector. artifactNameStringoptionalThe name of the artifact container of the property sheet which owns the property. artifactVersionNameStringoptionalThe name of the artifactVersion container of the property sheet which owns the property. catalogNameStringoptionalThe name of the catalog of the property sheet which owns the property. ciBuildDetailNameStringoptionalThe name of the CI build detail of the property sheet which owns the property. clusterNameStringoptionalThe name of the cluster which owns property sheet. componentNameStringoptionalThe name of a component. configNameStringoptionalThe name of the email configuration. credentialNameStringoptionalThe name of the credential. dashboardNameStringoptionalThe name of a dashboard. dataRetentionPolicyNameStringoptionalThe name of a data retention policy. environmentNameStringoptionalThe name of an environment. environmentTemplateNameStringoptionalThe name of an environment template. environmentTemplateTierNameStringoptionalThe name of the environment template tier container of the property sheet which owns the property. environmentTierNameStringoptionalThe name of an environment tier. flowNameStringoptionalThe name of the flow container of the property sheet which owns the property. flowRuntimeIdStringoptionalThe ID of the flow runtime container of the property sheet which owns the property. flowRuntimeNameStringoptionalThe name of the flow runtime container of the property sheet which owns the property. flowRuntimeStateIdStringoptionalThe primary key or name of the flowRuntimeState container of the property sheet which owns the property. flowRuntimeStateNameStringoptionalThe name of the flow state container of the property sheet which owns the property. flowStateNameStringoptionalThe name of the flow state container of the property sheet which owns the property. flowTransitionNameStringoptionalThe name of the flow transition container of the property sheet which owns the property. gateTypeStringoptionalThe type of the gate which owns property sheet. Possible values: "POST" , "PRE" gatewayNameStringoptionalThe name of the gateway container of the property sheet. groupNameStringoptionalThe name of a group. jobIdStringoptionalThe primary key or name of the job container of the property sheet which owns the property. jobStepIdStringoptionalThe primary key of the job-step container of the property sheet which owns the property. microserviceNameStringoptionalThe name of the microservice container of the property sheet. newOwnerNameStringoptionalThe name of the new owner. notifierNameStringoptionalThe email notifier name. objectIdStringoptionalThe object ID as returned by FindObjects. pathStringoptionalProperty path string. pipelineNameStringoptionalThe name of the pipeline container of the property sheet which owns the property. pluginConfigurationNameStringoptionalThe name of the plugin configuration container of the property sheet which owns the property. pluginNameStringoptionalThe name of a plugin. procedureNameStringoptionalThe name of a procedure. processNameStringoptionalThe name of a process. processStepNameStringoptionalThe name of a process step. projectNameStringoptionalThe name of a project. propertySheetIdStringoptionalThe primary key of the property sheet. recursiveBooleanoptionalApplies ownership changes for pipeline, release, and flowRuntime objects to associated child objects. When set to the default value of 'false', ownership changes are applied only to the selected object. If set to 'true' for pipeline and release, changes are applied to stages, gates, tasks, associated flow and flow state objects, and common objects (properties, email notifiers, event subscriptions and formal parameters). If set to 'true' for flowRuntime, changes are applied to flowRuntimeState, nested flowRuntime objects, and common objects (properties, email notifiers, and event subscriptions). releaseNameStringoptionalThe name of the release container of the property sheet which owns the property. reportNameStringoptionalThe name of a report. reportObjectTypeNameStringoptionalThe name of a report object type. repositoryNameStringoptionalThe name of the repository container of the property sheet which owns the property. resourceNameStringoptionalThe name of a resource. resourcePoolNameStringoptionalThe name of the resource pool container of the property sheet which owns the property. resourceTemplateNameStringoptionalThe name of the resource template container of the property sheet which owns the property. scheduleNameStringoptionalThe name of a schedule. scmSyncNameStringoptionalThe name of the Scm Sync container of the property sheet which owns the property. snapshotNameStringoptionalThe name of the snapshot container of the property sheet which owns the property. stageNameStringoptionalThe name of the stage container of the property sheet which owns the property. stateDefinitionNameStringoptionalThe name of a workflow state definition. stepNameStringoptionalThe name of a procedure step. taskNameStringoptionalThe name of the task which owns property sheet. transitionDefinitionNameStringoptionalThe name of a workflow transition definition. triggerNameStringoptionalThe name of the trigger which owns property sheet. userNameStringoptionalThe name of a user. widgetNameStringoptionalThe name of a widget. workflowDefinitionNameStringoptionalThe name of a workflow definition. workflowNameStringoptionalThe name of the workflow container of the property sheet which owns the property. workspaceNameStringoptionalThe name of a workspace. zoneNameStringoptionalThe name of the zone container of the property sheet. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.changeOwner( /* optional arguments */ )