Versions Compared

Key

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

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
stringYesOptions are GLOBAL, GROUP, PROJECT, PROJECT_UNKOWN
param1stringYesName or ID of group or project that filter dashboard should be shared with
param2stringYesName 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)

...