The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Finding all issues that changed status in past week

lachlan.moore
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 23, 2020

Hey guys I have been having trouble with the Rest API to find all the issues that have changed status to done in the past week. 

I have tried multiple things such as using the direct quarry from Jira's advanced search as well as the encoded version of that. The problem is that as soon as I use the search quarry that includes a date from Jira's advanced search in Node Js or Postman (for testing) the quarry doesn't provide the correct results.

For example this is not returning the correct issues:

https://paperapp-labs.atlassian.net/rest/api/3/search?jql=status changed TO 'Done' AFTER 2020-10-19

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Stephen Garber
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 23, 2020

You can try using URL encoding:

https://paperapp-labs.atlassian.net/rest/api/3/search?jql=status%20changed%20 TO%20%22Done%22%20AFTER%20%222020/10/19%22

 

Here's the encoding safe charaters that I used to translate: https://wiki.hostbridge.com/display/DOC/URL+Encoding+Unsafe+and+Reserved+Characters  

lachlan.moore
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 23, 2020

I have tried using URL encoding still the same problem

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events