Confluence Macro Plugin - Customise Input Parameters


I tried set label and description of input parameter element in atlassian-plugin.xml, see example:

<parameter name="param_name" type="boolean" default="false">
<label>Some label (asdasd)</label>
<description>... some description...</description>

But this dont work... is any way to set label and description for input macro parameters?

Second question: Is possible disable input field (parameter) with name "Body Text" in macro inserting?

Thanks for answers

2 answers

1 accepted

9 votes
Accepted answer
David Simpson Community Champion Jul 12, 2011

Thanks a lot, it was very useful :)

David Simpson Community Champion Jul 13, 2011

@Diego Elos: If it helped, up-vote it or mark as answered. Thanks!

new question:

<parameter name="draw" type="enum" required="true">
<value name="line" />
<value name="fill" />

How I can set different string of name element value? Because I want use string "line" only as code name, not display string.

David Simpson Community Champion Jul 13, 2011

I would guess at...


So in your case, perhaps...


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,102 views 17 14
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