docs: def attach_temporary_file(self, service_desk_id, filename):
          """
          Create temporary attachment, which can later be converted into permanent attachment
  
          :param service_desk_id: str
          :param filename: str
          :return: Temporary Attachment ID
          """
          headers = {'X-Atlassian-Token': 'no-check', 'X-ExperimentalApi': 'opt-in'}
          url = 'rest/servicedeskapi/servicedesk/{}/attachTemporaryFile'.format(service_desk_id)
  
          with open(filename, 'rb') as file:
              result = self.post(url, headers=headers, files={'file': file}).get('temporaryAttachments')
              temp_attachment_id = result[0].get('temporaryAttachmentId')
  
              return temp_attachment_id