Forums

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

Rich filter dashboard filter to show components of parent issues?

Heather Barcomb November 5, 2021

I have Jira project that has 2 issue types, Stories and Sub-tasks.  The stories have components listed within them, but the sub-tasks do not.  I have a rich filter dashboard that my team uses, and the issue i'm having is finding a way to make a filter for the sub-tasks that filters on the components of the parent stories.

I know I could make "issueFunction in subtasksOf("project=XYZ and Component=ABC")" type filters, but I what i need is a dropdown filter that:

1) lists all components in the project, even though those components aren't set on the issues in the base query

2) when a component is selected, shows the sub-tasks of any story using that component

3 answers

1 vote
Zane eazyBI Support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 8, 2021

Hi @Heather Barcomb

In eazyBI, you can create separate dimensions to represent the value of parent issue for subtasks, like "Parent Status", "Parent Fix version" and some others. You can find more details on this option and the list of supported Jira fields in the documentation: https://docs.eazybi.com/eazybi/data-import/data-from-jira/advanced-data-import-options/issue-link-field-dimensions.

The label field is a bit different. In the case of the Label field, you might try another approach and create a new dimension "Parent Labels" using a JavaScript calculated custom field.


1) In advanced settings, add code that would create a separate dimension "Parent Lables" and show label combinations of parent issues.

# Parent component
[jira.customfield_parentcomponents]
name = "Parent Components"
data_type = "string"
dimension = true
update_from_issue_key = "parent_issue_key"
javascript_code = '''
issue.fields.customfield_parentcomponents = issue.fields.components;
'''

2) In the import options, select the custom field "Parent Labels" for data import.

3) In the report and dashboard, add dimensions "Parent Labels" on pages to filter data by label combinations assigned to the parent issues.

For more details on JavaScript calculated custom fields, please read the documentation: https://docs.eazybi.com/eazybi/data-import/data-from-jira/jira-custom-fields/javascript-calculated-custom-fields.


Best,
Zane / support@eazyBI.com

0 votes
Heather Barcomb November 8, 2021

Thanks for the suggestions, but I don't have the access, authority, or budget to add another plug-in, so I was looking for an out-of-the-box solution.

Fabian Lim
Community Champion
November 8, 2021

Unfortunately, the other option would be to contact Rich Filters and request a feature request with them.  

0 votes
Fabian Lim
Community Champion
November 5, 2021

Hi @Heather Barcomb

Great question and we had similar requirements, but were not able to do it since rich filters does not let you pick from linked/parent issues fields to filter.

The only tool that I have been able to do this with is eazybi and @Zane eazyBI Support was my contact who helped us develop the report.

There could be other tools in the markerplace that you can look into as well.

Suggest an answer

Log in or Sign up to answer