How to see long Space names in the Search filter dropdown box?

We have some space names that get long, with the difference showing up at the end of the name (like long project names, ending with 'team', 'public', etc).

Is there a way to distinguish these names when using the 'Search' function with the filtering boxes, under the 'Where' dropdown that lists the spaces?

Other than using better names, I was hoping there would be some trick like holding the mouse over the names that have been shortened with the "..." at the end, and having the full name pop up. Or some way to make the dropdown box wider.

But I haven't found the fix yet, so our users end up picking a space and repeating if it wasn't the one they wanted.


2 answers

1 accepted

Hi Steve,

The answers above will work for the search text field :) For the filter dropdown box however, unfortunately it's hardcoded inside the Confluence code. If you have the source code, you could customize it there. It seems that Confluence will only limit the Space name to 20 character, in search filter panel. It's been tracked on CONF-15777 and CONF-16270.

We've found the cause of this issue in, in The variable is only defined as 20, which is very less.

You could change the following variable to maybe 50, and compile Confluence source.

private static final int MAX_SPACE_NAME_LENGTH = 20;

Please bear in mind that this is not actually tested, so please modify it with discretion.

Hope it helps!


Thanks. This is a not a huge problem for us, so we will get along with it like this rather than customizing the source and rebuilding. I'm glad to see that the issue is already being tracked.

Hello Steve,

You'll not believe what Answers can do! I found your question right here, and it works! Just tested!

You can change the width: to a higher value, I've used 25em;

Please let me know if it works for you!



Thanks for tracking down this link, I hadn't realized this was something that could be customized. If I can increase the width of the dropdown box that should sove our problem.

We've not done any customizing before, it looks like I'll need to get familiar with using stylesheets to get the css changes in. When I went to Stylesheet under the Look and Feel section in the Admin browsing, there was no existing style to edit yet, so I'll need to get a new one set up. Are there any template ones to start from? I'll start going through the customization sections in the manuals to better understand what I'm looking for.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,541 views 15 21
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