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

This widget could not be displayed.
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.

This widget could not be displayed.
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
Atlassian Summit 2018

Meet the community IRL

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

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

60 views 2 3
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