Disable comment auto collapse in Jira
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
Purpose of this article
Jira automatically collapses comments by default when opening any Jira issue, forcing users to manually expands comments to see the entire discussion in the issue.
The parameter jira.comment.collapsing.minimum.hidden defines how many comments you need to have in addition to the baseline of 10 (minimum number of issues Jira will display before collapsing anything - not configurable; see JRASERVER-72359 - Create option for the number of visible comments).
If you have this parameter at 1 (default value on Jira 9+) this means Jira will not load the oldest comment when you have 11 comments.
Environment
Jira Server / Data Center on any version from 8.0.0
Resolution
The comment collapsing be disabled via either method listed below.
Method 1
Navigate to
Administration >> System >> General Configuration >> Advanced Settings
Set the jira.comment.collapsing.minimum.hidden parameter to 0
Method 2
Add the following line into your jira-config.properties file:
1
jira.comment.collapsing.minimum.hidden=0
ℹ️ The jira-config.properties file is not created by default in a new Jira installation. For further details on adding this file and its location, please refer to Advanced JIRA Configuration
Known issue
This solution stopped working in Jira 9.0.0, due to the bug JRASERVER-74440 - jira.comment.collapsing.minimum.hidden is no longer working on 9.x
The bug was fixed in 9.4.6 and 9.8.1 Jira releases, therefore it is necessary to upgrade to either version (or any higher version) for the jira.comment.collapsing.minimum.hidden parameter to work again.
Was this helpful?