Integrating external data with a custom field

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
marxiano533

Integrating external data with a custom field

Post 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
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Integrating external data with a custom field

Post by atrol »

Please use Search before posting and read the Manual
marxiano533

Re: Integrating external data with a custom field

Post 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
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Integrating external data with a custom field

Post 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
Please use Search before posting and read the Manual
Post Reply