Current assignee
eazyBI for Jira
Calculated field to return the current assignee 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 assignee. In contrast, the default "Assignee" dimension would split historical and sprint scope measures by historical assignees.
Account-specific calculated field
Account-specific calculated fields are defined in Source Data → Import options.
Settings for the new field
Internal name | cf_assignee |
---|---|
Display name | Current assignee |
Data type | string |
Dimension | ✓ |
Additional advanced settings |
Custom JavaScript code:
if(issue.fields.assignee){ return issue.fields.assignee.displayName; }
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_curassignee] name = "Current Assignee" data_type = "string" dimension = true javascript_code = ''' // Insert here the Custom JavaScript code '''