Dear Support,
I have a query regarding the customization of fields in Jira.
Is it possible to create a field where users are required to input only a serial number? The serial number format should consist of two letters followed by a sequence of five numbers (e.g., AB12345).
Your assistance in this matter would be greatly appreciated.
Thank you for your attention to this request.
Hi @thiago
Out of the box in Jira, you can use the Regular Expression Check Validator against any Text Field. However, you would need to add the validator on every transition, including the Create Issue transition. Here's how you would configure it:
If you're looking for a better validation message, you'll need an app with a Jira expression validator, which you can find on the Atlassian Marketplace
I am from Forgappify, and we also developed Jira Expression Validator, which is part of the Workflow Building Blocks for Jira
For your case, the Jira expression would be as follows:
You need to change id of the customfield to your field.
I hope it will help.
Cheers
@thiago there is no default field type that would let you do that.
It is possible that an app exists but you would have to look at the app marketplace to see if you could find one..
You could also add a validator to a workflow transition to check that the format of the serial number is correct and if not stop the transition from occurring as well as displaying an error popup stating that the serial number needs to be in the format AANNNNN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @thiago and @Stephen_Lugton,
I am part of the Decadis team and I would like to share that such a validation would be possible with a JWT for Jira Cloud Jira expression validator that checks if a Text field (single line) contains a text that matches a given regular expression.
If you are interested in our app and need more information about how to configure the validator for this purpose, please, feel free to create a request in our support portal or to reply to us in this thread.
Best regards,
Vicente
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.