Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=issueTypeIdsForProject+-+804326925
widthauto

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

Syntax

issueTypeIdsForProject(projectKey)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Retrieves the issue types for the project with the given key.

Retrieves the issue type ids for the project with the given key. Returns an array of integers

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

projectKey

string

Yes

Project key

Return Type

int[]

The return value is a array containing all the issue type ids available for the given project.

Example

Code Block
languagejs
return issueTypeIdsForProject("TST");

Result: 10001|10002|10010

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "project_routine" and space = currentSpace ( )
labelsarray_routines

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