Check the data model viewer (Administration / Data Model) for the Change class, see the related classes tab : you'll see the link between both classes.
Something like this should work :
SELECT Incident AS i
WHERE i.parent_change_id = :change_id
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone
I need a OQL query to select related incidents to a change.
Can someone help me please?
Thanks
Sandra
Hello,
Check the data model viewer (Administration / Data Model) for the Change class, see the related classes tab : you'll see the link between both classes.
Something like this should work :