Implement Alphabetical Sorting for options of "User Is In Group Custom Field" selection list in workflow editor

XMLWordPrintable

    • 1

      Issue Summary

      The options of "User Is In Group Custom Field" selection list in workflow editor are not sorted in alphabetical order which makes it difficult to find correct options when there are so many options in the dropdown

      Steps to Reproduce

      1. Let's take multi-user selection field for comparison. If I want to add a condition using it, I can do this:

      1. Click "Add condition"
      2. Select "User Is In Custom field", click "Add"
      3. Select "in field" from "User must be"
      4. Select the field name from "Field", which field names are sorted by alphabetic order, which I can easily find the one I want, and then click "Add:

      Now, what I want to use is not a multi-user selection field, but a multi-group selection field. So I need to:

      1. Click "Add condition"
      2. Select "User Is In Group Custom Field", click "Add"
      3. Now here's the tough part. I need to find the field name from the "Group selector". However, it is not sorted in alphabetic order. Please check attached screenshot from my lab instance. 
      Link: https://vbjsw4.atlassian.net/secure/admin/workflows/AddWorkflowTransitionConditionParams!default.jspa?workflowName=Copy%20of%20Software%20Simplified%20Workflow%20for%20Project%20KAN&workflowMode=draft&descriptorTab=conditions&workflowStep=11&workflowTransition=51&pluginModuleKey=com.atlassian.jira.plugin.system.workflow%3Aisuseringroupcf-condition&atl_token=37d9cd43115e4f49cb974f59bf0ecbe3b3bab496_lin&count=1

      Expected Results

      Options for "User Is In Group Custom Field" should be sorted in alphabetical order.

      Actual Results

      Options for "User Is In Group Custom Field" are sorted in random order.

      ...
      

      Workaround

      NA

              Assignee:
              Unassigned
              Reporter:
              Vishal Bhatt (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: