Tip of The Week - Adapting the Issue Collector

September 9th 2015 Peter Van de Voorde in Tip of the Week, Jira

After a short break we're back with more Tip of The Week articles. This week's article is about the JIRA issue collector and how to remove the default name and email field. Because of restrictions on JIRA Cloud this tip only works on JIRA Server.

The issue collector is one of the many hidden gems in JIRA. It's easy to use and can provide you with another tool to get feedback from your users into JIRA.

The issue collector does have 2 fields that are not configurable: Name and Email. They're shown on the collector form when the user isn't logged in to JIRA. These fields are not mapped on custom fields, but are simply shown in the description field of the issue. So how can you remove these fields and replace them with your own custom ones?

Just add the following to the description of a field on your issue collector in your project's field configuration scheme:

<script type="text/javascript">
    jQuery(document).ready(function() {
    jQuery(".contact-form-fields.field-group").hide();
    });
</script>

Now you can use your own custom fields for Name and Email and make them searchable in JIRA.