getPortalForProject (Power Scripts)
The use of this function requires the Power Scripts for Jira add-on be installed and licensed.
Description
Retrieves a portal ID by searching for the projectKey. The function 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
Peacock