Jira Software version: 7.3.0
I cannot perform API search queries asking for "createdDate" and "project".
curl -D- -u xxx:yyy -X GET -H "Content-Type: application/json" /rest/api/2/search\?jql\=createdDate%20%3E%3D%20-30d
curl -D- -u xxx:yyy -X GET -H "Content-Type: application/json" /rest/api/2/search\?jql\=project%3DGS%20AND%20createdDate%20%3E%3D%20-30d
does not. Error is
HTTP/1.1 403 Forbidden Date: Mon, 10 Jul 2017 10:12:46 GMT Server: Apache Content-Length: 226 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /rest/api/2/search on this server.<br /> </p> </body></html>
I suppose that it is no permission error but some kind of problem with the query.
Thanks in advance!
So, let me repeat this back to you to ensure I have it clear:
These two calls work, pulling back issues:
And the third call, where there are both clauses joined by an AND gives you a permission error.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG