custom field- count lenght in jira

I want to add a field in JIRA which need to be numeric only and that it should have perfect count of 7. That field shouldnt contain more than 7 or less than 7.

2 answers

Most likely some reference to an external system... ?

You can use a regular expression validator, you can do this with Script Runner or there are plugins that offer this in a more targeted way.

Thanks Jamie for your suggestion. Can i accomplish this by using a validator in workflow? if yes which validator condtion could help me to achive this?

Why would you want all your issues to contain a field which is always equal to "7" ? What are you actually trying to do with that field ?

If you're sure that's what you need - then make the field default value to be 7 and then make it read only through the appropriate Field Configuration Scheme.

Thanks for looking into this issue. This is a filed where user enter a code for one of our application. the code is limited to 7 digit however due to typo they some time enter it 6 digits or 8 digits and then we need to verify the code with the users again. so if i have filed which validates it during the ticket creation will solve my purpose.

Oh you ment length of the digits :). I thougth you just want the number 7 :). Then look at what Jamie suggested

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,698 views 18 21
Read article

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