Hello Everyone!
I want customer to input Either Yes or No in one of the custom field I have. I don;t want to create a radio/Check box field type. I want the field type to be short text & somehow want to add a condition or trigger/validator that checks if Customers have typed yes or no.
If it's any other random letters, I want it to default it to NO. is this possible? Thanks in Advance
Hi @Prerana Bhatt Koulmane Sathyanarayana
You may have your reasons, but in the User Case you have described, the normal options would be to create the field as a Single Choice Custom Field , with Yes or No options, and default to No.
This is for Custom Fields, and you can not do any Regex at that time.
However (see below) if you use a form, then you can.
Then go into the Context and set the Default.
If you want to use a Form, then Yes, you could do that, and link you Custom field to the Form Field
This field will ensure that the field is Yes or No, but it will not default to No, if someone enters something else.
Hope there are some options for you there.
Mark
Thank you Mark. Appreciate your insight.
I will see if our team is okay with this. We were looking in JIRA for something similar to a Boolean function with Yes or No option. My guess is that this probably the closest option
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Prerana Bhatt Koulmane Sathyanarayana
Jira doesn't have a boolean data type, and I looked at the last update on the request was 2016 :-)
Assets does allow a Boolean,
which allows True or False, but not Yes or No.
Good luck
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Prerana Bhatt Koulmane Sathyanarayana
Are they entering "YES" or "NO" from the portal screen when they are creating the ticket? If so, you can have a validator check with reg expression at creation: https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-validators-for-company-managed-projects/ (You will have to figure out what the exact reg would be though).
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.