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"
Hello @Alex
You can do it with a formula like this:
if issuetype = "type3": parent{join#children{issuekey}}
The formula will return issuekeys of all siblings for each issue of type3.
I hope this helps. If you need further assistance or if you have other questions about Structure, please reach out to us directly at our support portal.
Best regards,
Stepan
Tempo (the Structure app vendor)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.