Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admUpdateFilter(JFilter)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

The filter can be partially updated by specifying only the attribute needed to be updated in the JFilter structure.

The filter can be partially updated by specifying only the attribute needed to be updated in the JFilter structure.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

filterName

String

Yes

The name of the filter.

Return Type

Boolean (true/false)

Returns true if the filter was updated. False otherwise.

...

Code Block
JFilter filter;
filter.id=10405;
filter.name = "Updatedname";
filter.description = "New Description";
filter.query = "project=TEST AND assignee=admin";
filter.owner = "admin";
boolean a = admUpdateFilter(filter);
runnerLog("Filter updated? "+ a + "\n" +
		  "The update filter is: "+ admGetFilterById("10405"));
Note

The filter can be partially updated by specifying only the attribute needed to be updated in the JFilter structure.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "dashboard_admin_routine" and space = currentSpace ( )
labelsarray_routines