Any help is appreciate.
We have a client that would like to create issue via API. Their API format is in JSON but inflexible in away that they have their own format of data.
They expect JIRA API that complies and dissect it internally.
Is this possible?
i.e. below the sample of format of the API being sent
{
“data”: {
“type”: “incidents”,
“id”: “Track incident identifier”,
“attributes”: {
“incident”: {
“incidentType”: “incident type”,
“incidentState”: “incident state”,
“incidentUrgency”: “‘low’, ‘medium’, ‘high’”,
“incidentImpact”: “‘low’, 'medium, ‘high’”,
“incidentSourceTimestamp”: “2020-01-01T00:00:00Z”,
“incidentReceivedTimestamp”: “2020-01-01T00:00:00Z”
},
“incidentEvents”: {
“2020-01-01T00:00:00Z”: “event info”,
… additional event history …
},
“incidentAlerts”: [
{
“alert”: {
“alertType”: “alert type”,
“alertState”: “‘alerted’, ‘OK’”,
“alertRaisedTimestamp”: “2020-01-01T00:00:00Z”,
“alertReportedTimestamp”: “2020-01-01T00:00:00Z”,
“alertStateChangedTimestamp”:
“2020-01-01T00:00:00Z”
},
“installationPoint”: {
“installationType”: “type of installation point”,
“serviceDeskId”: “scheme specific identification”,
“mobileLocation”: {
VTK-00002
Revision 1.0
External Service Desk API
Track
Page 13 of 22
“vehicleType”: “‘bus’ or ‘tram’”
“vehicleId”: “vehicle identifier”,
“vehicleSection”: “vehicle section”,
“polePosition”: “numeric or other pole
identification”
},
“railLocation”: {
“operator”: “operator of the location”,
“line”: “line or route identifier”,
“station”: “station identifier”,
“array”: “gate array identifier”,
“position”: “gate position identifier
within array”
},
“otherLocation”: {
… reserved for future use…
},
}
“installedDevice”: {
“electronicSerialNumber”: “electrionic serial
number”,
“deviceType”: “type of device”,
“firmware”: “firmware version identifier”,
“software”: “software version identifier”,
“configuration”: {
“static”: “static CD version identifier”,
“dynamic”: “dynamic CD version identifier”
“emv”: “EMV specific version identifier”
}
},
{ … repeated for additional alerts for this incident … }
]
},
“links”: {
“self”: “https://URL for this Incident on service”,
“remote”: “https://URL for this Incident at Service Desk”
}
}
}