M
Size: a a a
M
M
M
OK
{"relates to": [],но никакие из проверок не работают
"is required for": [],
"depends on": [],
"is duplicated by": [],
"duplicates": [],
"parent for": [],
"subtask of": [],
"Assigned test case or test suite": [{"$$type": " Issue", "id": "TM-2"}],
"Execution": []}
typeof issue.links['subtask of']
-> objectOK
M
M
BO
{"relates to": [],но никакие из проверок не работают
"is required for": [],
"depends on": [],
"is duplicated by": [],
"duplicates": [],
"parent for": [],
"subtask of": [],
"Assigned test case or test suite": [{"$$type": " Issue", "id": "TM-2"}],
"Execution": []}
typeof issue.links['subtask of']
-> objectconsole.log(issue.links['subtask of'])
что показывает?M
console.log(issue.links['subtask of'])
что показывает?M
BO
Object.getOwnPropertyNames(Object.getPrototypeOf(issue.links['subtask of']))
.filter(m => 'function' === typeof issue.links['subtask of'][m])
A
M
OI
let a = {"relates to": [],
"is required for": [],
"depends on": [],
"is duplicated by": [],
"duplicates": [],
"parent for": [],
"subtask of": [],
"Assigned test case or test suite": [{"$$type": " Issue", "id": "TM-2"}],
"Execution": []}
a['subtask of'].length
0
OI
undefined
, то ты неправильно что-то пишешь :)M
Object.getOwnPropertyNames(Object.getPrototypeOf(issue.links['subtask of']))
.filter(m => 'function' === typeof issue.links['subtask of'][m])
G
M
M
M