Forums

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

Default value for Summary field not working

Anita Narayanaswamy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2021

Recently upgraded JIRA version from 7.5.3  to JIRA 8.13.4. 

I have set the default value for summary field in Field configurations using a script as below

<script type="text/javascript">
if (document.getElementById("summary").value == "") {
document.getElementById("summary").value = "XXXX";
}
</script>

After the upgradation , the above workaround is not working to set the default value for Summary field . Please advise 

 

2 answers

2 accepted

1 vote
Answer accepted
Anita Narayanaswamy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 15, 2021

Hi , thanks for the response .

It got resolved when I set Enable HTML in project description option ON in System Info.

After the upgrade , automatically it got set to OFF , i think we should manually set to ON.

1 vote
Answer accepted
Brant Schroeder
Community Champion
March 10, 2021

@Anita Narayanaswamy 

That is the correct JavaScript, is it placed in the fields description?  I am assuming it was not changed.  I wonder if it could be a cache issue in the browser.  I would double check everything here: https://confluence.atlassian.com/jirakb/how-to-set-default-value-for-summary-field-in-jira-800692650.html#:~:text=Go%20to%20the%20respective%20Field,Click%20on%20Edit.&text=Replace%20%3CDefault%20Value%20for%20Summary,for%20the%20Issue%20Summary%20field.

After you confirm that it is setup properly please clear your browsers cache and try again.

Suggest an answer

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

Atlassian Community Events