How to set default value for Summary Field in JIRA
Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.
Summary
Summary is a required field in JIRA issue creation and there is no default way user can set a default way for issue Summary field. This workaround will help user to inject a default value via JavaScript.
Workaround
The provided workaround involves using custom Javascript. Customizations and scripting like this is out of scope for Atlassian Support. Please ensure to test your code before applying to production instances.
- Go to the respective Field Configuration of the project.
- Find for the Summary field.
- Click on Edit.
Input the following JavaScript at the Description of the field:
<script type="text/javascript"> if (document.getElementById("summary").value == "") { document.getElementById("summary").value = "<Default Value for Summary>\n";} </script>
Replace
<Default Value for Summary>
with the desired default value for the Issue Summary field.