Forums

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

Can I validate the custom field for any issue type

bezawadas July 7, 2020

I have a requirement where i created a field "interested parties" for change request issue type.I made that field as a text box where users can enter multiple email address separated with comma.I need show error message if the user tries to give username instead of email address and make sure if it is comma separated if users tries to enter multiple values. 

1 answer

0 votes
Vikrant Yadav
Community Champion
July 7, 2020

Hi @bezawadas you can  use regex validator in workflow to validate text field.

bezawadas July 7, 2020

can i show error message if the condition fails in the scenario where user creates an issue type and gives wrong data on the field?

Vikrant Yadav
Community Champion
July 7, 2020

Hi @bezawadas  you can set error message in validator..so that user can see message on the screen...if they entered wrong thing in text field

bezawadas July 7, 2020

can you send me any link for references

Vikrant Yadav
Community Champion
July 7, 2020

Hi @bezawadas  you can use this link for regex code :- https://www.regextester.com/99193

Or you can google more regex code to validate email address separated by comma.

I am assuming that you know how to implement validator in workflow. Thats why i am only sharing the code.

bezawadas July 7, 2020

validate.JPG

 

I need add validation to the below field....I am still confused if your asking me to use JIRA Automation workflow or normal workflow.

Vikrant Yadav
Community Champion
July 7, 2020

You have to put the validator in the workflow which is associated with this issue type. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events