Hi,
I'd like to create a SearchIssues query for multiple issue creation and haven't had any luck.
{{("project = XYZ and issuetype = 'Test Run' and cf[10500] = " + issue.key + " and subTasksCount > 0 and status != Obsolete and 'Test Run Type[Select List (cascading)]' = 'Design Validation'") | searchIssues(maxResults = 1) | field( "key") | issue | subtasks( "*all" )}}
I'm trying to get the first issue from the query, then return its subtasks so i can iterate through those. I get the error 'issue only available on an object'. The query works in isolation without the 'issue and subtasks' part. Any ideas?