Update a jira workitem with embedded image in description using rest api.

mounica.kmit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 30, 2023

I want to update a jira workitem with embedded image in description using rest api. As part of this, when ever there is a request to create a workitem with embedded image, I am first uploading the attachment and then providing the link of attachment in the description. But, I get an error "Can only create thumbnails for attached images", in the response of GetWorkItem

1 answer

0 votes
Aishwarya Rajan October 13, 2023

You can try to provide the filename of the image(which is present in the attachments section) in the description in a specific format something like this

 

        "fields": {"description""!Screenshot 2023-05-23 173923.png!"}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events