Update Change Additional Field with Custom Change ID

Update Change Additional Field with Custom Change ID

Requirement
Each organization may follow a different Change ID format. In the current system, replacing the default Change ID is not supported. However, a custom Change ID can be generated and stored in a Change Additional Field.
Custom Format
Examples of supported custom formats:
  • 2023-05-22-1 (Year-Month-Date-Change ID)
  • CHG-1267
Configuration Steps
  1. Navigate to Admin → Change Additional Fields >Create a Single Line Change Additional Field.
  2. Add the newly created additional field to all available Change templates.
  3. Go to Admin → Developer Space → Change Custom Function.
  4. Copy and paste the attached script, then save it with an appropriate name.
  5. Configure the script in a Custom Trigger and ensure it is executed whenever a new Change is created.