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?
@Ahmad Sidawi can you try the following and see if it works:
{{("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")|string|issue|subtasks}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.