changeDashboardOwner

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

changeDashboardOwner(oldOwnerName, newOwnerName, dashboardName, transferFilters)

Description

Changes the ownership of an existing dashboard.

Parameters

Parameter name

Type

Required

Description

oldOwnerName

string

Yes

The username of the current/old owner of the dashboard

newOwnerName
stringYesAn username the new owner of the dashboard
dashboardName
stringYesThe dashboard name
transferFiltersbooleanYesIf true, all filters used by the dashboard will get transferred to the new dashboard owner

Return type

boolean

Returns true if the ownership was successfully changed.

Example

boolean success = changeDashboardOwner("jdoe", "admin", "Project status board", true);


See also