Add a relationship on report issue

"[email protected]" <[email protected]> Thu, 22 Aug 2013 17:38:18 +0200 (CEST)
Newsgroups gmane.comp.bug-tracking.mantis.general
Message-ID <28193282.2317001377185898665.JavaMail.defaultUser@defaultHost>
Hi,
I would ask how can i make a customization.
I have to add a custom field in the report issue page where the user can 
insert a bug reference id.
When the user submit report I want to create a relationship (custom) like 
this: the created issue is related to the reference issue.
I hope I was clear.

PS. I know how to create a custom field and how to create a custom 
relationship.

Best regards 

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk