Name for "issuetype" field is returned as "Issue Type" instead of "Request Type" in REST API for next-gen JSD projects

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      In the issue REST API (/rest/api/3/issue/{issueIdOrKey}), the name for the "issuetype" field is returned as "Issue Type" for next-gen JSD projects when it should be "Request Type". In our native apps, we display the field name in our Issue screen and showing an "Issue Type" can be confusing/misleading.

      Steps to Reproduce

      1. Find or create an issue in a next-gen JSD project
      2. Fetch the issue via the issue REST API (/rest/api/3/issue/{issueIdOrKey})
      3. Inspect the JSON

      Expected Results

      The name for the "issuetype" field is "Request Type"

      Actual Results

      The name for the "issuetype" field is "Issue Type"

      "editmeta": {
          "fields": {
      [...]
            "issuetype": {
              "required": false,
              "schema": {
                "type": "issuetype",
                "system": "issuetype"
              },
              "name": "Issue Type",
              "key": "issuetype",
      [...]

       

      Workaround

      We could rename the field name client-side but that would require the same change in all clients and can lead to localisation mismatches.

            Assignee:
            Unassigned
            Reporter:
            Simon Stiefel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: