"Add comment" button missing after Jira 9.12.17 upgrade
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
After upgrading Jira, the Add comment button has disappeared, and the text "comment.add.sticky.footer.placeholder
" appears in the textbox instead of the text "Add a comment..."
Similarly, the Confirm button for the date picker field shows the text "date.picker.confirm.selection
"
Environment
Jira Data Center version 9.12.17+
Solution
Restore key-value pairs in the JiraWebActionSupport.properties file
The behavior of the Comment and Date picker fields on the View issue screen is defined in the JiraWebActionSupport.properties
file. This file is used to manage and provide translations for Jira's user interface, and contains key-value pairs where each key corresponds to a specific text string used in Jira's web actions, and the value is the text to be displayed to users.
It can be found in the following location:
<jira_installation_directory>/atlassian-jira/WEB-INF/classes/com/atlassian/jira/web/action/JiraWebActionSupport.properties
The placeholder values for the Add Comment and Confirm buttons is likely missing from this file. Ensure both of the following lines appear as displayed below with the placeholder text included:
comment.add.sticky.footer.placeholder = Add a comment...
date.picker.confirm.selection = Confirm
After making the adjustments to the file, stop and re-start the Jira process for changes to take effect.
Confirm when the properties file was modified
To check if and/or when the JiraWebActionSupport.properties
file was modified, review the Jira startup logs in the most recent Jira starting event (atlassian-jira.log
):
___ Modifications ___________________________
Modified Files : log4j2.xml, com/atlassian/jira/web/action/JiraWebActionSupport.properties
We can also check for modified files from the UI by navigating to Jira Administration (⚙ icon) > System > System Info
If incorrect modifications have been made in the JiraWebActionSupport.properties
file or incorrect permissions are set to the file (for example, the user account running Jira does not have access to the file) then it will result in the above issues.
Was this helpful?