Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

...

Syntax

...

getPortalForProject(projectKey)

...

Package

...

Alias

...

Pkg Usage

Description

Excerpt
hiddentrue
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

...

applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

...

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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jsd_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.