I am using Scriptrunner in Jira Cloud.
I create a workflow from A to B with transition C.
In this transition C, I want to validate a custom field "Epic Document 1".
It is a multi-select field.
What should I do to add script to validate this transition that when I go from A to B, the user must fill out this custom field?