resilient-python-api icon indicating copy to clipboard operation
resilient-python-api copied to clipboard

REST API to close tickets

Open recv2383-work opened this issue 4 years ago • 1 comments

Description

Going through the REST API I don't see a way to close tickets only open and delete them, is there a way to do this via API's?

Describe How to Reproduce

recv2383-work avatar Mar 18 '21 16:03 recv2383-work

Take a look at close_incident in the resilient-lib package. https://github.com/ibmresilient/resilient-python-api/blob/ae7db374e6e79a03e555c3b9ff3c723c3314f673/resilient-lib/resilient_lib/components/resilient_common.py#L375 The challenge is that closing an incident is based on the customized close fields an organization requires. We provide a way to specify a template for the fields and value to include when closing an incident.

mscherfling avatar Mar 19 '21 01:03 mscherfling