The subtask creates based on the issue type selected....this works alone but when I add
def cf = customFieldManager.getCustomFieldObjects(issue).find {it.name == 'Department'}
issue.setCustomFieldValue(cf, "First Line")
in the Additional issue actions in the workflow editor
The subtask isn't created and obviously that custom field isnt updated.
Any ideas?
Thx in advance.
| |
The result evaluated to *assertion error*
assert cfValues['Department'].class == "Open".class
| | | | |
| Open | false class java.lang.String
| class com.atlassian.jira.issue.customfields.option.LazyLoadedOption
|