I did just read the slides at http://www.slideshare.net/GoAtlassian/atlascamp-2010-making-confluence-macros-easy-for-the-user-dave-taylor
page 48 shows an example how to set static enum parameters
<parameter name="someenumeration" type="enum" required="true"> <value name="one"/> <value name="two"/> <value name="three"/> </parameter>
I would like to fill the values with dynamic values (eg. a list of jira projects which is retrieved via applink). Is that possible somehow?
Thanks in advance,
Here is how I solved the problem.
The trick is to just use jQuery. Don't think of this as a Confluence macro creation problem. You can do pretty much anything you want, create or delete elements, create hidden parameters with beforeParamsRetrieved, etc.
We have a similar question. We have a macro which reads a configuration file when it is rendered. If we add a new configuration to the configuration file, we would like the configuration to appear as a parameter choice in the macro properties panel.
Are macro parameters persisted anywhere else besides atlassian-plugin.xml? Or when is atlassian-plugin.xml read? Are there events associated with atlassian-plugin.xml that one can handle in code?
Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...
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!
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