JQL query not giving the expected result when executed using the REST API.

However it works just fine when executed through the web UI.

Here is the query: Project=<project name> AND resolutiondate > 2016/10/29

The query when executed through the REST API returns all issues for the project instead of returning only the ones that are resolved after 2016/10/29

Rest call I am making: https://opswat.atlassian.net/rest/api/latest/search?Project=FV%20AND%20(resolutiondate>"2016/10/29")


I was able to solve the issue by using "Project in (FV)" instead of "Project=FV"

1 answer

0 votes

I assume you mean REST API (the web ui also uses the API, but not the REST one)

Could you give us the REST call you are making?  Also, could you use a different date, one that's clearly correct and we can tell the difference between month and day (some cultures incorrectly mess up the least<->most significant order and put month before day - 2016/10/10 could be either, but 2016/10/31 is right and can't be mistaken)

Just added those details to the question.


Ok, that looks like it should work (and return all FV issues resolved after 29th October 2016).  I suspect it might work in a browser, but you might have to encode it fully in other places.  You've already got most of it, but try this (I've dropped the braces, for simplicity)


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,086 views 4 9
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you