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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events