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
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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