Update Task description with Request description.

Update Task description with Request description.

Requirement:
Copy the request description content to all the associated task description.

Usecase:
When a task is triggered from a request, it should contain the request description in the description of the task. This will enable task technician to quickly view the request information in the task.

Steps to follow:
  1. Goto Admin > Task Custom Functions > Global function > New > Paste the content from the attachment  1. Global function_5.txt  and save it with a name.
  2. Update the URL and integration key in the script. 
    1. You can get the integration key under Admin > Integrations > Integration Key > New
    2. Please use an integration key with admin privilege, as there wont be any role related permission issues. 

    3. Update the integration key in the global function.
  3. Go to Admin --> Task Custom Functions. Create a new function.
    1. Refer to the attached script. (updateTaskDescription_withRequestDescription.txt.)
    2. Update the global function count in the script as per your instance.
  4. Configure Task custom trigger as in the below screenshot.


                    New to ADSelfService Plus?

                      • Related Articles

                      • Notify task owner when a task is deleted using Deluge

                        Requirement: Send Email notification to task owner when a task is deleted from a request. Steps to follow: Go to Admin > Developer Space > Task Custom Functions. Create a new function. Refer to the attached script. (NotifyTaskOwner.txt.) Update the ...
                      • Update Requester from Request Description

                        Use case: When a request is submitted on behalf of a user via email, the request description contains the requester's full name. Script to update the ticket requester accordingly. Tested on builds: 14306,14500. Steps to follow: Go to Admin > Request ...
                      • Close the request upon adding a note.

                        Kindly follow the steps mentioned below: 1) Go to Admin >> Developer Space >> Custom Function >> Global Functions >> Copy & Paste the attached GF_Content.txt and save it with a name. Update the URL and technician key as per your instance. Refer to ...
                      • How to automatically create a task in a Change Request.

                        This is a sample script to create a task in a Change Request based on the values given in certain fields. This is done by using an API call to create  a task in ServiceDesk Plus. The task can also be created in a request, problem, project or a ...
                      • Scripts to automatically cancel request tasks when the request status is set to cancelled (when the task closure rule is enabled)

                        NOTE: In the attached script Owner and Group value is hardcoded, so the script works only when the group and owner name are configured in task closure rules(valid technician name and group name). If technician and group doesn't exist inside the task ...