Closed
Description
In the official Python library for JIRA docs, JIRA's add_attachment method expects an issue_key and attachment. It only expects a filename if the attachment is being passed from memory as a StringIO object .
https://jira.readthedocs.io/examples.html#:~:text=.name)-,2.1.11.%20Attachments,-%23
In the Atlassian Python API documentation, the add_attachment method only expects an issue_key and a filename. This prevents the attachment of files stored only in memory.
https://atlassian-python-api.readthedocs.io/jira.html