Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,103
Community Members
 
Community Events
184
Community Groups

Default value for Summary field not working

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

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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 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