I can't get the auto fill summary script to work

so I don't want to use summary, and I put

<script type="text/javascript">

if (document.getElementById("Summary").value == "") {

document.getElementById("Summary").value = "RCA";

}

document.getElementById("summaryFieldArea").style.display = "none"

</script>

into the description and it did nothing. Does this still work?

2 answers

This widget could not be displayed.

Try this:

&lt;script type="text/javascript"&gt;
if (AJS.$("#summary").val().length &lt;= 0){
 AJS.$("#summary").val("RCA");
}
&lt;/script&gt;

This widget could not be displayed.

I uploaded a picture to see if it's right

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

72 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you