The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
...
applyColStyleToCell | true |
---|---|
heading | 0 |
columnTypes | s,s,s,s |
multiple | false |
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
enableSorting | false |
...
Syntax
...
getPortalForProject(projectKey)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
Retrieves a portal ID by searching for the projectKey. The routine will return a null if the portal is not found. |
Retrieves a portal ID by searching for the projectKey. The routine will return a null if the portal is not found.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
projectKey
...
String
...
Yes
...
The key of the selected project.
Return Type
Number
Example
Code Block |
---|
number portalId = getPortalForProject("PROJECT");
print("Return " + portalId); |
Print: Return 10
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.