Hello,
I'm trying to get all notes from inside the tasks of a specific incident and send them by email, and I'm having trouble with images.
I got all the task ID's with GET /orgs/{org_id}/incidents/{incident_id}/tasks
Then for each task I got the notes with /orgs/{org_id}/tasks/{task_id}/comments
The output I'm getting is html, with the images appearing referenced by their path, something like
<div class="rte"><div>r</div><div><br /></div><div><img src="/rest/images/task/1efe9a32-fb88-4033-b1a7-99629ccf3182" alt="1efe9a32-fb88-4033-b1a7-99629ccf3182" /></div></div>"
My problem is that when I send it in an outbound email, the images don't appear since they are referenced on the server, and the email doesn't have that info. The mail sender doesn't know where "/rest/images/task/1efe9a32-fb88-4033-b1a7-99629ccf3182" is.
Any idea how can I get those images and send them by mail?
------------------------------
Diego Mastrolorenzo
------------------------------