UserPref - Activates "Edit" Dropdown Option on Gadget?

After adding a few "UserPref"s to my custom gadget's XML, when I add the gadget to my dashboard and try to configure it through the dropdown/Edit option, nothing happens. Am I missing something? Here is the code below:

<?xml version="1.0" encoding="UTF-8" ?>

<Module>

<ModulePrefs title="Pref Test" author_email="adent@example.com" directory_title="Pref Test D-Title"
screenshot="http://labs.atlassian.com/svn/GADGETS/trunk/jira-issues/basic/jira-issues-screenshot.png"
thumbnail="http://labs.atlassian.com/svn/GADGETS/trunk/jira-issues/basic/jira-issues-thumbnail.png">

<Require feature="minimessage" />
<Optional feature="dynamic-height" />

</ModulePrefs>


<UserPref name="show_date" display_name="Show Dates?" datatype="bool" default_value="true"/>
<UserPref name="difficulty" display_name="Difficulty" datatype="enum" default_value="4">
<EnumValue value="3" display_value="Easy"/>
<EnumValue value="4" display_value="Medium"/>
<EnumValue value="5" display_value="Hard"/>
</UserPref>

<Content type="html">
<![CDATA[
Hello, world!
]]>
</Content>

</Module>

Thanks in advance!

1 answer

I am having the same exact problem. Can someone post an answer to this?
Thank you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,148 views 2 7
Join discussion

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