It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Published in Teamwork

Listening out loud: how Dave Liao works on distributed teams

The start of the COVID-19 pandemic served as a forcing function to re-evaluate the way teams worked together. In fact, many companies are re-learning how to collaborate with their teams. As some move...

122 views 4 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you