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

0 votes

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
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

145 views 2 6
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