Space Directory shows '$action.convertToNiceTeamLabel($teamLabel.getName())' for some categories

Still need help?

The Atlassian Community is here for you.

Ask the community

This article only applies to Atlassian's server products. Learn more about the differences between cloud and server.


When viewing the Space Directory, some categories are appearing with '$action.convertToNiceTeamLabel($teamLabel.getName())'.


Diagnostic Steps

Run the following database query in your Confluence database:

1. Verify if there is a label with empty name.

select * from LABEL where NAME is null and OWNER is null and NAMESPACE = 'team';

2. Verify if there is content associated to that label.

select * from CONTENT_LABEL where LABELID=<labelid_from_query_above>;
select TITLE from CONTENT where CONTENTID=<contentid>;
If the first query return any result, this may trigger the issue with label autocomplete in the affected pages as return in the second query


The issue is caused by null labels. Verified by checking the result from the database query in the diagnostic step.


Please run the following database query in order to delete the null labels:

delete from CONTENT_LABEL where LABELID = <labelid_from_first_query>;
delete from LABEL where LABELID = <labelid_from_first_query>;

Always back up your data before performing any modifications to the database. If possible, test any alter, insert, update, or delete SQL commands on a staging server first.

Last modified on Sep 4, 2019

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.