This section of the documentation provides a few guidelines that help you understand how to work with the custom properties and methods that are specific to the workflow API. For a complete list of functions, properties, and methods, refer to the YouTrack Workflow API.
Major Changes from the Previous Workflow Programming Language
issuereference is never omitted. You can't call an issue method assuming that it references an issue from the context — you must reference the issue explicitly.
- Property-related methods are spelled differently. Also, these functions are now properties. Get methods are simplified.
- Fields-related keywords are now methods.
- Global keywords and warning statements have changed.
workflow.message(<message>)(see '@jetbrains/youtrack-scripting-api/workflow' module)
workflow.check(<condition>, <message>)(see '@jetbrains/youtrack-scripting-api/workflow' module)
Date.now()(standard JS date API)
- Some methods are changed completely:
new entities.Issue(<user>, <project>, <summary>)