Forums

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

jira-python How to remove an attachment?

Philipp Deters
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!
November 11, 2016

Hey, 

I would like to know if it is possible to remove an attachment from an issue. I couldn't find any method in the jira-python api wrapper. 

Many thanks

 

Philipp

1 answer

1 accepted

1 vote
Answer accepted
Philipp Deters
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!
November 11, 2016
    issue.fields.attachment[index].delete()
issue.update()

Suggest an answer

Log in or Sign up to answer