How can I insert an image in a task description or comment using the api?
I can create task, comment and attachment using the api.
But I can't figure out how to insert an attachment in the task description or in a comment.
How can I do this?
Die von Ihnen gesuchte Seite ist nicht in übersetzter Form vorhanden, wir verfügen jedoch über andere Inhalte in deutscher Sprache und bieten deutschsprachigen Support an.
Wie können wir helfen?
Learn. Share. Discuss.
I can create task, comment and attachment using the api.
But I can't figure out how to insert an attachment in the task description or in a comment.
How can I do this?
Folllowing List for Post: How can I insert an image in a task description or comment using the api?
[this list is visible for admins and agents only]
I'm also interested in a solution. From what I've found, the default way to do this is found here. An example description text, in html, as pulled from a ticket created in the ui:
Specifically, I am interested in using already uploaded attachments in the ticket description. I've tried grabbing the link via the api, but it's not correct. The link requested from the API method "Get Access URL for Attachment" found here returns the following:
Using this link in with the previously mentioned syntax notably does not insert the image in the description. Would love to have an answer to this to speed up several processes.
Hey everyone,
I've raised Support tickets for you here, someone should be in contact with you soon. If you need assistance with anything else, be sure to let me know.
I'm interested in a solution too. Сan anybody help me? How can i get attachment URL for using in a tack description?
@Sardana,
As far as I can tell you'd need to upload the file using the API, check the URL via the app, then use that in your code. It's been about two years since I've tried working with this since Wrike has made no further comments on this aside from a help ticket I submitted saying "this is not on our roadmap" so if you find a workaround, it would be appreciated, but it definitely soured me to using wrike for things like automated reports.
@Silas Meriam Thanks for your feedbacks!)
1. Attach the image to the task.
2. Create the preview-image-name from the attachment ID (see code below).
3. Update the task description - you can use <img src="https://storage.www.wrike.com/filemeta/thumb100/preview-image-name">