Hi Oliver,
I’m sorry I missed your followup earlier!
For this case the best solution would be to create a new calculated JavaScript custom field that would return one for each issue that has caused regression. Here are the advanced settings that would do that (please check the link name)
[jira.customfield_hascausedregression]
name = "Has caused regression and is"
data_type = "integer"
measure = true
javascript_code = '''
var issuelinks = new Array();
if ( issue.fields.issuelinks ) {
var links = issue.fields.issuelinks;
for (var i = 0; i < links.length; i++) {
var link = links[i];
if (link.inwardIssue) {
if( link.type.inward == "regression caused by") {
issue.fields.customfield_hascausedregression = 1;
break;
}
}
}
}
'''
Further, you can import “Has caused regression and is” custom field as a measure and use custom measure Has caused regression and is resolved together with Assignee and Time dimensions to see the count of issues that have Regression caused by link and are resolved.
Lauma / support@eazybi.com