Sorry for us, but javascript in the field configuration is disabled in Jira Cloud.
What I want to do is get a default value in my summery field so on creation jira doesn't complain about the summary field has no value.
In Jira Server this was possible by putting:
<script type="text/javascript">
if (document.getElementById("summary").value == "") {
document.getElementById("summary").value = concat((document.getElementById("AB Nummer"))," ",(document.getElementById("Kunde"))) ;
}
</script>
in the Description of the summary field, but this doesn't work anymore in cloud.
So if anyone has a solution for this, I would be delighted.