Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

changeDashboardOwnerchangeFilterOwner(oldOwnerName, newOwnerName, dashboardName, transferFiltersfilterName)

Description

Excerpt

Changes the ownership of an existing dashboardfilter.

Parameters

Parameter name

Type

Required

Description

oldOwnerName

string

Yes

The username of the current/old owner of the dashboardfilter

newOwnerName
stringYesAn username the new owner of the dashboardfilter
dashboardNamefilterId
stringYesThe dashboard nametransferFiltersbooleanYesIf true, all filters used by the dashboard will get transferred to the new dashboard ownerid of the filter to transfer

Return type

boolean

Returns true if the ownership was successfully changed.

...

Code Block
boolean success = changeDashboardOwnerchangeFilterOwner("jdoe", "admin", "Project status board", true10200);


See also

Filter by label (Content by label)
showLabelsfalse
max5
showSpacefalse
cqllabel = "board_routine"