Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getIssueTypesInCustomFieldContext+-+1343556240 |
---|
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 | getIssueTypesInCustomFieldContext(customFieldId, context) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the list of issue types names for a certain custom field context. 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 for a certain custom field context
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
customfieldId | String | Yes | The id of the custom field (format: customfield_xxxxx) | context | String | Yes | The id or the name of the custom field context | |
Return Type
String []
Examples
Code Block |
---|
|
runnerLog(getIssueTypesInCustomFieldContext("customfield_10041", "10169")); |
Bug|Task|Epic
Code Block |
---|
|
//global, should return []
return getIssueTypesInCustomFieldContext("customfield_10040", "10167"); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "cf_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|