Hello!
I have the following hierarchy issues in Structure
- TST-1 (type1)
- TST-2 (type2)
- TST-3 (type3)
- TST-4 (type3)
- TST-5 (type3)
And I have such a need: if the task is of type type3, then I need to get all the tasks from the current level into an array. I tried to do something like this
WITH currentLevelTasks = ARRAY#ancestors#fromLevel=-1{key}:But this is not what I need..
Case: Processing task TST-4
Expected result: Array "TST-3, TST-4, TST-5"
Result: Array "TST-2, TST-4"