Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

CSV import labels - spaces are not allowed in label name in csv.

Santhosh R Bhat
Contributor
August 9, 2023 edited

Hello All,

 

I m using jira cloud. I would like to import 2 issues into Jira. The 3 issues have all the required filed as well as label as one of the field.

I have csv file containing 2 issues with labels. The values of label for each issue are

Test Module 1

Test Module 2

 

 

While importing the csv the following error appears.

Issue can't be created due to the error/s [The label "Test Module 1" can't contain spaces]

Issue can't be created due to the error/s [The label "Test Module 2" can't contain spaces]

 

1) I tried adding the labels between single quote / double quotes in the csv file. The same error is displayed. 

2) The word "Test Module 1" is a single label, not multiple labels.

3) If the label is changed to "Tes-Module-1", the import works properly.

 

Please suggest how to import labels with spces.

 

Thanks

Santhosh R. Bhat

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
August 9, 2023

Hello @Santhosh R Bhat 

Spaces are not allowed in Labels values at all, even if you enter the values directly in the UI.

Screen Shot 2023-08-09 at 11.01.38 AM.png

 

You need to use dashes or underscores instead of spaces.

Matt Doar
Community Champion
August 9, 2023

[ and ] are not allowed either.

Colons are a valid character but will cause the labels not to appear in the autocomplete text.  JQL searches for labels with colons seems to work though.

Equals (=) seems to work

There is also a limit of 255 characters for a label

Like • 2 people like this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events