Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

create excel attachments


I want to upload an excel file (.xlsx) into a card as an attachment. However, if I open the card, I can only download an attachment with the type application/octet-stream. How can I upload the file so that a card user (not necessarily me) can see the contents of the excel file?

I wrote the following code:

import requests

key = "cf96243c3494a8473e5caccd2d0f906c"
token = "c1b7ca7996e4cf4f007c014b4acf7451613af6207bb5d98ce41be50a1aed5a27"

query = {
'key': key,
'token': token,
'file': '10228-PA.xlsx',
'name': '10228-PA.xlsx'

response = requests.request(
url = "".join(("", 'NU6mdURG', "/attachments")),

1 answer

1 accepted

Any info on how to upload excel files as attachments via python code?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

3,635 views 25 63
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you