Syntax
...
Warning |
---|
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
admChangeFilterOwner(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.
Example
Code Block |
---|
boolean success = changeDashboardOwneradmChangeFilterOwner("jdoe", "admin", "Project status board", true10200); |
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|