【发布时间】:2015-03-20 16:09:54
【问题描述】:
我正在为 Jira 构建 Velocity 脚本,但我需要一些帮助。
我在 Parent Jira 票证中有一些子任务。我想在该子任务中获取某些自定义字段的值。
这是我尝试过的:
#foreach($subTask in $issue.getSubTaskObjects())
$cf = $getCustomFieldObject(customfield_11758)
$subTask.getCustomFieldValue($cf)
#end
但这似乎不起作用。我的目标是让 customfield_11758(在子任务中)在脚本中打印出它的值。
谁能帮帮我?
【问题讨论】: