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

Sadaf Fatima December 26, 2016

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 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 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 Sign up to answer