Hey folks, I need your help with validation.
The task is -
- during transitioning to -> %targetStatus%
- Custom multiline field "A" should't match exact string "ab"
- In case it matches - we don't allow transition, and bring up the error of "you need to add info to field “A” in order to move to %targetStatus%”
Jira Cloud, no additional plugins like scriptrunner are added.
The Crutch..
The crutch of previous days that doesn't allow me to handle that situation above the proper way (to just not allow empty field during transition):
is that Jira Cloud doesn't allow to show empty custom field in the issue view.
Because of that I have to predefine that field with "Don't forget to fill this field before Code Review".
And no, adding " " or double space " " doesn't help you - as Jira Issue View renderer still counts " " and " " as EMPTY. Thus doesn't show EMPTY custom field 