How to attach a txt file to Jira using Python

Sanjeeta January 16, 2020

I would like to add the output of my Python code (which is a txt file) into Jira . Can someone please help me? I want a txt file to be added to Jira using Python

1 answer

1 accepted

0 votes
Answer accepted
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 16, 2020

Hello @Sanjeeta 

Welcome to the community.

You want to create/update an issue via Python? And add an attachment to this issue did i correctly understood your request ?

If so you can take a look to this python library 

https://jira.readthedocs.io/en/master/examples.html#attachments

Hope this helps.

Sanjeeta January 17, 2020

Hi @Mohamed Benziane ,

 

Thanks for your response. I already have an existing JIra, I just want to add .txt files as an attachment to the existing Jira

Suggest an answer

Log in or Sign up to answer