Describe the issue/error/question
I am trying to iterate over a json object using the Function Node and then grab all the "value"
fields and add to an array and then return that array something like
{
"value" : "1",
"value": "2",
"value": "3"
}
I dont know how can I do it , i’ve tried many things but still without success
here is what I have and the output I get
const b = []
for (let i = 0; i < items.length; i++) {
b.push({json:items[i].json["issue"]["fields"]["customfield_10045"]});
}
return b;