JMWE Data Center: Copy "Elements Connect" field to Custom Select Field
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:
Instructions
Step-by-step guide:
Configure the “Elements Connect” custom field correctly.
The configuration wizard looks like the following:
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:
Configure the JMWE post-function.
The post function used for this case is a Set Issue Fields post function Set issue fields
The app returns the following value when working with this type of field:
Based on the above, the post-function (Set Issue Field) should be configured as follows:
issue.getAsJsonData("customfield_11100").asArray()[0]
Replace 11100 above with the ID of “Elements Connect Field”
Evaluate the results.
“Elements Connect Field” (custom field configured on the Elements Connect third-party app)
“Elements Related Field” (field set using JMWE)