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 | string | Yes | An username the new owner of the dashboardfilter | ||||
dashboardNamefilterId | string | Yes | The dashboard name | transferFilters | boolean | Yes | If 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) | ||||||||
---|---|---|---|---|---|---|---|---|
|