Hi,
Can I put a validation on text or number field in JIRA ? Case sensitive or Digit length . If yes then how ?
Hello Suchita,
I hope you are having a nice day.
Just to confirm that I have properly understood your question, you would like to verify that your field is been added with the correct format (Case sensitive, Digit length, etc) and block the field to be edited until the data match the format you are expecting to be used. Is that correct?
If I have properly understood it, validators on JIRA can only be configured on workflow transitions.
That been said, if you have any fields that you would like to have validated against an expression, you would need to add it only to the view screen and the screens added to the transitions, not allowing the fields to be edited out of the transition.
The validator that you might use to get the content of the fields validated in Case sensitive and the number of characters would be the Regular Expression Check.
This Validator receives The JAVA compliant regular expression used to validate the field contents. For example:
To add a validator to your workflow transitions, you can follow the steps below:
- Navigate to your project > Project Settings > Workflows > Edit
- Select the transition > Click on Validators
For more information about this, you can refer to the documentation below:
- Advanced Workflow Configuration
Let me know if this information helps.
Hi Petterson,
Thanks for the input, you got my question correctly.
I have one text field and I want to check character length of 8 digit , the filed can be alphanumeric and first three characters needs to be fixed like OP#45678.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.