Reporter |
![]() |
---|---|
Created | Apr 30, 2013 2:35:33 PM |
Updated | May 6, 2013 3:20:28 PM |
STR:
Attach the workflow:
Add the subtask 'Fix versions' - '2' and '3'.
The result - the parent issue has '2', '3' but expected '1', '2','3'.
- create 2 issues
- make the first one the parent of the second one# create 3 versions, e.g. '1', '2', '3'
- set the parent 'Fix versions' to '1'
Attach the workflow:
rule Add the new subtask 'Fix versions' to the parent when subtask of.isNotEmpty && Fix versions.added.isNotEmpty { var parent = subtask of.first; for each version in Fix versions.added { message(version.name); parent.Fix versions.add(version); } }
Add the subtask 'Fix versions' - '2' and '3'.
The result - the parent issue has '2', '3' but expected '1', '2','3'.