Response Payload missing a field value for "Project Releases/Versions" API call.

XMLWordPrintable

    • 3

      Problem Statement:

      On the Releases Page, we have a new field which is named as "Give this section a name" and when running the API call to fetch the "Project Versions", unable to get that field information or update the same.

      • The API only provides the below Response in the Response Payload.
      • Request Call:
      curl --request GET \
        --url 'https://your-domain.atlassian.net/rest/api/3/project/{projectIdOrKey}/version' \
        --user 'email@example.com:<api_token>' \
        --header 'Accept: application/json'
      
      • Response Call:
      {
        "self": "https://your-domain.atlassian.net/rest/api/3/project/PR/version?startAt=0&maxResults=2",
        "nextPage": "https://your-domain.atlassian.net/rest/api/3/project/PR/version?startAt=2&maxResults=2",
        "maxResults": 2,
        "startAt": 0,
        "total": 7,
        "isLast": false,
        "values": [
          {
            "self": "https://your-domain.atlassian.net/rest/api/3/version/10000",
            "id": "10000",
            "description": "An excellent version",
            "name": "New Version 1",
            "archived": false,
            "released": true,
            "releaseDate": "2010-07-06",
            "overdue": true,
            "userReleaseDate": "6/Jul/2010",
            "projectId": 10000
          },
          {
            "self": "https://your-domain.atlassian.net/rest/api/3/version/10010",
            "id": "10010",
            "description": "Minor Bugfix version",
            "name": "Next Version",
            "archived": false,
            "released": false,
            "overdue": false,
            "projectId": 10000,
            "issuesStatusForFixVersion": {
              "unmapped": 0,
              "toDo": 10,
              "inProgress": 20,
              "done": 100
            }
          }
        ]
      } 
      • There is no Key:Value pair where the response is providing the data from the above mentioned field.

      Suggestion:

      Please a Key:Value pair for the "Give a name to this section" field to be fetched with the above API as currently we only fetch the "Name" and "Description" in terms of information about a Verison

      An PUT method API call to update the "Give a name to this section" field through key value pairs similar to getting the data

            Assignee:
            Unassigned
            Reporter:
            Vaibhav Revankar
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: