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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

877 views 3 9
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