Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-10449

REST representation bug for "com.pyxis.greenhopper.jira:greenhopper-releasedmultiversionhistory"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Low
    • None
    • None
    • None
    • None

    Description

      GH adds custom field Release Version History with com.pyxis.greenhopper.jira:greenhopper-releasedmultiversionhistory key and its representation in REST seems to be invalid.

      Please note two '[' for allowedValues which makes it an array or arrays. Shouldn't it be a simple array as the other allowedValues sections? Is it possible for this field to contain more than one value? (JIRA Java Rest Client fails parsing this field):

      "customfield_10702": {
                              "required": false,
                              "schema": {
                                  "type": "version",
                                  "custom": "com.pyxis.greenhopper.jira:greenhopper-releasedmultiversionhistory",
                                  "customId": 10702
                              },
                              "name": "Release Version History",
                              "operations": ["set"],
                              "allowedValues": [
                                  [
                                      {
                                          "self": "https://itrack.web.att.com/rest/api/2/version/10981",
                                          "id": "10981",
                                          "description": "CAP GUI",
                                          "name": "178.jar",
                                          "archived": true,
                                          "released": false
                                      },
                                      {
                                          "self": "https://itrack.web.att.com/rest/api/2/version/10982",
                                          "id": "10982",
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jjaroczynski Jacek Jaroczynski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: