Current priority
eazyBI for Jira
Calculated field to return the current priority 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 priority. In contrast, the default "Priority" dimension would split historical measures by historical priorities.
Account-specific calculated field
Account-specific calculated fields are defined in Source Data → Import options.
Settings for the new field
Internal name | cf_curprio |
---|---|
Display name | Current Priority |
Data type | string |
Dimension | ✓ |
Additional advanced settings |
Custom JavaScript code:
return issue.fields.priority.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_curprio] name = "Current Priority" data_type = "string" dimension = true javascript_code = ''' // Insert here the Custom JavaScript code '''