Hi all, I want to know how to format the JIRA Rest API URL so that it will return all issues created within two specified dates.
I would want to see all issues that were created from 01/01/2018 (January 1, 2018) to 06/08/2018 (June 8, 2018).
The current URL I have is the following, how would I format the dates that I have with the URL?
http://domain.com/rest/api/2/search?
Hi Lawrence,
Please try http://domain.com/rest/api/2/search?jql=created%20%3E=%20%222018/01/01%22%20and%20created%20%3C=%20%222018/06/08%22
Hi Aleksandr, thanks for answering, but it gave me an error:
{"errorMessages":["Error in the JQL Query: Expecting operator before the end of the query. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'."],"errors":{}}
I looked up the error and I read that it is something about the blank spaces in the URL?
How would I fix this problem?
Edit: The updated answer fixed this error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I've edited the answer. The first response version was wrong.
Do you have error with updated URL (http://domain.com/rest/api/2/search?jql=created%20%3E=%20%222018/01/01%22%20and%20created%20%3C=%20%222018/06/08%22)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi lawrence can u help me in that i am also getting this message
{"errorMessages":["Error in the JQL Query: Expecting either 'OR' or 'AND' but got ')'. (line 1, character 52)"],"errors":{}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.