Gadget won't work in Jira 6.x

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

Hey Maja,

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

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

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

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 2 hours ago in Off-topic

Miscellaneous Monday - CreatatronV3

You may remember, not so long ago, that together we invented the most evil of machines: The Destructo5000!  The effects of missing Durian rippled over nations. Complete chaos as goat chee...

36 views 2 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you