You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to download image from comment via api, but only that I can get is a string name of image in body like body: "!image-2022-05-19-19-58-23-624.png!". Is there any possible ways to do it?
The text was updated successfully, but these errors were encountered:
Yes. Since you can already get at the comments you're halfway there. With the string you found in the comment, search through the attachments on that issue to get the item you want:
# jc is your jira client, ABC-123 is your issue keyissue=jc.issue('ABC-123', fields='attachment')
foriteminissue.fields.attachment:
print(f"{item.filename}")
I want to download image from comment via api, but only that I can get is a string name of image in body like
body: "!image-2022-05-19-19-58-23-624.png!"
. Is there any possible ways to do it?The text was updated successfully, but these errors were encountered: