Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-76114

Rest API output from Jira server returned wrong JSON format for `Sprint` field

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.20.0
    • REST API
    • None

    Description

      Issue Summary

      Rest API output from Jira server returned wrong JSON format for this field.  

       

      com.atlassian.greenhopper.service.sprint.Sprint@4e78f5df[id=54378,rapidViewId=17749,state=CLOSED,name=PI15-BLR2-IP,startDate=2022-06-06T22:16:00.000Z,endDate=2022-06-20T22:16:00.000Z,completeDate=2022-06-21T06:55:31.396Z,activatedDate=2022-06-07T09:31:20.813Z,sequence=54378,goal=,autoStartStop=false] 

       

       

      This is a correct example from Jira Cloud:

      Steps to Reproduce

      1. try https://BASEURL/rest/api/latest/field find the `Sprint` field
      2. try https://BASEURL/rest/api/latest/issue/ISSUEKEY find the field output

      Expected Results

      in this example, it's PI15-BLR2-IP

      Actual Results

      com.atlassian.greenhopper.service.sprint.Sprint@4e78f5df[id=54378,rapidViewId=17749,state=CLOSED,name=PI15-BLR2-IP,startDate=2022-06-06T22:16:00.000Z,endDate=2022-06-20T22:16:00.000Z,completeDate=2022-06-21T06:55:31.396Z,activatedDate=2022-06-07T09:31:20.813Z,sequence=54378,goal=,autoStartStop=false]

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              802848781776 Nick Yang
              Votes:
              19 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: