Hi guys,
I have a common field between parent and sub tasks called Risk Rating, and I was wondering if it was possible to compare these fields with Scriptrunner. I want to find all issues where the parent tickets sub task has a Risk Rating value higher than the Parent issues Risk Rating. I've looked into using expression but I'm not sure this can be used with issueFunction sub task functionality, such as subTasksOf. Below is pseudocode for what I'm trying to achieve:
issueFunction in expression("", "subtask.RiskRating > parent.RiskRating")
Any help would be great.
Thanks!