Request Type
Feature Request
Request
It would be very helpful to keep the sourceRef(s) with the case when an alert is turned into a case. This would be useful in cases where you would like to call a webhook and respond to the service that generated the alert.
for example if PagerDuty generated an alert with sourceRef = 123abc When that alert is turned into a case I would like to acknowledge it in PagerDuty and when its closed i'd like to resolve it in PagerDuty. However as soon as the case is created i lose the sourceRef
Possible Solutions
store and object in the case of sourceRefs=[{source:sourceRef}] so for example sourceRefs=[{"pagerduty":"123abc"}]
This would work with multiple alerts merged into one case
sourceRefs=[
{"pagerduty":"123abc"},
{"pagerduty":"847hfg"},
]