Forums

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

Correct JSON for custom drop down (single select) field?

Mark Almeida-Cardy November 10, 2020

I am using automation to copy values between tickets and have noticed that drop down and lookup fields are not passing.  What is the correct method to pull these fields?

 

Error: Could not find valid 'id' or 'value' in the Parent Option object. (customfield_10254)

 

Example from JSON

"customfield_10254":"{{triggerIssue.fields.customfield_10254}}"

 

2 answers

0 votes
cristiano_madeira
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 16, 2021
{
"fields": {
"customfield_10254": {
"value": "{{triggerIssue.fields.customfield_10254}}"
}
}
}
0 votes
wwalser
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 15, 2020

Custom fields should show up in the field dropdowns when the project that an automation will run in is known and the custom fields are available within said project.

The advanced field editing field is, as its name suggest, an advanced topic but documentation is here: https://support.atlassian.com/jira-software-cloud/docs/advanced-field-editing-json/

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