jira-python How to remove an attachment?

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events