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

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
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
Published yesterday in Trello

Alice Camilla on organizing your work/life/fandoms with Trello!

@Alice Camilla is a university student, currently writing her MA thesis in Archaeology. She's also a freelance blogger and content creator, writing about geeky stuff from productivity apps to JR...

69 views 2 7
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