summary filed is changing to default text while editing the ticket.

My user has created a ticket in JIRA and they are facing two issues

1) the issue summary field resets to its default text and erases the summary what i wrote during the ticket creation

2)Although the priority is selected it still asks to select the priority so I have click on the drop and again select the same priority. Then only it will allow me to update the ticket.

Please note I have admin access to the portal and I need to fix this issue for other users.

2 answers

1 accepted

i tried with this it is working fine

<script type="text/javascript">  
jQuery(document).ready(function($) {
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) {
function addDefaultSummary(){
	if($("#summary").val() == ''){
		$("#summary").val("'EMERGENCY -<Add one line change description>");

The first solution is working fine.

However I am unable to attach the snip shot

i am not sure how you are setting priority field value!!

you can use upload image option to upload a image you are setting summary default value?

2. how the priority field has selectrd? i mean through UI or using any script?

1)To set the defaul text I used the below script

<script type="text/javascript">
if (AJS.$("#summary").val() == '')
AJS.$("#summary").val('EMERGENCY -<Add one line change description>')

2)For priority i am attaching the screen shot.

2. screen shot not able see here

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

769 views 3 11
Read article

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