The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to attach a txt file to Jira using Python

Sanjeeta
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!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Mohamed Benziane
Community Champion
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
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!
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

TAGS
AUG Leaders

Atlassian Community Events