I am trying to query using JIRA function. However this query is not working. When I run this query using JQL in jira its working fine
project=ABC AND status=Closed and Sprint=1868
=JIRA("project=ABC AND status=Closed and Sprint=1868","issuekey,summary,created,reporter, Sprint",1000,1000)
Same query returns 91 records