I defined a similar filter to look for issues:
project = "XXX" AND issuekey IN linkedIssuesFromQuery("project='XXX' AND issuetype='Software change' AND status in ('Code review', Resolved, Closed)" )
Even though there definitely exists some issues that match the filter but JIRA returns "No issues were found to match your search". However, on some days JIRA returns the expected result. Currently it doesn't. I have no idea why.
Could you please suggest?
I'd start by suspecting your index. Are you doing any forground or background indexing regularly?
Can you establish any patterns as to when it works and when it fails? Is it possible to pick an issue that matches and check the history to make sure it always matched the filter?
Are you sure you've got issues currently in the listed statuses ?
Try if the project='XXX' AND issuetype='Software change' AND status in ('Code review', Resolved, Closed) query returns anything
The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events