I’m trying to make a date comparison table between months, basically I have to compare the DAY x the MES:
On the 1st of the month 01 has a metric = 5
On the 1st of the month 02 there is another Metric = 7
For the management to make the comparison.
But keep in mind that with this approach you can get only a particular event - in this case when the issue was created and it won’t be linked to other measures in your account.
To see data for the previous month you can also explore standard calculations → time agoCreate reports
It helped me a lot, now I’m just trying to change the metric from created to resolved, but it’s giving an error, thank you very much anyway.
Here’s the model I’m using for resolved:
[jira.customfield_day_of_month_resolved]
name = “Day of Month resolved”
data_type = “integer”
dimension = true
javascript_code = ‘’’
var Daysresolved = new Date(Date.parse(issue.fields.resolved)).getDate();
issue.fields.customfield_day_of_month_resolved = Daysresolved;’’’