I'm trying to attach an attachment to my Jira service ticket. I've found 2 URLs which could do this.
1.
{jiraUrl}/rest/servicedeskapi/servicedesk/{serviceDeskId}/attachTemporaryFile
2.
{jiraUrl}/rest/api/attachment/3/issue/{issueId}/attachments
I've sent to both the same parameters:
- X-Atlassian-Token: no-check
- accept: application/json
- multipart/form-data (file with name file)
(- Basic authentication)
When I sent my first request I receive a 500 response without further details.
When I sent my second request I receive a 404 without further details.