The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Gadget won't work in Jira 6.x

Maja Stach
August 8, 2013

I wrote a Gadget that's supposed to display some important information for our company.
It seemed to work fine in Jira 5.x, however now it's just blank.

I suspect it has something to do with the config parameter, since normally the edit screen would be the first thing to see.

Does anybody know of changes in the api for gadgets?

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Hans de Groot
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 Champions.
November 14, 2013

Enable your debug view in browser (F12 for chrome) you will probably see a javascript error when your gadget is loaded.

0 votes
Bhushan Nagaraj
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 Champions.
September 11, 2013

Maja,

Change the line from

#requireResource("com.atlassian.jira.gadgets:common")

to

#requireResource("com.atlassian.gadgets.publisher:ajs-gadgets")

Refer

https://developer.atlassian.com/display/GADGETS/Using+the+Atlassian+Gadgets+JavaScript+Framework

Thank you

Bhushan

0 votes
Bhushan Nagaraj
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 Champions.
September 11, 2013

Hey Maja,

Did you find a solution? This is the error I am getting.

Uncaught TypeError: Object #<Object> has no method 'projectOrFilterPicker'

Comments for this post are closed

Community moderators have prevented the ability to post new answers.