Hi everybody
I am working on an integration that reads from a source and use retrieved details to create an incident and upload relevant artefacts to the incident. We are using resilient-circuits so I am using its API for ticket creation(
res_client = self.rest_client()), however I have problems retrieving the incident id of the incident just created to upload artefacts through resilient-circuits API.
I tried to retrieve it the API returned payload, it seems it is not included. I tried to use incident_id as an input with pre-process value of incidnet.id (inputs.incident_id=incident.id) and it rather returns the incident id of the incident I used to fire my rule and test the function.
I wondered if anyone can help with explaining how I can retrieve the incident id for the incident just created through resilient-circuits API, so I can use it for uploading the artefacts to the incident?
Thank you
------------------------------
Mohammad Tari
------------------------------