Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation to bring over single select custom fields from Service Desk to Product Discovery

Gregg Reaves
Contributor
December 1, 2023

Hi,

 

I'm working on an automation rule that will create a ticket in JIRA product discovery once a ticket is submitted in the service desk portal.

 

I'm having problems with 3 custom fields - 2 that are single select and 1 that is multi-select. I am getting this error:

Specify the value for DSP in an array (DSP), Specify a valid value for Agency (customfield_11685), Specify a valid value for Product Type (customfield_11684)

 

Here's my json code. Can someone guide me on how to do this? I'm stumped. Apologies if this isn't in the best format. I'm pretty novice at this kind of automation. I did try to use the built in tools to copy over but that wasn't working.

 

{
"update": {
"labels": [{
"add": "new-inquiry"
}]
},
"fields": {
"customfield_11683": "{{customfield_11504}}",
"customfield_11681": "{{customfield_11507}}",
"customfield_11682": "{{customfield_11508}}",
"customfield_11687": "{{customfield_11679}}",
"customfield_11688": "{{customfield_11680}}",
"customfield_11684" : { "value": "{issue.customfield_11673.asJsonStringArray}" },
"customfield_11685" : { "value": "{issue.customfield_11674.asJsonStringArray}" },
"customfield_11686" : { "value": "{issue.customfield_11675.asJsonStringArray}" }
}

customfield_11684 and 11685 are single select dropdowns and 11686 is a multi select dropdown.

Thank you kindly!

0 answers

Suggest an answer

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

Atlassian Community Events