How can the space key format (regex) be changed?

Hi,

we use Confluence spaces for projects (connected to JIRA projects). In JIRA, it is possible to change the project code format through regex. Can this also be done in Confluence? Our project code format contains dash ('-') characters, but Confluence per default doesn't allow them in space keys.

Thanks,

Martin.

1 answer

1 accepted

Hi Martin.

The space key cannot be changed (more info in Editing Space Details).

Also, the key can only contain letters and numbers (more info in Setting up a New Global Space).

I know, too bad. I'm using the space key together with CustomWare's reporting and scaffolding plugins as a key to use in sql queries to automatically display information from several databases on a "Dashboard" page per project. All the PMs need to do is copy a template space and enter the project code as space key.

As a workaround, we now use lower-case "x" instead of "-" in the space key and replace it with "-" in the sql queries to return the correct data. Dirty solution, but works.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

902 views 23 12
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