Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-13477

Empty JSON fields in PR POST service

    XMLWordPrintable

Details

    Description

      During the last days we have noticed that there is a problem with the JSON information being sent by the PR POST service. For example, this is the JSON we received from this pull request:

      {"type"=>"pullrequest",
       "description"=>
        "* add missing test file\r\n\r\n* allow gearbox reference body to be specified separately for parent and child joints. add passthrough of springReference and springStiffness joint extensions.\r\n\r\n* fix branch name",
       "links"=>
        {"decline"=>{},
         "commits"=>{},
         "self"=>
          {"href"=>
            "https://api.bitbucket.org/2.0/repositories/_jrivero_/sdformat/pullrequests/3"},
         "comments"=>{},
         "merge"=>{},
         "html"=>
          {"href"=>"https://bitbucket.org/_jrivero_/sdformat/pull-requests/3"},
         "activity"=>{},
         "diff"=>{},
         "approve"=>{},
         "statuses"=>{}},
       "title"=>"Collision blobs spring gearbox",
       "close_source_branch"=>false,
       "reviewers"=>[],
       "destination"=>{},
       "comment_count"=>0,
       "id"=>3,
       "source"=>{},
       "state"=>"OPEN",
       "author"=>
        {"username"=>"_jrivero_",
         "type"=>"user",
         "display_name"=>"Jose Luis Rivero",
         "uuid"=>"{d12309b2-f745-42ee-b119-aec4fcdf81fe}",
         "links"=>
          {"self"=>{"href"=>"https://api.bitbucket.org/2.0/users/_jrivero_"},
           "html"=>{"href"=>"https://bitbucket.org/_jrivero_/"},
           "avatar"=>
            {"href"=>"https://bitbucket.org/account/_jrivero_/avatar/32/"}}},
       "created_on"=>"2016-10-27T16:50:04.117275+00:00",
       "participants"=>[],
       "reason"=>"",
       "updated_on"=>"2016-10-27T16:50:04.232387+00:00",
       "merge_commit"=>nil,
       "closed_by"=>nil,
       "task_count"=>0}
      

      Thanks.

      Attachments

        Activity

          People

            kelwert Kaleb Elwert (Inactive)
            3fb668c5af02 Jose Luis Rivero
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: