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

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 Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

58 views 3 2
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