...
This routine is available starting with katl-commons 2.0.2 for Jira 5.x or katl-commons 1.1.9 for Jira 4.3.x/4.4.x.
...
Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=allProjects+-+15485511 |
---|
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 | allProjects() | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns a string array with the keys of all the projects in Jira. |
Parameters
None
Return type
string Returns a string array with the keys of all the projects in Jira.
Return Type
String []
Returns a list of keys for all the projects in Jira.
Example
Code Block |
---|
string [] projects = allProjects();
print(projects);
|
Results: prints a list with all the project keys in Jira. If we have 2 projects PRJ and TST, the logs will show PRJ|TST
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 15025 |
---|
showSpace | false |
---|
cql | label = "jira_project_routine" and space = currentSpace ( ) |
---|
labels | jira_project_routine |
---|
|