JSP for sorting customfield options alphabetically

This functionality was added in JIRA 3.2, so this modification should not be necessary if you are using JIRA 3.2 or later.

JSP for sorting customfield options alphabetically

currently works with select and multiselect and cascadingselect Fields, see attached file. Use at you own risk!

Steps

Place JSP into secure/admin

for restricting access
*Download

Choose Field

access manually /secure/admin/sortCustomfield.jsp

choose field and click sort

check sorted field

before

after(2 clicks)

Info
  • feel free to modify
  • works with cascadingselect
place link

An easy way to integrate with Jira is to place following to EditCustomFieldOptions.jsp (line 60 or so)

<tr bgcolor=#ffffff>
  <td class="colHeaderLink" align=right>
    <a href="<%=request.getContextPath()%>/secure/admin/sortCustomField.jsp?key=<webwork:property value="/customField/id" />">Sort</a>
  <td>
</tr>

you will be redirected to edit customfield options

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Mar 14, 2005

    Anonymous says:

    Thanks. Works great on v3.1. Yoav.

    Thanks. Works great on v3.1.

    Yoav.