How do I get the recursive children and grandchildren from an initiative? I have several Sagas and each saga has several initiatives. I only need to get the entire list of issues linked to one of the initiatives to show in a portfolio plan.
I have tried issueFunction in linkedIssuesOfRecursive("Key = APB-2")
and also issueFunction in linkedIssuesOfAllRecursive("Key = APB-2")
Neither gives me the right results. It pulls issues linked to other initiatives like APB-12 or APB-3. Note that both APB-12 and APB-3 are linked to the same parent saga as APB-2.
All I am trying to get is the epics, stories, tasks and subtasks from the APB-2, so I can display the tree in the portfolio plan.