Back to  nodeHelper

Signature
 

HelpernodeHelper
Signature
getCustomFieldDefaultValue(String name, IHubIssueType type, IHubProject project)
Description

Returns the default value of the customfield

Introduced in0.9.1

Example use

 

issue.project   = nodeHelper.getProject("Staff")
issue.issueType = nodeHelper.getIssueType("Hobby")
 
if (replica.customKey.mood == null) {
   issue.customFields.mood.value = nodeHelper.getCustomFieldDefaultValue("mood", issue.issueType, issue.project)
} 

See Also

 

 

 


Back to  nodeHelper