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?

2
2 Kommentare
Spot On Innovative Approach Stellar Advice
Avatar

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:

<img src="https://storage.www.wrike.com/filemeta/thumb100/IDENTIFIER.CHARACTERS" />

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:

{
  "kind": "url",
  "data": [
    {
      "url": "https://storage.www.wrike.com/extfile/WRIKE.INTERNAL.IDENTIFIERS/ATTACHMENT.FORMAT"
    }
  ]
}

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.

1
Aktionen für Kommentare Permalink
Spot On Innovative Approach Stellar Advice
Avatar
Hugh

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.

2
Aktionen für Kommentare Permalink

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]

Didn’t find what you were looking for? Write new post