I want to fetch Incremental data based on the updated column, so the date passed value will be dynamic but in static format (YYYY-MM-DD)
Before issuing a GET Request I am doing URL encoding that works if the value of updated is passed as 1900-01-01 but for any other date like 2020-09-26, it returns the incorrect number of records, using encoded request, however for the nonencoded request it gives the expected result.
Also, I want to fetch results in pagination so I am using startAt and maxResults parameters
Non-Encoded request:
/rest/api/2/search?fields=fields=id,key,assignee&jql=project=XYZ AND updated>=1900-01-01&startAt=0&maxResults=50
Encoded request:
/rest/api/2/search?fields=fields=id,key,assignee%26jql%3Dproject%3DXYZ+AND+updated%3E%3D1900-01-01%26startAt%3D0%26maxResults%3D50
Is there a way to create an Encoded request to support any date?