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

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 Leaders.
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 Leaders.
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 Leaders.
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'

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events