Inherit attachments from parent ticket

I have an application that creates a child service task ticket and i need that this service task have the parent’s attachments. I tried to pass the parent’s attachment field but it didn’t work. How can I do it?

1 Like

Hey @Matheus_Nunes

You can make an API call to the parent ticket and fetch its attachments? How does that work?

1 Like

Getting the parent ticket body I have the attachments field only with its informations, like this:

"attachments": [
      "id": 12345,
      "content_type": "application/pdf",
      "size": 638524,
      "name": "Document.pdf",
      "attachment_url": "",
      "created_at": "2021-06-15T17:00:42Z",
      "updated_at": "2021-06-15T17:00:45Z"
1 Like

I managed to solve the problem using the solution indicated by @Marllon_Mainardes

But I think would be nice if I could add the attachments passing his ids.