How to display a custom message on create screen when using a validator

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

There are requirements from customer where the user wants to restrict creation of certain issue types on create screen and want to display a custom message on create screen.

Environment

Jira Cloud

Diagnosis

It is possible to restrict an issue type on the create screen by using the workflow validator as described in this article Restrict the creation of issue type. The limitation is also mentioned in the below Feature request Feature request. The challenge here is to display a custom message to the user on the create screen as the error message represents the workflow validator that is applied here.

Solution

There are some workarounds that can be applied here. These might not be the perfect solutions.

* Try Automation and sent a customised email to users who does not belong to the group. A sample automation rule below.

(Auto-migrated image: description temporarily unavailable)

* Have a Advanced custom field like message custom field (for edit) (available under Advanced custom fields) and add this custom field to the issue create screen.

(Auto-migrated image: description temporarily unavailable)

* Another alternate solution is to use script runner as mentioned in the below community post.

Scriptrunner

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.