All eazyBI for Jira eazyBI for Confluence Private eazyBI

Age since updated interval

The "Age since updated interval" dimension will show the age intervals (from the last update date until now) for unresolved issues.

Account-specific calculated field

Account specific calculated fields are defined in Source Data → Import options.

Settings for the new field

Internal name

updatedage

Display nameAge since updated interval
Data type

integer 

Dimension

Additional advanced settings
time_unit = "seconds"
time_interval = "age"
intervals = "/10"
interval_unit = "days"

Custom JavaScript code:

if (!issue.fields.resolutiondate) {
  return Math.floor(Date.parse(issue.fields.updated) / 1000);
}

Global calculated field

Global calculated fields are defined in eazyBI advanced settings.

Here are the settings for the new field definitions. You should insert the JavaScript (the code given above) below the line // Insert here the Custom JavaScript codeKeep the opening and closing quotation marks. ''', do not delete them.

[jira.customfield_updatedage]
name = "Age since updated interval"
data_type = "integer"
dimension = true
javascript_code = '''
  // Insert here the Custom JavaScript code
'''
time_unit = "seconds"
time_interval = "age"
intervals = "/10"
interval_unit = "days"