The component is a multi-selection field in Jira, and each issue may have more than one.
To get related components to the issue, you may use function Generate() and iterate through all components which are related to issue. A formula may look like this:
-- iterate through all components
[Measures].[Issues created] > 0),
-- retun a listo of issue related components separated by comma
When Component is imported as issue property, you will find it in Measures -> Issue properties -> Issue Component.
Your code worked perfectly for me to bring the components as a property of an issue. Is it possible to get the components as a dimension? We use the same components across all of our projects and I’d like to summarize data by those components.
Yes, Component is a separate hierarchy level in the Project dimension. If you do not have similar components across projects, then this solution works perfectly.