I have this is my html macro:
<head>
<!-- This is the script for the issue collector feedback form -->
<script type="text/javascript" src="myurl/s/fd1d5e3664803a732d58e2dd2f01c552-T/ik4gn0/809001/b6b48b2829824b869586ac216d119363/4.0.1/_/download/batch/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector/com.atlassian.jira.collector.plugin.jira-issue-collector-plugin:issuecollector.js?locale=en-US&collectorId=dbb6506a">
</script>
<!-- This is the script for specifying the custom trigger. Replaced 'myCustomTrigger' with 'feedback-button' -->
<script type="text/javascript">
window.ATL_JQ_PAGE_PROPS = { "triggerFunction": function(showCollectorDialog)
{
//Requries that jQuery is available!
jQuery("#feedback-button").click(function(e)
{
e.preventDefault();
showCollectorDialog();
});
}
};
</script>
</head>
<body>
<h2>Jira Issue Collector Demo</h2>
<a href="#" id="feedback-button">Report feedback</a>
</body>
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.