I have setup a custom field with ScriptRunner to pick issues based on JQL which is working fine.
I now want to show the issues who picked the current issue similar you see on a Story which Epic is assigned and on the Epic itself you see which Stories are linked.
For example:
CHILD-1 picked PARENT-A
CHILD-2 picked PARENT-B
CHILD-3 picked PARENT-A
On PARENT-A it should show CHILD-1 and CHILD-3
ON PARENT-B it should show CHILD-2
I know how to use JQL to search for it, e.g. "Parents" IN (PARENT-A) will return CHILD-2 and CHILD-3 but I want to show those issues in the detail view of PARENT-A