Agile board - filtering by component

Victoria Luskin
Contributor
October 28, 2024

Hi,

I am requested to create Agile Board, when filtering by components should relate only to the items themselves (Stories, CCRs …) regardless of the component of their epic. 

Using the query below, I can see only the Stories and CCRs with component X when the epic has the same component X. 

project = ABC AND component = X

But I need to see also items with component X, when their epics have different component (!=X )

Thanks,

 

2 answers

1 accepted

1 vote
Answer accepted
Laura Pellizzari
Contributor
October 28, 2024

Hi 

I would use the following

(project = ABC AND (component = X )) or (issuetype = Epic and component = X)

In alternative if you have scriptrunner enhanced search you can build a query by requesting the child issues of Epics with component = X plus all the issues with component = x

(issueFunction in childrenOf("issuetype = Epic and component in ("x")")) or (project = ABC and component = x)

In the board use the swimlanes (group) by Epic to be able to see the Epic the issues owned to, even if they do not pop up in the query

Finally , the most complete one,  to see also the Epics of issues with component = x, even if they do not have that component set:

(issueFunction in childrenOf("issuetype = Epic and component in ("x")")) or (project = ABC and component = x) or (issueFunction in epicsOf("project =ABC and component = x"))

Regards

Laura

Victoria Luskin
Contributor
October 29, 2024

@Laura Pellizzari thanks a lot! It works.

Like Laura Pellizzari likes this
0 votes
YY Brother
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 28, 2024

Hi @Victoria Luskin 

I think you could try

project = ABC AND (component = X OR issuetype = Epic)

Hope it helps,

Thanks,

YY Bro

Victoria Luskin
Contributor
October 28, 2024

@YY Brother it brings all epics, even they dont have Stories & CCRs with component X

Victoria Luskin
Contributor
October 28, 2024

Clarification: using the query project = ABC AND component = X I can see all items with component X, but if their Epic has different component, the Epic is not presented in Epic Column.

Suggest an answer

Log in or Sign up to answer