10 Apr 2024 01:47 AM
Is there a way to create an auto tag rule to apply the tag value of the management_zone property from the api response below? Specifically this would be done on a custom device.
I'm looking for an auto tag rule to apply this, the tag values will be dynamic, I can't use a static value. I also prefer not to deal with creating a script to run daily to add this tag. I'm hoping this can be done natively within the tool. Is this possible? I've created a 2.0 extension and have added some properties to the custom device, I'm now wanting to have an auto tag rule add these values.
{
"totalCount": 1,
"pageSize": 50,
"entities": [
{
"entityId": "some-value",
"type": "some-value",
"displayName": "some-value",
"properties": {
"management_zone": "some-value",
"ticket_group": "some-value",
"device": "some-value"
},
"managementZones": []
}
]
}
This is what the properties and tags section looks like for the custom device
Solved! Go to Solution.
10 Apr 2024 07:19 AM
I'm afraid is not directly possible, but you can replicate the filter you're using in the management zone to create the autotag.