I have the following user macro:
## @noparams
<script>
$( "input[name='variableValues.RELEASENAME']" ).change(function(){
console.log($(this).val());
$("form[name='filltemplateform']").find("input[name='title']").val("Release notes" + " " + $(this).val())
})
$( "input[name='variableValues.RELEASENUMBER']" ).change(function(){
console.log($(this).val());
$("form[name='filltemplateform']").find("input[name='title']").val($("form[name='filltemplateform']").find("input[name='title']").val() + " : " + $(this).val())
})
</script>
But now I want to use the data from the selected variable list. So, RELEASENAME is a list.
The value I get now is ":1.0.0" instead of "Example release:1.0.0".