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.
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) { addDefaultSummary(); }); addDefaultSummary(); function addDefaultSummary(){ if($("#summary").val() == ''){ $("#summary").val("'EMERGENCY -<Add one line change description>"); } } }); </script>
The first solution is working fine.
However I am unable to attach the snip shot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i am not sure how you are setting priority field value!!
you can use upload image option to upload a image
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1.how you are setting summary default value?
2. how the priority field has selectrd? i mean through UI or using any script?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>')
</script>
2)For priority i am attaching the screen shot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
2. screen shot not able see here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.