Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

owner

Parameter name

Type

Required

Description

dashboardNamefilterName

string

Yes

The dashboard filter name

filterDescription stringNoThe filter description
filterQuerystringYesAn username or key of the dashboard ownerdescriptionThe JQL search string used by the filter
ownerNamestringNoYesThe 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)
showLabelsfalse
max5
showSpacefalse
cqllabel = "board_routine"