-
Notifications
You must be signed in to change notification settings - Fork 704
Closed
Description
I found a small issue when trying to add an attachment to an active request:
When calling the method create_attachment from the ServiceDesk class, the following error is raised:
File "/home/thomas/git/private/atlassian-python-api/atlassian/service_desk.py", line 497, in attach_temporary_file
.json()
AttributeError: 'dict' object has no attribute 'json'.
The error is based on the fact that when using the ServiceDesk class and subsequently the method self.post(...) in normal mode, the response is already converted to JSON inside that method (post). Using the ServiceDesk class in advanced mode does not raise any issues.
Metadata
Metadata
Assignees
Labels
No labels