Release - Change Relationship

tindiz
Giga Guru

Hi, I created a Relationship between Release and Change -

 

tinadizon_0-1708533847252.png

 

My expected result is that it should only show the Release where the change was created from however, it captures all Release records. Please help with the script. Thanks!

 

tinadizon_1-1708533920551.png

 

1 REPLY 1

swathisarang98
Giga Sage
Giga Sage

Hi @tindiz ,

 

Try doing the below ,

 

In Release Table try adding one custom reference field to capture the change record something like "u_change_record" and in Relationship record add the below code, it will show you only the records which are tagged,

 

current.addQuery('u_change_record.number', parent.number);
 

Please mark this comment as Correct Answer/Helpful if it helped you.

Regards,

Swathi Sarang