Hi,
I'm trying to write a scriot in the Summary field edt option. This script suppose to set the value of the Summary field to the word "Implement" only if the issue type is "Duv Sub-Task".
I wrote the following script (with the help of some of the discussions here):
<script type="text/javascript">
if (issue.get("issuetype").name == "Dev Sub-Task") {if (document.getElementById("summary").value == "") {
document.getElementById("summary").value = "<Implement>\n";}}
</script>
It's working unless i remove the issue type function and then it works for all issue types.
What do i need to change in my script so it sets only in in the issue type i want ?
Thanks