getPortalForProject
The use of this function requires the Power Scripts for Jira add-on be installed and licensed.
Syntax | getPortalForProject(projectKey) | Package |
|
Alias |
| Pkg Usage |
|
Description
Retrieves a portal ID by searching for the projectKey. The function will return a null if the portal is not found.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
projectKey | String | Yes | The key of the selected project. |
Return Type
Number
Example
number portalId = getPortalForProject("PROJECT");
print("Return " + portalId);Print: Return 10
See also
Peacock
Need support? Create a request with our support team.
Copyright © 2005 - 2026 Appfire | All rights reserved.