Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Dropdown field to Text field on JMWE Post Function

Adrienne Sluss April 18, 2023

Hello,

I am attempting to create a JMWE Post Function that copies a dropdown field value (Customer) to the Description (text) field. Is that possible to do with a JMWE post function? 

 

When I attempt to write the Post Function to copy to Description like this:

  • {{issue.fields.customer}}

The field assumes the following value (instead of the actual option selected in the dropdown field).

  • [object Object]

 

Any help is much appreciated!

1 answer

0 votes
Alex Koxaras -Relational-
Community Champion
April 18, 2023

Hi @Adrienne Sluss and welcome to the community,

Try:

{{ issue.fields.customfield_XXXXX.value }}

Where XXXXX is the number of the custom field Customer 

Alex Koxaras -Relational-
Community Champion
April 18, 2023

Or, you can write:

{{ issue.fields["customer"].value }}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events