Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
jenkins-issue-collector.js
(function(summary, description, component){
window.ATL_JQ_PAGE_PROPS = {
"triggerFunction": function(showCollectorDialog) {
jQuery(".jiraTrigger").click(function(e) {
e.preventDefault();
showCollectorDialog();
});
},
fieldValues : {
summary : summary,
description : description,
components: [component]
}
};
})('Jenkins looks broken!', '[Describe to the best of your knowledge how Jenkins is broken]', '12345');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment