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 Update date/time additional field inside request when note is added.

                      (Applicable for builds 14300 & above) Please follow the below mentioned steps to configure: First Download and extract the attached zip file containing the scripts & attachments (screenshots) 1.Goto Admin > Developer space --> Custom Functions > ...
                    • Update request additional field with Custom Request ID

                      Requirement: Each Organization's request ID format may differ. In the current model, replacing the existing request id with these is not possible; however, the same can be replaced in an additional field. Custom Format : Example: 202305221125001 ...
                    • 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 ...