Hello,
I am trying to write a query to get all the Jira tickets in a first-level project (here PRJ1) that are linked to second-level projects tickets which (these last tickets) were last updated (with a status transition or a comment and so on) more than 3 months ago.
The query I have written so far is:
project = PRJ1 AND status = "Passed to Dev" AND issuetype in (Bug, Incident, Problem, Task) AND issueFunction in linkedIssuesOf("issueFunction in lastComment("before -3M")", "To fix") AND issueFunction in linkedIssueOf("issueFunction in lastUpdated("before -3M"))", "To fix") ORDER BY updatedNevertheless, Jira informs me that:
Error in the JQL Query: Expecting ')' or ',' but got 'before'. (line 1, character 142)
How can the linkedIssueOf feature be used with lastComment and lastUpdated subqueries? I am aware that the syntax should be:
linkedIssuesOf(Subquery, [link name])
Thanks a lot in advance.