Is it possible to have the comments, that appear under the activities section of a JIRA ticket, show as "default" collapsed rather than expanded like it is currently?
I didn't see this as an option in the system or general configs. Is there a little piece of code our programmer could tweak?
Thanks
Community moderators have prevented the ability to post new answers.
You could put the following code in the announcement banner. Might need a bit of tweaking... I don't think if you add a comment then that comment should be shown as collapsed but up to you (if you don't want that then don't apply this to the divs with highlighted class):
<script language="Javascript">
AJS.$(document).ready(function() {
AJS.$("div.activity-comment").addClass("collapsed").removeClass("expanded")
});
</script>
Better to write this as a speakeasy plugin and let people use it if they want to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.