@Steven Behnke I am looking to add an Issue Collector to my Confluence Page (single page), I am running Confluence 3.5.11 and JIRA 6.3.12.
The issue collector is set up for custom and I went to my confluence page and inserted the HTML macro you pasted above (replacing my url for src)
{html}
<script>
AJS.toInit(function(){
AJS.$('.aui-header-primary .aui-nav').append('<li><a href="#" id="myIssueTrigger" class="aui-button aui-style aui-button-primary aui-nav-imagelink">Bug Report</a></li>');
});
</script>
<script type="text/javascript" src="http://jira/s/0c13895773c11edccb53ae66c985466f-T/en_US83oybm/6343/12/1.4.16/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js&collectorId=8f47a897"></script>
<script type="text/javascript">window.ATL_JQ_PAGE_PROPS = {
"triggerFunction": function(showCollectorDialog) {
//Requires that jQuery is available!
//Use whatever ID you used on your Button/Trigger
//In this case, I used id="myIssueTrigger" in the Button/<a> element
//So I must use #myIssueTrigger here
jQuery("#myIssueTrigger").click(function(e) {
e.preventDefault();
showCollectorDialog();
});
}};</script>
{html}After I save I see nothing on the page that is different. I have attached a photo (I had to color out the tree for this page on the left and our logo) but I am not sure where I should see this button.
Capture.JPG
I have tried using the method described in the wiki from Atlassian and I did not see the button either.