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

0 vote
Volodymyr Krupach Community Champion Dec 27, 2016

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 Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

44 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot