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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 8.20.0
    • Component/s: REST API
    • None
    • 8.2
    • 16
    • Severity 2 - Major
    • 1

      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

            Assignee:
            Unassigned
            Reporter:
            Nick Yang
            Votes:
            20 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated: