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

2 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,140 views 13 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot