That cannot be done with an automation rule (and you have posted this question in the automation area).
Instead please consider using a workflow validator for the field: https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/#Validators
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.