createSearchFilter

Back to index

Summary

Creates a new custom filter for the currently logged in user.
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.
searchQuery
Stringoptional
Search filter query CLOB.
shared
Booleanoptional
Flag indicating whether the filter is public or private.

Usage

Perl

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

ectool

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

Examples

Perl

$cmdr->createSearchFilter("testFilter!", "pipeline");

ectool

ectool createSearchFilter SearchFilter_test application --description "This is a test filter" --searchQuery "applicationName equals App1"