Hi
In our extra properties we have an ID, SYS_ID
I want to use a policy to state that when an alert comes in, extract that extra property value and add it to a URL so the user can click on it
eg
ExtraProperties
SysID 1234
IN Policy, extract and in {Description} add www.myURL.com?id={extraproperties:sysIDValue}
Is that possible?
Hi @Mark Hayter ,
That should be possible with something similar to the URL you shared above. This Community Article might help with extracting the extra property / field: How to Extract Custom Fields and Data into an Alert
Once you are able to determine what is needed to extract that field, you can add the URL into the description field of the alert - which can be done under the Advanced tab of an integration. Note this tab is only available on the Standard and Enterprise / JSM/O Premium and Enterprise plans.
Thanks. So how would I know what the name of the extra property is and what the syntax is to use that and add to the description of an alert?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a way to do it all within the ui without having to find out what the custom field name is in the api
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"How would I know what the name of the extra property is and what the syntax is to use that and add to the description of an alert?"
It would depend how the field is being parsed in the payload.
"Is there a way to do it all within the ui without having to find out what the custom field name is in the api?"
You can check the Logs tab, but sometimes logs will be truncated - so it's best to extract the entire payload into the alerts to 1) see if your custom field is even being parsed in the payload, and 2) give you an idea of what syntax is needed to extract it.
I would suggest reviewing the Article linked in my last response as this is all covered in it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.