Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding customzied javascript html code to customer notificaton

Tim Straub
Contributor
September 4, 2020

Hi you all,

 

we need to add some customized html code with javascirpt into customer notifications.

 

This code snippet is to generate a link an external customer can use for further services by a third party.

 

The snippet is something like

 

<html>
<head>
<title></title>
</head>
<Body>
<!--<form ID="guest" method="POST" action="https://abc.def.com/GuestAccess/Guest/Access">-->
<form ID="guest" method="POST" action="https://ghi.jkl.com/GuestAccess/Guest/Access">
<!-- Base 64 encode of company alias -->
<input type ="hidden" name = "Company" value = "jkfla==!--jfairu"/><!--Guest Company Alias-->
</form>
<script type="text/javascript">
function myfunc () {
var frm = document.getElementById("guest");
frm.submit();
}
window.onload = myfunc;
</script>
</body>
</html>

 

Is there a way to to make this available within a canned response oder with copy & paste in a Jira issue comment?

 

Thank you in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.11.0
TAGS
AUG Leaders

Atlassian Community Events