UserPref not working in JIra v7.2.3 but working with v5.2.5

I have created a gadget and i want to set the user preferences in the gadget.

I have added UserPref

<UserPref name="Project" display_name="Projects" default_value="Test" >

// Get userprefs inside the content tag.

   var prefs = new gadgets.Prefs();

I am able to see the edit button in the gadget but not able to see the configuration section in gadget for version 7.2.3.

But once i use the same gadget file in older version (i tried with v 5.2.5) then it is working properly. I am able to see the user preferences.

 

Any Idea about this issue?

1 answer

This widget could not be displayed.

For me the "gadget" module type stopped working since JIRA 7.2.0. It was in June and now I do not remember if gadgets were not loaded or partially non-functional. Anyway I had to rewrite them into new dashboard-item modules. Please check the tutorial: https://developer.atlassian.com/jiradev/jira-platform/guides/dashboards/guide-building-a-dashboard-item-for-a-jira-p2-add-on

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

157 views 0 12
Read article

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