Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8? Click here and leave these dusty old pages behind!
Syntax
createfilter(filterName, filterDescription, filterQuery, ownerName)
Description
Creates a filter with name, description, search query, and owner.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
filterName | string | Yes | The filter name |
filterDescription | string | No | The filter description |
filterQuery | string | Yes | The JQL search string used by the filter |
ownerName | string | Yes | The username or of the filter owner |
Return type
number
Returns the id of the created filter.
Example
number filterId = createfilter("Filter for Agile project", "Filter for Agile project", "project = \"Agile Project\" AND statusCategory not in (Done)", "admin");
See also