[JIRA] (JENKINS-57779) Bitbucket plugin JSONObject["username"] not found

32 views
Skip to first unread message

vasily.yanov@gmail.com (JIRA)

unread,
May 31, 2019, 4:21:02 AM5/31/19
to jenkinsc...@googlegroups.com
Vasily Yanov created an issue
 
Jenkins / Bug JENKINS-57779
Bitbucket plugin JSONObject["username"] not found
Issue Type: Bug Bug
Assignee: Unassigned
Components: bitbucket-plugin
Created: 2019-05-31 08:20
Priority: Minor Minor
Reporter: Vasily Yanov

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

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

sat@gna.es (JIRA)

unread,
May 31, 2019, 6:00:01 AM5/31/19
to jenkinsc...@googlegroups.com

mufahaza@gmail.com (JIRA)

unread,
May 31, 2019, 10:51:30 AM5/31/19
to jenkinsc...@googlegroups.com
Fauzan commented on Bug JENKINS-57779

same problem since yesterday

am using Bitbucket Plugin version 1.1.8

marionantes@gmail.com (JIRA)

unread,
May 31, 2019, 11:05:02 AM5/31/19
to jenkinsc...@googlegroups.com

I have the same problem, do you have any outline solution?

 

johnjames@brokenpixel.uk (JIRA)

unread,
May 31, 2019, 11:38:02 AM5/31/19
to jenkinsc...@googlegroups.com

Hi we are having the same problem that has affected a number of our Jenkins installs we are running behind nginx proxy with the error 


net.sf.json.JSONException: JSONObject["username"] not found.

My workaround that I am currently trying to do is to hardcode a username in the plugin source and rebuild the plugin just so we can get builds working again

eugene.riabchuk@cloudbeds.com (JIRA)

unread,
May 31, 2019, 12:54:02 PM5/31/19
to jenkinsc...@googlegroups.com

The same problem occurred in our organization 

balaaa01@gmail.com (JIRA)

unread,
May 31, 2019, 1:12:02 PM5/31/19
to jenkinsc...@googlegroups.com
bala k commented on Bug JENKINS-57779

Same problem in our installation as well.

connor.tumbleson@gmail.com (JIRA)

unread,
May 31, 2019, 2:05:02 PM5/31/19
to jenkinsc...@googlegroups.com

Took awhile to find this report. All webhooks now broken from Bitbucket due to this. 

zaverden@gmail.com (JIRA)

unread,
Jun 1, 2019, 2:15:03 AM6/1/19
to jenkinsc...@googlegroups.com

zaverden@gmail.com (JIRA)

unread,
Jun 1, 2019, 7:12:02 AM6/1/19
to jenkinsc...@googlegroups.com

vasily.yanov@gmail.com (JIRA)

unread,
Jun 1, 2019, 1:06:05 PM6/1/19
to jenkinsc...@googlegroups.com
Change By: Vasily Yanov
Status: Open Fixed but Unreleased
Resolution: Fixed

vasily.yanov@gmail.com (JIRA)

unread,
Jun 1, 2019, 1:06:05 PM6/1/19
to jenkinsc...@googlegroups.com
Vasily Yanov commented on Bug JENKINS-57779
 
Re: Bitbucket plugin JSONObject["username"] not found

Looks like the issue is solved. Thank you for quick turnaround!

vasily.yanov@gmail.com (JIRA)

unread,
Jun 1, 2019, 1:09:04 PM6/1/19
to jenkinsc...@googlegroups.com

mufahaza@gmail.com (JIRA)

unread,
Jun 12, 2019, 5:19:02 AM6/12/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages