Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13586

Unable to send development information to Jira Cloud due to unrecognized field "unknownAssociations"

    XMLWordPrintable

Details

    Description

      Issue Summary

      This is reproducible on Data Center: reproducible on both server and DC

      Jira cloud has recently updated the response object of `StoreDevinfoResult` from https://developer.atlassian.com/cloud/jira/software/rest/api-group-development-information/#api-rest-devinfo-0-10-bulk-post 

      Due to the extra field, Bitbucket is unable to parse the response message and an error is thrown when trying to send development information to Jira cloud

      Steps to Reproduce

      1. Link Bitbucket with Jira cloud via OAuth(do not have the confusion about application link and atlassian tunnel, the integration of OAuth and application link are providing each different feature)
      2. Create repository and push up a commit with a Jira issue key

      Expected Results

      Commit appears on a Jira issue ticket on Jira cloud

      Actual Results

      The below exception is thrown in the bitbucket.log file:

      2022-12-05 10:54:21,378 DEBUG [httpclient-callbacks:thread-58] GEK3SF @18RX7MRx654x134541x0 g3zrw8 194.39.218.19,10.151.97.7,10.151.96.187 "POST /scm/.../..../git-receive-pack HTTP/1.0" c.a.s.i.j.c.c.DefaultResponseHandlerService Failed to make request to Jira Cloud
      com.atlassian.stash.internal.jira.http.json.exception.JsonUnmarshallException: Unable to unmarshall json response
      
      	... 1 frame trimmed
      Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "unknownAssociations" (Class com.atlassian.stash.internal.jira.cloud.client.model.devinfo.SubmitDevInfoResponse), not marked as ignorable

      Also, some environment faces getting "Network unavailable" on the UI on the Jira Cloud Integration page.

      Workaround

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

      Attachments

        Issue Links

          Activity

            People

              ysun Yingran Sun
              ysun Yingran Sun
              Votes:
              8 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: