Forums

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

Html text validation in a custom text type field

Javid Huseynli
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 23, 2025

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.

Capture.PNG

1 answer

0 votes
Kristian Walker _Adaptavist_
Community Champion
April 23, 2025

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

Suggest an answer

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

Atlassian Community Events