I have a macro written as a part of confluence server plugin that originally accepted only one parameter. Now that macro is used everywhere in several confluence instances.
There is a need now to add an additional parameter. So I tried updating atlassian-plugin.xml like so, simply copying the attributes of the original first parameter:
<parameters>
<parameter name="originalParameter" required="true">
<option key="showNameInPlaceholder" value="false"/>
<option key="showValueInPlaceholder" value="false"/>
</parameter>
<parameter name="newParameter" required="true">
<option key="showNameInPlaceholder" value="false"/>
<option key="showValueInPlaceholder" value="false"/>
</parameter>
</parameters>
The problem is only the originalParameter is seen in the page's storage format, the newParameter is not seen. Further how do I ensure that the already existing macros are aware of this new parameter?