Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
throw new UnsupportedOperationException("createIncident is not supported for Zendesk CMS integration");
Tip

Add custom task notes and audit details

With out-of-the-box CMS providers including BMCHelixRemedyforce, ServiceNow, JiraITSM, and Freshworks, you have the ability to add notes to a FlexDeploy External Approval upon approval or rejection. You can also set the user(s) who approved/rejected the ticket as well as the time it was performed. Custom Change Management Systems have the same functionality. Can do so by overriding the following getAdditionalTicketInfo in your Groovy API. It takes CMSObject and environment code as parameters and must return a Map<String, String>.

...

Code Block
languagegroovy
def getAdditionalTicketInfo(CMSObject pTicket, String pEnvironmentCode)
{
  // Create notes to add to External Approval
  def changeNumber = pTicket.getNumber()
  def map = {'notes': 'Approval note for ' changeNumber + ' added by FD admin', 'actionon': '1613381947215', 'actionby': 'fdadmin'}
  return map
}

Groovy Implementation

...