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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

User macro with array type of parameter

I'm currently working on a user macro for formatting a header of a document. This header should contain a list of different times this document has been approved.

This list will be dynamic per document. How do I go about and make such a thing?

I was thinking that it might be possible to add "sub-macros" for every line, that uses javascript to inject themselves in the main formatted table. But not sure how that will be handled when printing, etc.

1 answer

0 votes

With enough fiddling this might be possible but it sounds like you're pushing the limits of what user macros should be used for. If you're already doing complicated stuff like that with user macros the jump to writing real Confluence macros might not be that big for you. The tutorial for creating a Hello World macro is quite simple and from there you can work in Java which is much nicer:

You can also check out more complex Macro tutorials here:


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

70 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you