Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-8606

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Low
    • Next-gen
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: