Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Rest API to get emails attached from Outlook Jira Cloud

chch qq August 26, 2021

Hi there

Just wondering if there is any rest API can get email attachments attached from MS Outlook Jira Cloud? 

6bed1b0a-9355-43ec-bead-9d9c4694fa13.jpg

I have tried to use rest/api/3/issue/{key} but couldn't find email attachments added via this outlook addin. I also tried to find the field name via rest/api/3/field but couldn't find any field related to it.

 

I looked at the issue and found this kind of email attachment is loaded in a iframe, so my current workaround is using request and beautifulSoup but obviously it is not a good way to do it.

 

Appreciate if anyone can provide some insights/direction!

 

2 answers

1 accepted

1 vote
Answer accepted
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2021

Hello @chch qq 

 

You get the attachments to an issue from the issue attachments endpoints.

chch qq August 26, 2021

Hi @Sunny Ape 

Thanks for your response but I am not sure how does this api can get this type of email attachments, i.e. the email uploaded via Jira Cloud outlook addin.

As shown below, I know standard Jira attachment api can get "attachments" by attachment id. But I need to access the circled "attached emails", which is uploaded via outlook addin.

Untitled.png

From standard jira issue api I can find attachment ids for "attachments", but I cannot find anything related to "attached emails". Appreciate if you could show me how to get this part in the issue. thanks

Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2021

OK, I get what you mean now.

Yes, that thing called 'attached email' that gets attached to an issue isn't an attachment in the normal sense, like a picture or a document, which can be found and retrieved via the issue attachment endpoints. It's extra integration that the REST API doesn't have any interface into, only the web UI does.

Maybe post a question on the original information page about that tool and ask if any of the Atlassian developers who made the tool can provide a deeper insight.

chch qq August 26, 2021

Thanks @Sunny Ape 

Henningsen_ Marcus February 18, 2025

Hi @chch qq

did you ever find a solution to this? I was wondering just the same and can't seem to find anything related to these "attached emails" in the rest API.

KR,

Marcus

0 votes
Nico Deni
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!
July 21, 2025

Hello @chch qq , @Henningsen_ Marcus ,

we raised a support ticket for this topic which related in a feature request: [JSDCLOUD-17263] API to Preview attached emails in issue view. - Create and track feature requests for Atlassian products.

 

Feel free to vote and watch it.

BR Nico

Suggest an answer

Log in or Sign up to answer