isCustomFieldInContext
Description
Checks if a custom field is in the context of a specified issue type for a project.
Parameters
Return Type
Boolean
Returns "true" if the custom field is in context and "false" otherwise.
Example
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";
}