# Custom fields

Jira Email This Issue offers custom field types to use screens (e.g. in workflow transition views) to specify parts of the emails being sent. To see the list of custom fields go to **Issues** --> **FIELDS** --> **Custom fields**. To set new custom fields click **Add custom field**.

### Issue Attachment Selector Field <a href="#customfields-issueattachmentselectorfield" id="customfields-issueattachmentselectorfield"></a>

<mark style="color:green;">SINCE VERSION 6.3.0.3</mark>

This custom field type allows you to select existing attachments in an issue. The field can specify attachments to be attached to emails sent via event notifications, the transitions or when sending bulk emails.&#x20;

1\. Under **Advanced** field types, search for **Issue Attachment Selector Field** and click **Next.**

![](https://4173056255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY44m7ZY1jU4Arh2tzwNn%2Fuploads%2FakuYphj8BR96V745ZNFt%2Fimage.png?alt=media\&token=937d16e7-eb1e-4e41-9f6b-33ccc2123741)

2\. Give your field name and optionally a description and click **Next**.

![](https://4173056255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY44m7ZY1jU4Arh2tzwNn%2Fuploads%2F4X487MnnOWbutlZMI0k0%2Fimage.png?alt=media\&token=1bf3e917-b9ec-4c64-990b-f78a97655cd7)

3\. Make sure to associate the field to the wanted screens. To edit that, click the three dots next to the name of a custom field and choose **Screens**.

4\. Go to the issue you want to send in email. The field is present on the issue screen, and its attachments selected are rendered as links with inline editing supported.

![](https://4173056255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY44m7ZY1jU4Arh2tzwNn%2Fuploads%2FRjEVBD14c6oC4xFuOPBK%2Fimage.png?alt=media\&token=c6794ab9-8ed8-4199-b093-cce451c9f8c0)

{% hint style="info" %}
**Note**: You can freely use this custom field type for your own purposes when you need to select attachments.
{% endhint %}

#### Use case - Specifying attachments during a workflow transition <a href="#customfields-usecase-specifyattachmentsduringworkflowtransition" id="customfields-usecase-specifyattachmentsduringworkflowtransition"></a>

Make sure to the attachment selector to the screen displayed by the transition you want to use for sending emails. Then on the **Add Parameters To Function** panel configure the post function to add attachments from the attachment selector field. Read more about workflow transitions [here](https://docs.meta-inf.hu/email-this-issue/email-this-issue-for-jira-server-data-center/documentation/outgoing-emails/workflow-post-functions).

![](https://4173056255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY44m7ZY1jU4Arh2tzwNn%2Fuploads%2FliVtkGpxwakya5pWLTi0%2Fimage.png?alt=media\&token=f2b070bc-3630-478b-b797-a24b6fcdf873)

#### Use case - Attaching selected attachments in an event notification <a href="#customfields-usecase-attachselectedattachmentsineventnotification" id="customfields-usecase-attachselectedattachmentsineventnotification"></a>

Configure Email This Issue Event Notifications to add attachments to the email from the selector field under the **Content** panel in the **Configure Notification Event** page. Read more about event notifications [here](https://docs.meta-inf.hu/email-this-issue/email-this-issue-for-jira-server-data-center/documentation/outgoing-emails/event-notifications).

![](https://4173056255-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FY44m7ZY1jU4Arh2tzwNn%2Fuploads%2FiUKSMv56vDJh7SF2t5Hk%2Fimage.png?alt=media\&token=6ec62af7-eede-49d3-abb5-264c1b489d11)

&#x20;
