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
createfilter(filterName, filterDescription, filterQuery, ownerName)
Description
Excerpt |
---|
Creates a dashboard filter with name, owner and descriptiondescription, search query, and owner. |
Parameters
Parameter name | Type | Required | Description | |
---|---|---|---|---|
dashboardNamefilterName | string | Yes | The dashboard filter name | owner|
filterDescription | string | No | The filter description | |
filterQuery | string | Yes | An username or key of the dashboard owner | descriptionThe JQL search string used by the filter |
ownerName | string | NoYes | The dashboard descriptionusername or of the filter owner |
Return type
number
Returns the id of the created dashboardfilter.
Example
Code Block |
---|
number dashboardIdfilterId = createDashboardcreatefilter("dashboardFilter for Agile project", "Filter for Agile project", "project = \"Agile Project\" AND statusCategory not in (Done)", "admin"); |
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|