Hello,
We are in the process of migrating from Assets for Data Center to Jira Service Management cloud. In our existing data center configuration, I have automations triggered by the creation, update, and deletion of Assets objects in a specific schema. In each case, I have an automation that looks like this:
WHEN object created (or updated, or deleted)
IF objecttype = software (the name of the asset object type is "software")
THEN Http Request
...
When I tried to migrate these to Jira Cloud, I found that I could change the IF clause to something like "{{object.objectType}} Equals Software. See attached image for details.
This seems to work for the creation and update triggers, but the delete doesn't work. It doesn't seem like the object type property exists for the deletion event. The audit log message is "Error rendering smart-values when executing this rule:Failed to get value for object.objectType"
Is there any way to match what I had before, where I can trigger an HTTP call for object creation, update, AND deletion that applies only when the object type matches a specific value?
Hi @Tim Dean
Welcome to the community!
Instead of deleting an asset as a trigger, I recommend you use the status fields in the object that the asset has been removed/obsolete/inactive. This way you will keep the history of the jsm tickets and relations to objects.
So users in object set the new status to "inactive" and then you can run the automation with object updated based on the status.
I hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Fabian Lim and thanks for the suggestion. Unfortunately, we need the ability to both update the status in some use cases and to delete in other use cases. I really need to be able to react to deletion events, and it appears that there is a regression in this functionality from what is available in Cloud vs. what was available in Server and Data Center.
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.