Info |
---|
|
This routine is available starting with SIL Engineā¢ 2.5.10/2.6.2. 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 | isCustomFieldInContext(customFieldAsString, projectKey, issueTypeName) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Checks if a custom field is in the context of a specified issue type for a project. |
Checks if a custom field is in the context of a specified issue type for a project.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
customFieldAsString | String | Yes | Name, id (as "customfield_xxxxx") or alias of the custom field. | projectKey | String | Yes | Project key to check. | issuetypeName | String | Yes | Name of | |
...
Description
Excerpt |
---|
Checks if a custom field is in context of a specified for a project |
Return
...
Type
booleanBoolean
Returns "true" if the custom field is in context and "false" otherwise.
...
Code Block |
---|
if(isCustomFieldInContext("My Custom Field", "PRJ", "Bug")){
#{My Custom Field} = "I'm here";
}
if(isCustomFieldInContext("customfield_10000", "PRJ", "Improvement")){
customfield_10000 = "I'm here";
}
if(isCustomFieldInContext("aliasOfMyCustomField", "PRJ", "Bug")){
aliasOfMyCustomField = "I'm here";
} |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label in ( "jira_field= "customfield_routine" , "jira_context_routine" and space = currentSpace ( ) |
---|
labels | jira_field_routine,jira_context_routinearray_routines |
---|
|