Hi All,
I would like to know if it is possible to create a Html text validation in a custom text type field. As an example, you can see the table in the screenshot where we have a “Requirements” part and a “Answers” part. It is necessary that the user does not leave the "Answers" section empty when changing the status. Unfortunately we are not using Scriptrunner.
Hi Javid,
Using a validator to parse the markup for the table would be complex and tricky to do, so I would not advise this.
An alternative approach would be to make each question in the table its own text field and then you could write a workflow validator to ensure each field is not empty during the transition.
You could then use the fields required validator which Jira provides out of the box to validate that the field is not empty during the transition.
I hope this helps.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.