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)
Why not use Jira all by itself?
LookupIssues using JQL
'key' = {{issue.key}} and issuetype in ( "type3")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.