I have an Issue Picker custom field.
As part of a Post Function scriptrunner Groovy script i'm wanting to check if any of the issues within the Issue Picker have a specific field value, matching the same field from the parent issue.
The field is an Insight / Asset object field and i only need to return a true or false to determine if other actions are required.
My first thought is to dynamically create a JQL, validate and return to check if it has any values.
Key = ${ParentIssueKey} and issueFunction in issuePickerField('Problem Fixes', 'Source = ${ParentIssueSource}')