Skip to end of banner
Go to start of banner

isCustomFieldInContext

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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";
}

See also

  • No labels