Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admCreateFilter(name, jql, owner[,description])

Package

adm

Alias

Pkg Usage

[use adm; createFilter(name, jql, owner[,description]);]

Description

Excerpt
hiddentrue
Creates a filter.

Creates a filter. Returns the JFilter structure. Name should be unique in your Jira

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

name

string

Yes

The name, must be unique within your Jira.

jql

string

Yes

The jql you want to set up for this filter.

owner

string

Yes

The owner of the filter. If empty it is assumed to be the current user.

owner

string

No

A description.

Return Type

JFilter

Example

Code Block
languagejs
JFilter f = admCreateFilter("pcfilter", "project = TEST and issueType = Bug", currentUser(), "This is programatically created");

Returns the JFilter object, if correctly created.

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "filter_routine" and space = currentSpace ( )
labelsarray_routines