I'm working on an alert automation that switches based on the integration the alert was created with.
When I log {{alert.integration}} within a rule I get an object like this:
IntegrationBean{id=[UUID removed as I'm not sure if this is safe to share], type=API, name=Jenkins API Service Desk}I would like to retrieve just the 'name=' portion of this object, I have tried the following...
{{alert.integration.name}}
{{alert.integration.IntegrationBean.name}}
{{alert.integration.asJsonStringArray}}
{{alert.integration.substringBetween("name=","}")}}
None of these log anything, though the rule succeeds it logs an empty string.
Does anyone know how to acces the individual values in the IntegrationBean object?