getPortalForProject (Power Scripts)

The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.

Description

Retrieves a portal ID by searching for the projectKey. The routine will return a null if the portal is not found.

Parameters

Return Type

Number

Example

number portalId = getPortalForProject("PROJECT"); print("Return " + portalId);

Print: Return 10

See also