Change number of suggested labels in Jira Server or Data Center
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
The number of Suggested Labels displayed when editing the Labels field is too many or too few. You may want to adjust this number to your preference.
Solution
Edit jira-config.properties to change from the default 20 suggestions
As can be seen in the JIRA Installation Directory\atlassian-jira\WEB-INF\classes
\jpm.xml
, the default value of the jira.ajax.autocomplete.labelsuggestion.limit
is set to 20 by default.
1
2
3
4
5
6
<property>
<key>jira.ajax.autocomplete.labelsuggestion.limit</key>
<default-value>20</default-value>
<type>uint</type>
<user-editable>false</user-editable>
</property>
To update the default value modify the <JIRA_HOME>/jira-config.properties file to include the following:
1
jira.ajax.autocomplete.labelsuggestion.limit = <value>
⚠️ If the jira-config.properties file does not exist it can be created in the Jira Home directory.
Then restart your Jirainstance for the change to take effect.
Was this helpful?