Hi,
I noticed that Open issues returned the issues that have any resolution different than Resolved as Cancelled but this is not accurate. How to fix this ?
Thanks
Hi,
I noticed that Open issues returned the issues that have any resolution different than Resolved as Cancelled but this is not accurate. How to fix this ?
Thanks
The predefined measure âOpen issuesâ returns issues that do not have a resolution date in Jira.
Please check if your current workflow sets resolution date for other resolutions and Canceled status,
If not, this is the reason why they appear as âopen issuesâ.
Another solution besides changing workflow you might consider is defining all your resolved/closed statuses as âclosed statusesâ in eazyBI import options.
https://docs.eazybi.com/eazybi/data-import/data-from-jira/issues-closed-measure
And then create a new user-defined calculated measure ânot closed issuesâ that would look at closed statuses (to count not closed issues) and wonât care about resolution dates.
Try this formula once you imported all your closed statuses as âclosedâ
CASE WHEN [Issue].CurrentMember.Level.Name <> 'Issue' THEN
Cache(
NonZero(Sum(PreviousPeriods([Time].CurrentHierarchyMember),
Cache([Measures].[Issues created]
- [Measures].[Issues closed])
))
+ [Measures].[Issues created]
- [Measures].[Issues closed]
)
WHEN [Time].CurrentHierarchyMember IS [Time].CurrentHierarchy.DefaultMember
THEN NonZero([Measures].[Issues due])
ELSE
-- optimized formula for drill through Issue
NonZero(IIF(
DateBeforePeriodEnd(
[Issue].CurrentMember.get('Created at'),
[Time].CurrentHierarchyMember) AND
NOT DateBeforePeriodEnd(
[Issue].CurrentMember.get('Closed at'),
[Time].CurrentHierarchyMember),
([Time].CurrentHierarchy.DefaultMember,
[Measures].[Issues created]),
0
))
END
It would count all issues that are not in closed statuses.
But the second approach wonât work with resolutions, just with closed statuses.
Martins / eazyBI support
Thank you so much for your response!
Hi @martins.vanags,
I checked some tickets⊠they have a resolution date but still showing in Open Issues. Any reason why this is happening?
Thanks
Sally
There could be few reasons why this happens.
Martins / eazyBI team
Hi @martins.vanags,
I have reviewed the measure, but I wonder if there might be an issue with it. When examining the issue level, you used the âclosed atâ property, but this only provides the last date when the issue transitioned to close.
For example, if an issue was closed in 2023 and then reopened in 2024, it would be counted as an open issue for 2023, even though it was closed during that period.
Hi @Amit_Shil
You are right about this calculation and behavior.
In that case, you need to use a different formula to count âIssues historyâ with âTransition Statusâ aggregates.
Try this formula instead of âopen issuesâ
[Measures].[Issues history]
-
(
[Measures].[Issues history],
[Transition Status].[Done]
)
Martins / eazyBI