Forums

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

Default value on custom field for a transition screen

NAVEEN KUMAR C July 20, 2018

1.How do I create custom field that will allow only uppercase alphanumeric values.

2.How do I create numeric field such that it restricts the field value to only 6 characters.

 

1 answer

0 votes
Yogesh Mude
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.
July 20, 2018

HI @NAVEEN KUMAR C

For the first point, I would say use Regular Expression check validator so that you can apply this validator and while the user will provide the custom field value it will check and allow.

Validator.png

With regards to the second point, you need to work with custom developed script validator.

NAVEEN KUMAR C July 20, 2018

Where do I find this Add Validator to transition and How do I add ?

Yogesh Mude
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.
July 20, 2018

This validator comes from Jira Suite Utility add-on. 

To add validator edit the workflow and select the transition on which you want to add then select the validator and click on Add Validator.

Choose the Regular Expression Check validator and add it.

If you don't want to use this add-on then this can be done using script hence you need to work on the custom script development and to apply this script you need to use Script Runner add-on.

Suggest an answer

Log in or Sign up to answer