Page 1 of 1

Integrating external data with a custom field

Posted: 23 Dec 2011, 22:35
by marxiano533
Hey there!

I have data associated to a thread/issue of Mantis. And i need to show it on mantis. I though in creating a Custom Field in mantis and find the way of "filling"/"calculating" the value of the custom field with this external data.
Can this be done? Can anybody guide me on how i can do this? Are there any trigger that is call when showing the value of a custim field that i can customize and geting the external value to be shown?
Thanks in advance!

Marx

Re: Integrating external data with a custom field

Posted: 24 Dec 2011, 09:23
by atrol

Re: Integrating external data with a custom field

Posted: 24 Dec 2011, 14:12
by marxiano533
Hi Atrol,

Thanks for your help, but i dont think that this could help me.
The values that i have are calculated and are different for every bug.
So in example:
#454 > Value1
#455 > Value2
#456 > Value3

The thing is that Value 1, 2 and 3 are calculated in an external system, and this is the information that i want to show in mantis by filling the value of the custom field with them.

Hope that is more clear now, and thanks again for the link.

Regards,

Marx

Re: Integrating external data with a custom field

Posted: 28 Dec 2011, 17:23
by atrol
Hmmh, seems that there is no way to use custom fields for this without changing existing source code.
Maybe writing a plugin which catches EVENT_VIEW_BUG_DETAILS to display the information is enough for your purpose.
http://www.mantisbt.org/docs/master-1.2 ... EV.PLUGINS