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=getCustomField+-+15488079
widthauto

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

Syntax

getCustomField(customfieldId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Gets all information about the custom field. Routine returns a JCustomField structure type.

Gets all information about the custom field. Routine returns a JCustomField structure type.

Parameters

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

Parameter name

Type

Required

Description

customfieldId

...

string

Yes

...

Id of the custom field to retrieve information for.

Return

...

Type

JCustomField

Example

Code Block
JCustomField field = getCustomField("customfield_12345");

runnerLog(field.id);
runnerLog(field.name);
runnerLog(field.description);
runnerLog(field.type);

See

...

also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "

...

customfield_

...

routine" and space = currentSpace ( )
labelsarray_routines