The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add validation for the date field in issue create screen

Sandesh TM
Contributor
October 3, 2023

We need to add validations for the custom date field in the issue create screen. How can we achieve that?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Radek Dostál
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 Champions.
October 3, 2023

Usually, through a workflow validator. If you have a validator (might need a plugin I'm afraid) there then it validates on "Create" button. Meaning if the date is not valid, then the user gets an error message (usually customizable to indicate the field w/ message), forcing them to change the value before trying again.

Out of box I don't think you can validate custom fields, but perhaps they added something in data center that I don't recall. Look around the validator options though if it contains something you could use.

TAGS
AUG Leaders

Atlassian Community Events