Deprecated Rest API are causing error while pulling data

We currently use Jira API in Alteryx to pull Jira ticket details to use in various workflows for the Revenue Recognition Process. Our workflows were operating without issues until last week, however we started seeing error messages this morning so we wanted to see what could be the potential issue. I have not made any updates from my end lately so was just hoping someone could help us troubleshoot this issue.

API - /rest/api/latest/search?jql&startAt&maxResults&validateQuery&fields&expand

As per the recent documentation i found online which says this are now deprecated
https://developer.atlassian.com/changelog/#CHANGE-2046
also i tryed the new api suggested which is
API - /rest/api/3/search?jql&startAt&maxResults&validateQuery&fields&expand

so how can we solve this issue

Thanks in advance

Hi @RajSatishAgrawal

you try this new API:

const response = await requestJira(`/rest/api/3/search/jql?jql=project%20%3D%20HSP&nextPageToken=%3Cstring%3E&maxResults={maxResults}&fields={fields}&expand=%3Cstring%3E&reconcileIssues={reconcileIssues}`, { headers: { ‘Accept’: ‘application/json’ } });

from: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-jql-get