Requirement:
Closing the parent task should update the child task's status to "In Progress," assign the same owner as the parent task, and also notify the task owner.
Steps to follow:
- Goto Admin > Developer Space > Global function > New > Paste the content from the attachment Global function_4.txt and save it with a name.
- Update the URL and integration key in the script.
- You can get the integration key under Admin > Integrations > Integration Key > New
- Please use an integration key with admin privilege, as there wont be any role related permission issues.
- Update the integration key in the global function.
- Go to Admin > Developer Space > Task Custom Functions. Create a new function.
- Refer to the attached script. (updateStatusTechInDependentTasks.txt.)
- Update the global function count in the script as per your instance.
- Configure Task custom trigger to get executed on every task being cancelled with "Module" as "Request".