How can I specify underscores in JIRA labels?

JIRA replaces underscores with a space when creating a label("test_label" -> "test label")l? How can I create labels with underscores in them?

2 answers

1 accepted

Turnes out JIRA will accept labels with underscores but it is sometimes diplayed as a space depending on the browser used. It isn't possible to create labels with spaces in them.

0 vote
Gaston Valente Community Champion Mar 14, 2017

Hi, try this:

  1. Write the label with underscores, don't press enter
  2. select the option below at the autcomplete ( "LABEL" New Label )

worked for me, hope it helps

 

Screen Shot 2017-03-14 at 09.27.31.png

Screen Shot 2017-03-14 at 09.27.38.png

 

Hmm, I did that and the underscore is still replaced with a space. I'm on v6.4.13 btw.

Gaston's suggestion will work on jira6 as well. Though this will appear that it is not having underscore 

 

image2017-3-14 21:45:3.png

But the moment you click on update it will appear as

image2017-3-14 21:46:27.png

Hi Alok,

 

you're right. When the field is written the underscores show up. Now my problem is I cant create labels with spaces in them since the underscores always show up.

Being able to get underscores into a label seems like a bug in what JIRA expects. So I wouldn't do it

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published 12 hours ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

304 views 4 4
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