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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

725 views 2 13
Read article

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