Prerequisites to start the development
From Jira ServiceDesk
While Creating Jira Servicedesk Issue what are the mandatory fields and the maximum size of the attachment.
Exploring the Servicedesk API for creating the issue and adding the attachment.
Details of communication between different systems
CITI app API and fields details
Need to be communicated.
Jira API details and field details
While Creating issues the mandatory field is Summary
There are other fields also added in the create issue screen. But nothing is marked as mandatory. (Need to be checked what and all other fields are mandatory)
The Attachment file Size (while Creating issue it is mentioned as a note in that field)
Minimum Size | Maximum Size |
---|---|
10MB | 2GB |
4. API
Create customer request POST /rest/servicedeskapi/request
Request
EXAMPLE
{ "serviceDeskId": "10", "requestTypeId": "25", "requestFieldValues": { "summary": "Request JSD help via REST", "description": "I need a new mouse for my Mac" }, "requestParticipants": [ "john" ] }
Create attachment EXPERIMENTALPOST /rest/servicedeskapi/request/{issueIdOrKey}/attachment
Request
EXAMPLE
{ "temporaryAttachmentIds": [ "temp910441317820424274", "temp3600755449679003114" ], "public": true, "additionalComment": { "body": "Please find the screenshot and the log file attached." } }
NETX API and field details
put contents over here(also add a limit for attachment size/sync or async)