/
shareDashboard
shareDashboard
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !
Syntax
shareDashboard(dashboardId, shareType, param1, param2)
Description
Changes the ownership of an existing dashboard.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
dashboardId | number | Yes | The id of the dashboard to share |
shareType | string | Yes | Options are GLOBAL, GROUP, PROJECT, PROJECT_UNKOWN |
param1 | string | Yes | Name or ID of group or project that dashboard should be shared with |
param2 | string | Yes | Name of ID of project role when sharing with project |
Return type
boolean
Returns true if the dashboard was successfully shared.
Example
boolean success = shareDashboard(1000, "PROJECT", "TP", 10200)
See also
, multiple selections available,
Related content
shareDashboard
shareDashboard
More like this
createDashboard
createDashboard
More like this
admGetDashboardsForUser
admGetDashboardsForUser
More like this
Shared ownership for dashboards
Shared ownership for dashboards
More like this
Learn about Public or External Sharing
Learn about Public or External Sharing
More like this
Shared ownership for dashboards/filters add-on
Shared ownership for dashboards/filters add-on
More like this