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

pupie December 9, 2013

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

0 votes
Answer accepted
RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 9, 2013

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

0 votes
Sergio December 9, 2013

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