Versions Compared

Key

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

...

When choosing Create Change Ticket on Deployment you have the option of providing a Groovy expressions which calculate specific fields to set on the generated Change Ticket.

FieldServiceNow Change Ticket Mapping
Change Ticket Description PatternDescription
Change Ticket Comment PatternShort description


When choosing Create Incident on Deployment Failure you have the option of providing a Groovy expressions which calculate specific fields to set on the generated Change Ticket.

FieldServiceNow Change Ticket Mapping
Incident Description PatternShort description
Incident Comment PatternDescription


All Groovy script fields have access to the following variables, and can be selected using the  drop-down on the right side of the field:

FieldDescription
EnvironmentNameThe name of the target environment.
PackageNameThe package name requested for deployment. Same as ProjectVersion for full deployments.
ProjectNameThe name of the project requested for deployment.
ProjectVersionThe project version which was requested for deployment.
StreamNameThe stream from which the project version was built from.
WorkflowRequestorThe FlexDeploy username which requested the deployment.


Example Groovy expressions

...