Hi All,
I'm trying to make a Custom Filed characters limitation while creating an epic.
I've tried 2 possibilities but it didn't work, let me share them with you.
1.
Go to Project Setting > Workflows
Edit the workflow for the affected issue type
Switch to Diagram mode
On Create transition, click on the Validators
Choose Add Validator > Regular Expression Check
- > Well I do not have such an option in my Jira ....
2.
I used a simple script validator :
String myCF = cfValues["Summary"];
if (myCF.length() == 4 && myCF.isInteger()) {
1 == 1;
}Well in that case if I put more than 4 character , indeed there is a error msg, but if I put 4 or less characters there also the error msg.
Do I have something wrong in my script ?
Thank you, dear community, for your help
Regards,
Wojtek