JIRA – Pre-populating Summary Field

If you wish to pre-fill the summary field on only one issue type, rather than globally, do the following:

  1. Create a custom field (I chose Multi Checkboxes, but  Free Text Field (unlimited text) will also work (please note that these fields will show, this is why I chose checkboxes)
  2. Assign custom field to the relevant issue type and project
  3. In the description field of the custom field, input the following:
<script type="text/javascript">
if (AJS.$("#summary").val().length <= 0){
AJS.$("#summary").val("Text to show");

That is it!

I decided to put my field in another tab of the create screen so that users don’t see it as easily, and with the multi-checkboxes custom field, with no values, users cannot select anything.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s