Issue Summary

      Custom Fields REST API call returns custom fields type incorrectly

      Steps to Reproduce

      1. Run the following rest call:
        GET /rest/api/2/customFields
        

      Expected Results

      As per the docs https://docs.atlassian.com/software/jira/docs/api/REST/7.12.1/#api/2/customFields-getCustomFields we get a results with the type as shown below:

      {
          "id": "customfield_10000",
          "name": "New custom field",
          "description": "Custom field for picking groups",
          "type": "com.atlassian.jira.plugin.system.customfieldtypes:grouppicker",
          "searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher"
      }
      

      Actual Results

              {
                  "id": "customfield_10200",
                  "name": "My Select List",
                  "type": "Select List (single choice)",
                  "searcherKey": "My Select List",
                  "self": "http://localhost:7121/jira7_12_1/rest/api/2/customFields/customfield_10200",
                  "numericId": 10200,
                  "isLocked": false,
                  "isManaged": false,
                  "isAllProjects": true,
                  "projectsCount": 0,
                  "screensCount": 5
              }
      

          Form Name

            [JSWSERVER-19762] Custom Fields REST API call returns type incorrectly

            Aakrity Tibrewal made changes -
            Resolution New: Low Engagement [ 10300 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            Aakrity Tibrewal made changes -
            Labels Original: triaged New: cleanup-seos-fy25 triaged
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS New: 1
            Bugfix Automation Bot made changes -
            Minimum Version New: 7.12
            SET Analytics Bot made changes -
            Support reference count New: 1
            Mohamed Riza (Inactive) made changes -
            Priority Original: Low [ 4 ] New: Medium [ 3 ]
            Pawel Drygas (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Pawel Drygas (Inactive) made changes -
            Component/s New: Documentation [ 12975 ]
            Pawel Drygas (Inactive) made changes -
            Occurrence Factor New: 25% [ 12831 ]

              Unassigned Unassigned
              mriza Mohamed Riza (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: