Extract images from ticket description in Jira API response.

Isanka
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!
February 28, 2024

I'm using Jira API 2.0. and I was able to get the ticket description using Jira API in .net core. 

but my issue is I can't get the image URL from the description response.

this is the description I received. 

!image-20240226-072132.png|width=728,height=309! When sending a Customer Statement, attachment shows it as *Customer Statemnet.pdf.* Similarlarly, please change the other report attachment names as well. !image-20240226-072327.png|width=1048,height=424! * Sales CR Note * Sales Invoice * Vendor Remittance

And it contains a couple of images. 

!image-20240226-072132.png|width=728,height=309!

!image-20240226-072327.png|width=1048,height=424!

 

is there a way to get image URLs for the images? or get the whole description in HTML format.?

 

1 answer

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

The images referenced with the filename (e.g. "image-20240226-072132.png") themselves are attachments of the same issue.

There is a dedicated set of end-points for attachments. You can obtain the images from there.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events