Hi everyone,
I'm using jira api to get jql search result.
List of fields are:
"fields": [
"summary",
"customfield_14951"
]
"customfield_14951": {
"self": "https://localhost/rest/api/2/customFieldOption/15529",
"value": "PARENT",
"id": "15529",
"child": {
"self": "https://localhost/rest/api/2/customFieldOption/16706",
"value": "CHILD",
"id": "16706"
}
}
The short story is you can't.
The long story is the value is a map, so splitting it makes no sense and also there is no useful reason to even do it, if you need to handle the values separately, it likely shouldn't be a cascading list.
The longer story is whatever it is you're doing with json, there should be no problem to get the child value from the nested json in much the same way as you got the field from it in the first place.
Thank you @Radek Dostál
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.