Can we create custom validation on an existing field while creating an issue

Bhaskara Rao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 9, 2025

I am planning to create a validation script for an existing field like "Summary" field to validate the particular string is existing or not. this validation should be happen before creating an issue

1 answer

0 votes
Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2025

In the workflow transition to Open (or your starting status), you can add a regular expression validator

Steps to follow (Need JIRA Admin permission)

  1.  Click on Edit Workflow
  2. On Create step, click on it and you would see Validators on the right side
  3. Click on Validators and then Add Validator
  4. Use Regular Expression Check against the field. if the regex does not match, then issue won't be created.

snip.png

Suggest an answer

Log in or Sign up to answer