ScriptRunner For Jira使用
Behavior
获取issue object
方法一:
Object id = getFieldById("id") MutableIssue missue=ComponentManager.getIssueManager().getIssueObject(Long.parseLong(id.value))
方法二:
getUnderlyingIssue()
清空下拉列表选项值:
field.setFormValue(-1)
获取issue object
方法一:
Object id = getFieldById("id") MutableIssue missue=ComponentManager.getIssueManager().getIssueObject(Long.parseLong(id.value))
方法二:
getUnderlyingIssue()
清空下拉列表选项值:
field.setFormValue(-1)