How do I enforce a minimum length of value for a text filed when creating issues?

How do I enforce a minimum length of value for a text filed when creating issues?

For example I use a text filed to record repeat steps for issues but I want to enforce reportor that he/she should provide enough information in it.

2 answers

1 accepted

you mean the field should't be empty? if yes then use field required validator which is in JSU plugin

https://jsutil.atlassian.net/wiki/display/JSUTIL/JIRA+Suite+Utilities+Workflow+Validators

if you wan to force the user to specic value then you need to develop your own validator

using Regex Validator from the following plugin

https://marketplace.atlassian.com/plugins/ru.andreymarkelov.atlas.plugins.utils

You can add a condition on transition that checks the length of a field. There are some plugins out there for conditions based on regular expressions (JJupin with SIL scripting, JIRA Workflow Toolbox and more).

Check the market place:

https://marketplace.atlassian.com/search?application=&category=&cost=free&hosting=&marketingLabel=&q=condition

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

758 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you