I am getting the below error while trying to add parent-child fields during jira creation as below:-
customfield_24161: [value: 'US'],
customfield_24161: [child: [value: 'Washington)']],
Error
:"Specify a valid option 'name' for Product Classification"}}
The JIra client looks like
"customfield_24161"=>
{"self"=>"https://****.atlassian.net/rest/api/2/customFieldOption/27914",
"value"=>"US",
"id"=>"27914",
"child"=>{"self"=>"https://***.atlassian.net/rest/api/2/customFieldOption/27932", "value"=>"Washington", "id"=>"27932"}},