Script to update the request additional field with previous Jira escalated tickets IDs

Script to update the request additional field with previous Jira escalated tickets IDs

Requirement : To update the request additional field with Jira escalated tickets id:

1. Create two additional fields Jira Key and Escalation Tickets.
2. In the request details page--->Custom actions--->Create jira ticket--->Notes will be added with jira ticket id
3. Now the customer will update the jira ticket id in the Jira Key additional field.
4. Again in the same request details page--->Custom actions--->Create jira ticket--->Notes will be added with jira ticket id
5. The below script will update the new jira ticket id in the jira key additional field and the old id along the new id should be updated in the Escalation tickets field.

Steps : 

1.Go to Admin > Developer space --> Custom Functions > Global function > New > Paste the content from the attachment  configuration.txt and save it with a name.

2. Update the URL and technician key in the script.   
Refer to the below link and screenshot (attached)


3. Go to Admin -->Developer space --> Custom Functions --> Request --> Paste the content from the attachment (3. update additionalfield.txt) and save it with a name.

4. Modify the global function name and the additional field API name in the script  

5. Configure Request custom trigger.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Script to Update Date additional field (to 3 days) based on priority inside the request

                      In some cases the customer will need to update the date additional field based on priority set inside the request. (Applicable for builds 14300 & above) Please follow the below mentioned steps to configure: First Download and extract the attached zip ...
                    • Script to Populate User Additional Field under Incident Template using FAFR

                      The script load the Requester Name under Incident Additional field ( As a pick list), by choosing the requester name under additional field the script populates the user additional field value. * Kindly create two additional fields under Admin -> ...
                    • Jira Integration

                      Jira Integration JIRA Integrates with ServiceDesk Plus MSP using "Request Custom Menu". Sample Implementation is already done and bundled with our application. You need to change field names as per your requirement in JIRA.xml. So When a ticket is ...
                    • How to populate user names in a request additional field

                      This sample script is to populate both technician and requester names in a request additional field Use Case: Populate all user name in a request additional field. Execution Steps:  1.  Create a new 'Single Line' additional field and add them in the ...
                    • How to populate requester details in request additional field

                      Requirement: Populate requester additional field information into request additional field. Usecase: Let us consider a scenario where certain employee details are imported from the Active Directory into User - Additional Fields. The business ...