Example of using 'httpClient' in ZenDesk

httpClient.get("/api/v2/tickets/"+entity.id+"/"+"comments")
This gets all the comments from a certain ticket with the response:
Up am intention on dependent questions oh elsewhere september. No betrayed pleasure possible jointure we in throwing. And can event rapid any shall woman green. Hope they dear who its bred. Smiling nothing affixed he carried it clothes calling he no. Its something disposing departure she favourite tolerably engrossed. Truth short folly court why she their balls. Excellence put unaffected reasonable mrs introduced conviction she. Nay particular delightful but unpleasant for uncommonly who.
Up am intention on dependent questions oh elsewhere september. No betrayed pleasure possible jointure we in throwing. And can event rapid any shall woman green. Hope they dear who its bred. Smiling nothing affixed he carried it clothes calling he no. Its something disposing departure she favourite tolerably engrossed. Truth short folly court why she their balls. Excellence put unaffected reasonable mrs introduced conviction she. Nay particular delightful but unpleasant for uncommonly who.
Script Rules Auto-Completion
API Auto-Completion
When working with Groovy scripts you can take advantage of the auto complete feature as you write your code.
The example below is designed to give you an idea how the process works. Keep in mind that the script rules editor provides suggestions for custom fields specific to the issue tracker. This feature is available for Jira Cloud, Zendesk, Azure Devops, ServiceNow, Salesforce, and GitHub.
Exalate API list supported for auto-suggestion (if supported by the connector):
- entity
- replica
- debug
- nodeHelper
- workflowHelper
- workLogHelper
- commentHelper
- attachmentHelper
- syncHelper
- log
- traces
- firstSync
Note: For mouse control, the Hotkeys (Windows and iOS) are CTRL+FN+Space.
For more information on script writing, please see the Exalate API reference Documentation.
Custom Fields auto-Completion
The process is the same, but in this case users get suggestions of custom field names available within the issue tracker as they type issue.customFields.{list of available custom fields} when writing Groovy sync rules.
httpClient.get("/api/v2/tickets/"+entity.id+"/"+"comments")
