Skip to content

Instantly share code, notes, and snippets.

@O5ten
Created June 9, 2018 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save O5ten/7f8caad3d701e3f19b85ed2ed1941329 to your computer and use it in GitHub Desktop.
Save O5ten/7f8caad3d701e3f19b85ed2ed1941329 to your computer and use it in GitHub Desktop.
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