Is it appropriate to use composite labels tied by an underline or hyphen?

Sergio Storch August 23, 2012

I need to have labels made of a set of words. What s the best way to do it?

2 answers

1 accepted

0 votes
Answer accepted
Jeison
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 23, 2012

Hey Sergio,

I'd go with underline, but that's only my personal opinion. It actually doesn't make difference, but I'd say it is important that you create your own pattern, and stick to it.

Cheers.

Sergio Storch August 23, 2012

Thanks, Jeison

Now, a problem I ve had with using any of both is that the autocomplete function in Confluence 4.2 doesn t work. The composite labels don t appear.

Is there a solution for that, or is it a case to be resolved in later versions?

Bye

Jeison
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 24, 2012

Hi Sergio,

It should be working. I just tested in my own instance (v.4.2), and it worked perfectly. You should raise a ticket at support.atlassian.com to have this resolved for you.

Cheers

0 votes
Mykenna Cepek
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2024

I know this is an ancient thread, but for others who search for "CQL" and "labels" and "hyphen" or "underscore"...

I discovered today (in Confluence Data Center v8.5.8 that labels with a hyphen will cause CQL to fail unless you quote them, but underscores are fine. For example:

label IN (apple_store)

will work fine but

label IN (apple-store)

will fail until you rewrite it as

label IN ("apple-store")

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events