I started with a simple goal: to show the user’s current tasks and the hierarchy (full chain) of parent items. To make it more visible for the user: how his tasks is related to the Project\Sprint goals. I wanted to create and save the filter and show it in a hierarchy view with the WBS-Gant plugin.
To make the filter I am Trying to use parentsOf from the ScriptRunner for Jira Cloud plugin.
issueFunction in parentsOf("ASSIGNEE = 62079a086ba61b006fb737c4 And issuetype != Epic")The plugin is installed and synchronized. The sub-query in parentsOf returns a list of items for the user. But the query with parentsOf return 0 items. No errors there.
For sure every task in the sub-query is part of some user story or epic. And some results must be there.
Maybe someone has the same experience and has a solution?