createFilter

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

Creates a filter with name, description, search query, and owner.

Parameters

Parameter name

Type

Required

Description

filterName

string

Yes

The filter name

filterDescription stringNoThe filter description
filterQuerystringYesThe JQL search string used by the filter
ownerNamestringYesThe 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