Forums

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

How to filter structure items on the second level of hierarchy?

Ľuboš Laslop January 20, 2025

 

I have a structure with the following issue types at each level:
1. Initiative
2. -> Portfolio Epic
3. -> -> Capability
4. -> -> -> Feature
5. -> -> -> -> Story

All issue types are linked by a parent - child relationship. The structure is defined as follows:
Extend: Add sub-tasks
Extend: Add issues linked by Hierarchy: parent is parent of children
Insert issues: project = INIT AND type = Initiative AND (resolution is Empty or resolved >= -365d)

I don't know how to filter out only those Portfolio Epics that are resolved more than a year ago. Can anyone advise me how to do that?

1 answer

0 votes
Stepan Kholodov _Tempo_
Community Champion
January 20, 2025

Hello @Ľuboš Laslop 

you can remove Epics by adding a JQL-based Filter generator with a query like this: resolved >= -365d and setting the Filter on level setting to level 2. As a result, all non-matching Epics will be removed, including all of their direct sub-issues in the structure.

Please note - before adding a generator, you need to place the focus in the right place which is the name of the structure right below the Summary column's name.

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)

Atlass Monster
Banned
January 20, 2025

I don't think the fella was asking for a third party here... 

Ľuboš Laslop January 20, 2025

Hello Stepan,

thanks for the suggestion. I implemented it and it works differently than I need. The filter built like this filters all issue types. However, I only need to filter Epics. This means that if an epic is not yet closed, but contains capabilities and features that have been closed for more than 1 year, I need to have even these issues in the structure.
Is it possible to separate the filtering only for epics?

Thank you in advance

Ľuboš

Stepan Kholodov _Tempo_
Community Champion
January 21, 2025

@Atlass Monster Thanks for your input, but this question is about the third-party app Structure.

@Ľuboš Laslop If you're looking for a way to remove the Epics but keep their direct sub-issues, then it's not possible - Structure can't break the existing hierarchy. Sub-issues can't be displayed without their parents. So, you can either remove the Epics along with everything underneath them, or keep the matching sub-issues along with their parent issues.

Please reach out to our support portal if you need more help on the matter; we'll look into your setup in more detail. Perhaps, there is a different way of building your structure that can be a better fit for you.

Best regards,
Stepan


Ľuboš Laslop January 21, 2025

No no no, I don't want to show sub-issues without a parent. I need to show only valid Epics (or closed no earlier than a year ago) with all sub-issues.

Filter you proposed removes not only old Epics, but even the old Cababilities, Features etc. on "running" Epics. If the Epic is not closed yet, I need to see all sub-issues (including the old ones).
Could you please recommend a solution for that?

Thank you

Stepan Kholodov _Tempo_
Community Champion
January 21, 2025

If setting the Filter on level setting on level 2 doesn't give you the results you need, please submit a support request at our portal. We'll need to better understand your structure's configuration.

Best regards,
Stepan

Ľuboš Laslop January 21, 2025

OK, thank you

Like Stepan Kholodov _Tempo_ likes this

Suggest an answer

Log in or Sign up to answer