Hello,
We were using Jira 6.1.6. We have introduced some changes on the comment-edit.vm file to restrict the comment visibility to a certain role by default. The lines were the following:
#set ($selectedCommentLevel = "role:XXXXX")
#if ($jiraUserUtils.getGroupNamesForUser($authcontext.getLoggedInUser().getName()).contains("some_group"))
#set ($selectedCommentLevel = "role:XXXXY")
#end
After we migrate to 6.2.6, i looked for the file to add this lines again, but i found that there was not comment-edit.vm on the template folder.
I made a fresh install of a 6.2.6. in a test environment, and the file wasn t present either.
I put a copy of the file on the template folder of this new instance (with the proper instance group and roles ids ) but nothing happened (auto reload of velocity templates was set to true on velocity.properties and i also restarted Jira just in case).
any thought of how can i force this default again? could the location of this file has changed? may i have to add this comment-edit.vm to an 'index-like' file so Jira can load it?
Any ideas would be very appreciated,
Thanks,
Pablo da Silva
Hi Pablo,
I believe the file you are looking for has been renamed to system-comment-field-edit.vm and changed paths after JIRA 6.2.1.
It can now be found in the path below:
I hope this information helps.
Cheers,
Danilo
Hello Danilo, thank you so much, i found the file on that new location and now i can modify it as needed.
Best Regards
Pablo da Silva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.
Learn moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.