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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to include dynamic content in Include Macro

It looks like that the Include Macro show only the static contect of the source page.

Any change of a workaround?

I tried the Query load() Method in the HTML Macro but that doesn't work either. Are there any other (Javascript based) methods to make it work?

I noticed that as I wanted to include the output(overview of  free version of Smart Questions and Answers plugin in the root page of our knowlaedge sharing portal.

1 answer

Dear Stefan,

currently Smart Questions and Answers does not support being shown inside an include macro. Background: the JavaScript part simply does not know that it is included and looks for questions at the wrong place.

Kind regards


I was afraid that this is the reason. 

I'm just wondering if that could be resolved by the jQuery load() Method. I was able to load the full page when previewing the code but as soon as I save the page, the macro is empty. 

Moreover, I would need to sandbox it, as scrips of the loaded page are triggered, what changes the sidebar. I tried it with an iframe unsuccessfully.

Could XMLHttpRequest solve it?

Idea ist to load the page with the plugin fully in the background but include only the plugin's output:

 <div class="conf-macro output-block" data-hasbody="false" data-macro-name="simple-qa-overview">

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

462 views 24 9
Join discussion

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