Need to add Select List (cascading) custom field to automation rule

Naresh G
Contributor
February 9, 2022

Hello all. I am trying to write an automation rule which can create an issue every Monday. Here is one of my fields in the Select List (cascading) type with Yes or NO options. I am unable to add this field to create a screen because it is not supporting for choosing. I need to write JSON to add the custom field in the more options area(Additional fields). I am new to JSON. Can anybody help to write this? Thank you. 

1 answer

1 accepted

5 votes
Answer accepted
Vishwas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2022

Hey @Naresh Gantala 

Welcome to Atlassian Community !!

That's correct cascading fields wont be available in dropdown, we have to pass as JSON in advanced editing.

Sample:Cascade_Value_In_automation.png

 

Regards,

Vishwas

Naresh G
Contributor
May 17, 2022

Thank you @Vishwas 

Natasha Richardson
Contributor
October 26, 2023

This worked for me as well. Before I had this and kept getting errors either "cannot deserialize instance of java.lang.string, etc. ... or JSON not valid error

 

{
"fields": {
"customfield_20476": {
"value": {
"parentOption": "Transferred",
}
}
}
}

Suggest an answer

Log in or Sign up to answer