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=getIssueTypesInTheSameContext+-+1343619406
widthauto

...

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

Syntax

issueKey, customFieldId

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns the list of issue type names that are included in the same context as the given issue for a certain custom field. Note that if the routine does not return anything then all the issue types are set. You can use the allProjects and getissueTypesForProject routine to determine the full list of issue types.",

Returns the list of issue types that are included in the same context as the given issue for a certain custom field

Parameters

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

Parameter name

Type

Required

Description

issueKey

String

Yes

The key of the issue

customfieldId

String

Yes

The id of the custom field (format: customfield_xxxxx)

Return Type

String []

Examples

Code Block
languagejs
getIssueTypesInTheSameContext("ITSD-1", "customfield_10065")

Bug|Task|Epic

Code Block
languagejs
//global, should return []
 return getIssueTypesInTheSameContext("ITSD-1", "customfield_10040");

See also

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