Hello to everyone,
I want to create customer request with attachment via servicedesk api in jira server. I tried multiple ways to handle it using different apis from following link, however, it was not successful. Is there anyone who can give example or help, I would really appreciate your help.
Link: https://docs.atlassian.com/jira-servicedesk/REST/3.16.0/?_ga=2.55887663.564115258.1548142379-1573215797.1546931611#servicedeskapi/servicedesk/{serviceDeskId}/attachTemporaryFile-attachTemporaryFile
Best
I also struggled with this for 1 hour, and here is what I've found:
1. There's no single, convenient API method to create a request with an attachment (or I've not found it).
2. Even the native Service Management portal request form does it in 3 steps:
3. You have to use the same three steps with the API:
Found a duplicate of this question: https://community.atlassian.com/t5/Jira-Service-Management/how-to-create-ticket-median-api-jira-with-attachments/qaq-p/2200568#M132535
It looks like you're new here. Sign in or register to get started.