Calculated Measure shows issues that have moved issue types

Hi,

“Issue Type” dimension, when used with transition-related measures, would not just return issues based on current issue type. It behaves based on historical changes when used together with transition-related measures.

For your use-case, you could use eazyBI advanced settings (code below) to define new Javascript calculated custom field which you could import (select via import settings) as a separate dimension and then additionally add to page filters of your report to filter issues that are currently in “project” issue type.

[jira.customfield_curisstype]
name = "Current Issue Type"
data_type = "string"
dimension = true
javascript_code = '''
if (issue.fields.issuetype) {
    issue.fields.customfield_curisstype = issue.fields.issuetype.name;
}
'''

Martins / eazyBI support

1 Like