Question

Automatically associate assets to incidents

  • 7 July 2022
  • 3 replies
  • 38 views

Userlevel 2
Badge +1
  • Top Contributor
  • 5 replies

Hello FreshService Bods!

 

 Its been asked before (But with no solution) but has anyone worked out how to automatically associate assets to incidents. We have hooked our monitoring product into FreshService and its busy logging tickets but I feel like I’m going backward if I have to ask someone to manually associate the assets ???

 

 I’ve checked supervisor, workflows and alert rules but can;t see an easy way to crack it. We could code it up in PShell but I’m trying to avoid that, any thoughts ?


3 replies

Userlevel 6
Badge +9

Any solution on this ? 
Looking for this as well. 

Userlevel 4
Badge +6

@JonO, @daniel.soderlund,

This is possible to automate via workflow provided the asset display ID is known. We can call the ticket update API and pass the asset display ID to associate the asset with the incident.

https://api.freshservice.com/#update_ticket_priority

Please find the sample payload below:

{"assets": [{"display_id":24}]}

 

 

 

 

 

 

 

 

 

Let me know if you need more information.

Userlevel 7
Badge +14

Thank you @sanofar.allahpichai for helping out on this one. Glad to see there is a solution!!!

Reply