Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57779

Bitbucket plugin JSONObject["username"] not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • bitbucket-plugin
    • None

      Hi! Just faced with the issue with Bitbucket cloud webhooks. At webhook status page I see error 500 and in Jenkins logs I see:

      WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving https://jenkins.my.domain/bitbucket-hook/
      net.sf.json.JSONException: JSONObject["username"] not found.

      After quick investigation I recognized that Bitbucket depricate and remove username field from the api request. More details here:

      https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/?_ga=2.164415676.2088283489.1559219877-1322535506.1557927444

       

       

            Unassigned Unassigned
            vasili439 Vasily Yanov
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: