Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

issueFunction in issuesInEpics to list more than 1 level

Zoltán Somodi July 2, 2024

Hi,

 

I have the situation where I have EPIC's, Features and Stories. The Stories are linked to Features as child-parent (Story has its parent link to the corresponding Feature). The Features has Epic link to the epic.

What I want to do is to list all Feature and Story under the epic on a KanBan board.

Till now we used the structure without Feature layer: Stories were linket directly to the Epics and the Kanban board had the following filter:

 

issueFunction in issuesInEpics("filter='Cable active business epic'") OR filter = "Cable active business epic" ORDER BY Rank ASC

The "Cable active business epic" was a filter that excluding the Epics that are in "Done", "Hold", "On market" etc phases.

I created Features and started to delet the epic links from the Stories (and link them to the Features as child - parent).

But in this scenario only the Features are visible on the KanBan board, and the Stories below are not.

How could I resolve this issue?

 

Thanks in advance!

1 answer

0 votes
Laurie Sciutti
Community Champion
July 2, 2024

Hello @Zoltán Somodi and welcome to the Community!  Do you use ScriptRunner?  If so, use the portfolioChildrenOf(Subquery) JQL function.  Ref:  https://docs.adaptavist.com/sr4js/latest/features/jql-functions/included-jql-functions/portfolio#portfoliochildrenof 

Zoltán Somodi July 3, 2024

Thanks for your answer! I did not know if we use ScriptRunner, I will ask an admin but I see that, the Jira knows the portfolioChildrenOf and offer it when I start typing. Also it is not running on error due to unknown script but rather my subquery, filtering is not ok.

So probably it will work but I cannot parameter it correctly.

At the moment I am using this:

issueFunction in issuesInEpics("filter='Cable active business epic'") OR filter = "Cable active business epic" ORDER BY Rank ASC

And first tried this:

issueFunction in portfolioChildrenOf("filter='Cable active business epic'")

But simply not finding anything. No error message.

Zoltán Somodi July 3, 2024

I tried this as well:

issueFunction in portfolioChildrenOf("filter='Cable active business epic'") OR filter = "Cable active business epic" ORDER BY Rank ASC

It at least resulted something without error. But list only the epics so nothing from below the epics.

Zoltán Somodi July 3, 2024

In the link you copied I read the following regarding portfolioChildrenOf:

This function does not bridge the gap from Epic to Story, 

Suggest an answer

Log in or Sign up to answer