Versions Compared

Key

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

...

titleAvailability

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
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=allProjects+-+15485511
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

allProjects()

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
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)
showLabelsfalse
max15025
showSpacefalse
cqllabel = "jira_project_routine" and space = currentSpace ( )
labelsjira_project_routine

 

array_routines