Info |
---|
|
- This routine is available starting with katl-commons 1.0.
- This routine is available for Jira server and cloud deployment options.
|
Syntax
selectIssues(jql [, overrideSecurity])
Description
...
Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=selectIssues+-+15487412 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | selectIssues(jql) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns an array with the keys of the issues that matched the search query. |
Returns an array with the keys of the issues that matched the search query.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
search query | |
...
String | Yes | Search query containing the details of the returned issues. |
|
...
Set to true to bypass any issue security.
Info |
---|
|
This param is available starting with version 4.8.0.10 of Sil Engine . |
Return type
...
Return Type
String []
Returns a list of of issue keys that match the specified jql.
...
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')";
selectIssues(jql);
|
Result: An array of strings containing the keys of all the issues that are in the PRJ project PRJ, with the reporter included in Employees group and the status being one of the above.
Notes
Note |
---|
For the search query, please use apostrophe(') instead of quotes(") and double backslashes(\ |
...
...
instead of a single backslash for escaping characters. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jiraissue_search_routine" and space = currentSpace ( ) |
---|
labels | jiraarray_search_routineroutines |
---|
|