How can I see what is causing my user macro to fail?

I'm working on a user macro that will generate javascript that would allow my confluence users to render RallyDev content on a page. If I take my code and paste it inside Bob Swift's HTML macro on a page it works just fine. When I convert it into a user macro with no parameters it turns into a cannot render template error.

Where can I see more detail on what could be causing the error in the user macro? Is there a logfile or something I can look at?

2 answers

1 accepted

2 votes
Answer accepted
Peter Koczan Atlassian Team Dec 04, 2012


I suspect you may be hitting this bug:

As a workaround you may want to try to put the javascript code in a .js file on your webserver and simply include that file, that will prevent Confluence to alter the javascript code within the user macro (I experienced CDATA encapsulation to be added into javascripts)

For my JQuery-Scripts it helped to replace all "$" with "jQuery", maybe that's an issue as well.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


189 views 0 4
Read article

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