Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

user-macro-module not showing parameters

Korbinian Stoemmer September 2, 2013

Hi,

i want to publish a user macro as a plugin using the user-macro module in atlassian-plugin.xml.

How can i provide parameter definition for the macro-browser?

I already discovered, that i need <parameters> in the user-macro descriptor, otherwise it does not show up. But it does not matter where i specify my parameters:

in the parameters block:

&lt;parameters&gt;
&lt;parameter name="foo" type="string" /&gt;
&lt;/parameters&gt;

in the macro template:

## @param foo

Either way my parameters dont show up in the editor.

Whats the secret to get the parameters to show up in the macro editor??

Thanks in advance

Korbinian

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Korbinian Stoemmer September 3, 2013

Solved it: the problem was the name attribute in the user-macro descriptor:

it must not contain upper case characters.

TAGS
AUG Leaders

Atlassian Community Events