Fixed the WrkFlow. Here is a summary of fixes done -
WA-1: API Endpoint Update and Error Resolution
In WA-1, we updated the API endpoint from the deprecated Jira API
(/rest/api/3/search) to the new version —
/rest/api/3/search/jql, as per Atlassian’s latest migration guidelines.
The previous endpoint was returning the following error:
“The requested API has been removed. Please migrate to the /rest/api/3/search/jql API.”
After updating to the new endpoint, the API started functioning correctly and returned the expected issue data without errors.
The request method (GET) and parameters such as jql, maxResults, and fields remain the same to maintain consistency.
WA-16: JSON Path Modification
In WA-16, the response structure from the new Jira API changed.
Previously, the response included a total field, and the JSON path used was:
$.total
However, in the new API response, the total key is no longer present.
The new structure looks like this:
{
"issues": [ ... ],
"isLast": true
}
Since the total field is missing, we updated the JSON Path logic to calculate the count dynamically using the length of the issues array instead.
The new JSON Path used is:
$.issues.len``
This change ensures the correct issue count is retrieved even without the total field in the response.
Finally all the steps have been executed successfully.
Wrkflow: https://account.wrk.com/designer/?wrkflow_id=48344
Please note: We renamed our working copy to "Jira + Intercom: AI Generated Changelog to Intercom Articles - Fullestop"
Here is the screenshot-
