Question

When a task is updated create service request

  • 26 October 2022
  • 4 replies
  • 96 views

Userlevel 2
Badge +1

Hello, 

Does anyone have an idea on how I can potentially create a service request upon a task being marked as completed? Or, “lock” related child tickets until one is marked as complete?

Use case: 

The main Service request placed is a bundle. In the bundle, the first “related ticket” is “Create One Page” which has a task. When the task is marked as complete, I would only then like the agent to be able to work on the next related ticket in the bundle. 

Is there a way to either create a new service request that could be then linked to the main request after task is marked as completed, OR is there a way to “lock”/restrict the other related child tickets until the first “Create One Page” related child ticket is completed?

I’ll attach more precisely what I am referring to with the service request related child tickets in case it helps.

 


4 replies

Userlevel 6
Badge +10

I found this link really helpful for any Webhooks we need creating. 

https://api.freshservice.com/#create_ticket (might be easier on this one.

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

Each webhook will be specific to you request on what you want updating. Best to use your API Key if you can the authentication section of this document is quite easy to understand. https://api.freshservice.com/v1/#authentication

 

however you cannot set a child ticket to an SR. not sure why… 

 

 

I find giving it a go is the best solution and if you are struggling, log a ticket with freshservice for them to have a look at where you might have gone wrong. 

Userlevel 2
Badge +1

I think your best option is to create a SR with task completion rather than locking the child tickets.

you can use the Task Automator with an event of Task closed using conditions of the requested item and group ID. then use a webhook to create a SR

 

something similar to this?
 

 

I was looking into something like that - but am having difficulty with the webhook aspect. I am unsure how to properly create the service request with that, and I also wonder if it would be possible to make that webhook created serivce request related to, or the child of, the main service request. Any help on that is much appreciated!

Userlevel 2
Badge +1

Accidentally replied to you here, see quoted reply below!

Userlevel 6
Badge +10

I think your best option is to create a SR with task completion rather than locking the child tickets.

you can use the Task Automator with an event of Task closed using conditions of the requested item and group ID. then use a webhook to create a SR

 

something similar to this?
 

 

Reply