import com.onresolve.jira.groovy.user.FieldBehaviours import com.atlassian.jira.issue.priority.Priority import groovy.transform.BaseScript @BaseScript FieldBehaviours fieldBehaviours if ((getFieldById(fieldChanged).value as Option)?.name == '选项一') { ## 获得选项的值 说明 ,或者使用ID也可以 getFieldById('customfield_123456') ## 获得指定字段,设置其字泰财的label说明 .setHelpText('选项一提示....') } else if ((getFieldById(fieldChanged).value as Option)?.name == '选项二') { getFieldById('customfield_123456') .setHelpText('选项二提示....') }
Overview
Content Tools
Activity