Cannot get bamboo gadgets to display in Jira.

Ken Wood
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2012

I've tried every combination of parameters in the application links that I can think of, and I just can't get several gadgets to work.

Running Jira 4.4.5 and Bambo 3.4.3

First, Bamboo is clearly communicating with Jira because it displays issues and information from Jira on build pages.

Second, one Bamboo gadget (Build Plans) will work in Jira, and on the 'Builds' tab of an issue it succeeds in getting a list of builds from Bamboo.

But, when I try to Add Bamboo Charts or Bamboo Plan Summary Chart, I get:

2012-07-18 22:09:02,554 http-8080-6 WARN kwood 1328x205299x5 16jwss6 10.34.18.92,10.120.66.75 /plugins/servlet/gadgets/makeRequest http.impl.client.DefaultRequestDirector Authentication error: Unable to respond to any of these challenges: {oauth=WWW-Authenticate: OAuth realm=https%3A%2F%2Fbamboo.dev.e2open.com}

2012-07-18 22:09:03,776 http-8080-6 WARN kwood 1329x205300x5 16jwss6 10.34.18.92,10.120.66.75 /plugins/servlet/gadgets/makeRequest http.impl.client.DefaultRequestDirector Authentication error: Unable to respond to any of these challenges: {oauth=WWW-Authenticate: OAuth realm=https%3A%2F%2Fbamboo.dev.e2open.com, oauth_problem=consumer_key_unknown}

2012-07-18 22:09:05,722 http-8080-30 WARN kwood 1329x205304x2 16jwss6 10.34.18.92,10.120.66.75 /plugins/servlet/gadgets/makeRequest http.impl.client.DefaultRequestDirector Authentication error: Unable to respond to any of these challenges: {oauth=WWW-Authenticate: OAuth realm=https%3A%2F%2Fbamboo.dev.e2open.com}

Please advise what I need to do to correct this.

2 answers

1 vote
Nabil Sayegh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 2, 2012

Your gadget.xml is probably missing the badly documented

<Optional feature="atlassian.util" />

rgds

Ken Wood
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2012

That sounds intriguing, I'd like to investigate further... however, this isn't "my" gadget, it is the standard gadgets made available by Bamboo. Where would I find each gadget's XML file?

Nabil Sayegh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 18, 2012

That depends on the packager. I suggest unzipping the jar and searching for the file.

Ken Wood
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 19, 2012

The only XML file in atlassian-bamboo-charts-3.4.3.jar was pom.xml which clearly not gadget.xml. So, no luck finding the gadget.xml where I might try adding the missing line you referenced.

Brice Gestas _Elements_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 29, 2013

Adding the following line :

<Optional feature="atlassian.util" />

into my gadget ModulePrefs fixed the problem !

Thanks

0 votes
Harry Chan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2012

Hi, there definitely is an issue with the Application Link. Have you set it up as Trusted Applications? It looks like OAuth is used. Are the required URLs entered for the application link?

Suggest an answer

Log in or Sign up to answer