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


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.



1 answer

1 accepted

This widget could not be displayed.

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

629 views 8 6
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