Versions Compared

Key

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


This routine is available starting with katl-commons 2.5.15 / 2.6.7.

This routine is available for Jira server and cloud deployment options.
Info
titleAvailability
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

countIssues(jql

...

)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns the number of issues that matched the search query.

Returns the number of issues that matched the search query.

Parameters

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

Parameter name

Type

Required

Description

search query

...

String

Yes

Searches query containing the details of the returned issues.

...

...

Set to true to bypass any issue security.

Info
titleAvailability

This param is available starting with version 4.8.0.10 of Sil Engine .

Return type

...

Return Type

Number

Returns the number of of issue keys that match the specified jql.

Example

Example 1

Code Block
string jql;
jql = "project = PRJ AND reporter in membersOf('Employees') AND status in (Open, 'In Progress', Reopened, Resolved, 'On hold', Assigned, 'Internal QA', 'Results rejected', 'Tested and not delivered', 'Tested and delivred')";
countIssues(jql);

Result: The number of issues that are in the project PRJ, with the reporter included in Employees group and the status being one of the above.

...

Note

For the search query use apostrophe(') instead of quotes(") and double backslashes(\\)for escaping characters (instead of a single backslash).

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jiraissue_search_routine" and space = currentSpace ( )
labelsjiraarray_search_routineroutines