Current issue type
eazyBI for Jira
Calculated field to return the current type of an issue. This field can be imported as a separate dimension.
This dimension can be useful for historical measures and showing them against the current issue type. In contrast, the default "Issue type" dimension would split historical measures by historical issue types.
Account-specific calculated field
Account-specific calculated fields are defined in Source Data → Import options.
Settings for the new field
Internal name | cf_curtype |
---|---|
Display name | Current Type |
Data type | string |
Dimension | ✓ |
Additional advanced settings |
Custom JavaScript code:
return issue.fields.issuetype.name;
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 code
. Keep the opening and closing quotation marks. '''
, do not delete them.
[jira.customfield_cf_curtype] name = "Current Type" data_type = "string" dimension = true javascript_code = ''' // Insert here the Custom JavaScript code '''