The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 }}
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events