modifySearchFilter

Back to index

Summary

Modifies an existing search filter.
displayName
Stringrequired
Search filter name.
objectType
Stringrequired
Object type.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
newName
Stringoptional
The new name for an existing object that is being renamed.
newObjectType
Stringoptional
Search filter entity type.
searchQuery
Stringoptional
Search filter query CLOB.
shared
Booleanoptional
Flag indicating whether the filter is public or private.
userName
Stringoptional
Search filter user name.

Usage

Perl

$cmdr->modifySearchFilter( "test-displayName", # displayName "test-objectType" # objectType # optionals );

ectool

ectool modifySearchFilter \ "test-displayName" `# displayName` \ "test-objectType" `# objectType` \ # optionals

Examples

Perl

$cmdr->modifySearchFilter("MyFilter", "pipeline", ");

ectool

ectool modifySearchFilter MyFilter pipeline --newName "MyNewName"