Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getCustomField+-+15488079 |
---|
width | auto |
---|
|
Table plus |
---|
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 | getCustomField(customfieldId) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "customfield_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|