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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, the other option would be to contact Rich Filters and request a feature request with them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.