Skip to end of banner
Go to start of banner

allProjects

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Availability

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.

This routine is available for Jira server and cloud deployment options.

Syntax

allProjects()

Description

Returns a string array with the keys of all the projects in Jira.

Parameters

None

Return type

string []

Returns a list of keys for all the projects in Jira.

Example

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

 

 

  • No labels