Syntax
shareFiltershareDashboard(filterIddashboardId, shareType, param1, param2)
...
Excerpt |
---|
Changes the ownership of an existing filterdashboard. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
filterIddashboardId | number | Yes | The id of the filter dashboard to share |
shareType | string | Yes | Options are GLOBAL, GROUP, PROJECT, PROJECT_UNKOWN |
param1 | string | Yes | Name or ID of group or project that filter dashboard should be shared with |
param2 | string | Yes | Name of ID of project role when sharing with project |
...
boolean
Returns true if the filter dashboard was successfully shared.
Example
Code Block |
---|
boolean success = shareFiltershareDashboard(1000, "PROJECT", "TP", 10200) |
...