Hello,
I have my graph, that shows the evolution of hours for an Epic chosen:
As you can see in this image, the dimensions I have are
Okay. So the problem is that the Epics I can chose is the dropdown are too many.
I want to have only Epics that original estimated hours > 20.
I tried to put a JQL Query in Source Data:
project = myProject AND issuetype = Epic AND originalEstimate > 20 AND status not in (Abandoned, Done)
The filter work, but now the hours spent doesn't work anymore:
Can you help me, please ?
Furthermore, can I have a dropdown list that allows me to have a grouping of hours by tag, or label for exemple ?
--> Like the dropdown with Epics to chose, can I have a dropdown with Tags to chose, that shows the sum of Epics with this tag ?
Thank you :)
Emile
Hi,
In this case, you could try the following approach.
At first, you could define a new Javascript calculated cusotm field via eazyBI advanced settings using the following code:
[jira.customfield_epor20]
name = "Epic with more than 20 hours estimated"
data_type = "string"
javascript_code = '''
var chara = issue.fields.issuetype.name;
var charb = issue.fields.timeoriginalestimate;
if(charb > 20 && chara == "Epic")
{
issue.fields.customfield_epor20 = 1;
}
'''
Next, you could open eazyBI import settings and select to import your new custom field "Epic with more than 20 hours estimated" as property.
In the same step, you could ensure that "Epic Link" is imported both as dimension and property (I believe this part should be already covered in your account since you use Epics but anyway..)
Later you could create a new calculated member in "Epic Link" dimension using the following code:
Aggregate(
Filter(
[Epic Link].[Epic Link].Members,
not IsEmpty([Epic Link].CurrentMember.get('Epic with more than 20 hours estimated'))
)
)
Next, you could use "Epic Link" dimension (where you select your new calculated member) in your report pages as the filter and then "Issue Type" dimension is not needed anymore.
Without "Issue Type" dimension your report should execute faster.
Let me know if that can be an option for you.
Martins / eazyBI support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.