Epics and Children with Custom Field for Epic

Hi @Jerome_Arpin,

By default, eazyBI represents custom field values assigned to each issue directly. However, it is quite common that some fields are applicable only at the Epic level. And you may build reports for analyzing epic children issues based on the Epic fields.

  1. For some standard fields, like Status, Fix Version, Label of an epic, you may enable link field dimension. There is a list of standard fields and how to do this: Issue link field dimensions

  2. For single-select custom fields of epic, you may inherit those values also to epic child issues.
    In advanced settings add parameter update_from_issue_key = "epic_key". Advanced settings for custom fields

  3. For other custom fields, you may use JavaScript calculated custom field to look up custom field values in epic and then inherit them to epic child issues: JavaScript calculated custom fields.
    The code to define custom field in advanced settings might look like this where NNNNN is custom field ID in Jira:

    [jira.customfield_NNNNN_epic]
    name = "Epic Custom field"
    dimension = true
    data_type = "string"
    update_from_issue_key = "epic_key"
    javascript_code='''
    if (issue.fields.customfield_NNNNN) {
      issue.fields.customfield_NNNNN_epic=issue.fields.customfield_NNNNN;
    }
    '''
    

Please see also this community post on a similar use case and few examples:

Best,
Zane / support@eazyBI.com

1 Like