Syntax
createDashboardcreatefilter(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 | |
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 = createDashboard("dashboardcreatefilter("Filter for Agile project", "Filter for Agile project", "project = \"Agile Project\" AND statusCategory not in (Done)", "admin"); |
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|