How to force uppercase or lowercase when entering data in labels?

Hi there,
do you think this is achievable to force uppercase or lowercase when entering text in labels?
Today people can enter a value either with big case or either with small case as well, it means the same value/text can appear several times in labels.
Thank you!

2 answers

1 accepted

Accepted Answer
2 votes
David Simpson Community Champion Jul 03, 2011

In Confluence all labels seem to default to lower case.

If you mean JIRA, you'll need to add some JavaScript like this:

AJS.$('#labels-textarea').live('blur',function(){
AJS.$(this).val( AJS.$(this).val().toUpperCase() );
});

Either find a suitable JavaScript file to update, or hack it into the admin section in a similar manner to this.

Hi Davis,

thank you for your comment, I'll check your solution (JIRA related).

And sorry to be late in my reply but I have some difficulties to understand how this new forum works.

Thank you.

François.

David,

I pasted the code in the annoucement banner but this code is displayed as a text in the banner.

Is there something else to do? Sorry I have no knowledge with javas, html, ...

Thank you! François.

Penny Wyatt Atlassian Team Jul 09, 2012

That's JavaScript, you'll need to wrap it in <script> </script> tags for it to execute.

David Simpson Community Champion Jul 09, 2012

François, Penny is exactly right. wrap it in script tags :)

Dear friends,

It works like a charm. and better as I could imagine.

Thank you ...

François.

0 votes
Penny Wyatt Atlassian Team Jul 03, 2011

In which application? JIRA, Confluence, or Answers itself?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 3 hours ago in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

13 views 0 0
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