---
title: "JMWE Data Center: Copy \"Elements Connect\" field to Custom Select Field"
canonical: "https://support.appfire.com/space/SUPPORT/749404222/JMWE%20Data%20Center%3A%20Copy%20%22Elements%20Connect%22%20field%20to%20Custom%20Select%20Field"
format: markdown
---
The following How-To Article explains the procedure for configuring the Elements Connect custom field to be used on a JMWE post-function and copied to another Custom Select Field.

> ⚠️ The “Elements Connect” field is created with the following app:
> ⚠️ 
> ⚠️ [https://marketplace.atlassian.com/apps/23337/elements-connect-external-data-fields-for-jira?tab=overview&hosting=datacenter](https://marketplace.atlassian.com/apps/23337/elements-connect-external-data-fields-for-jira?tab=overview&hosting=datacenter)

![image-20240212-142129.png](media://b7a7e802-d6ef-4fca-af70-b7cc44a9d24b)

## \uD83D\uDCD8 Instructions

Step-by-step guide:

1. Configure the “Elements Connect” custom field correctly.

The configuration wizard looks like the following:

![image](media://cd52cacd-4316-4f4d-87d3-04ab6a857bc7)

> ℹ️ The information the “Elements Connect” custom field will have depends on the value set on the “Template” section. If the information available on the field is a custom field, the value should be the following:

2. Configure the JMWE post-function.

The post function used for this case is a Set Issue Fields post function [https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461996276](https://appfire.atlassian.net/wiki/spaces/JMWE/pages/461996276) 

The app returns the following value when working with this type of field:

![image](media://75c322ce-b009-41b8-8b9f-35dfc237025e)

Based on the above, the post-function (Set Issue Field) should be configured as follows:

![image](media://87133ed5-9447-4e63-8bfe-9710f3384a78)

```
issue.getAsJsonData("customfield_11100").asArray()[0]
```

Replace 11100 above with the ID of “Elements Connect Field”

3. Evaluate the results.

- “Elements Connect Field” (custom field configured on the Elements Connect third-party app)
- “Elements Related Field” (field set using JMWE)

## \uD83D\uDCCB Related articles



> Macro (contentbylabel)