how to remove blank space from both sides of the version before updating to the server on Version Management Tab?

my jira version is 4.4.1

on 'Versions' screen ,we can add new version.

if someone mistakenly add the version A " V0.1.0 ",this version A has blank space on both left and right side of the string.but the people is not aware of wrong version adding.

so what i want is that the jira can automatically remove blank space from both sides of the version before the version is added to the server.

anyone can tell is it possible to implement?

1 answer

This widget could not be displayed.

You'll need to do a bit of coding to do this.

A spot of javascript on the client side, or a "trim" line in the core code.

hi,Nic

where shall i put the javascript? or inwhich file can add the javascript?

Mmm, depends on your version of Jira, but I usually put it in the description of fields. I have a feeling that later versions of Jira will be blocking this though.

hi,Nic

on Version Management Tab,i wonder if the version has field description ?

version is not field.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

101 views 0 8
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