|
Fixed for 3.7.2 according to the above solution.
Just make sure that if jira-users isn't first you don't a bunch of unhappy users!
Sam, and guys:
I have re-considered this issue and I think it may be unwise to go forward with this improvement/fix unless you provide a way (either in U.I. or properties setting) to revert to previous behaviour. The reason is that because one cannot rename groups I fear there may be an overwhelming negative reaction to this change. In fact, I myself would not like this change either! Because I created "Staff" as my first group, it's actually quite helpful that it appears first in the dropdown (after jira-users). So, again, although you've gone ahead and changed the behaviour for 3.7.2, I fear this "fix" may not be widely accepted unless there is a way to revert to the old behaviour or some way of configuring the sort. I sincerely regret making a note of this. In order for me to upgrade to 3.7 or higher, I will need a way of restoring the previous behaviour. I have a group called "Staff" which is one of the forst groups I created so it appears at the top of the dropdown choices. My users will be unhappy if this moves, and I can't rename the group. Please provide instructions for changing the bhaviour back to the old way. Shall I create a support request for that?
Neal, yeah best create a support request for this.
Neal,
Can't you just 'pad' the staff group with spaces, which will put it at the top of the group list? Further to my above comment - is there a problem with the new 'roles' functionality in JIRA? That is meant to supercede the usage of groups in most cases.
Hi Scott,
I'll see if that may help (my own trick, eh?) . I do have some custom code that displays certain operations based on Group Name, so I would have to change all that as well. Roles are not pertinent, I don't think, as the behaviour in the Comment Viewable dropdown is my issue. Anyway, I haven't tried 3.7 + in production yet, so I don't know what workarounds I can find. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
There is an easy fix for it. Just replace the following line in CommentSystemField (line 484)
with
List userGroups = new ArrayList(authenticationContext.getUser().getGroups()); Collections.sort(userGroups); groups = userGroups;I will schedule a fix for this bug to the earliest possible release as it is very easy to fix.
Kind regards,
Dushan