The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Html text validation in a custom text type field

007989
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events