Integrating external data with a custom field

Post about your customizations to share with others.

Moderators: Developer, Contributor

Integrating external data with a custom field

Postby marxiano533 » Dec 23, 2011 5:35 pm

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
marxiano533
 
Posts: 2
Joined: Dec 23, 2011 5:28 pm

Re: Integrating external data with a custom field

Postby atrol » Dec 24, 2011 4:23 am

Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3635
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Integrating external data with a custom field

Postby marxiano533 » Dec 24, 2011 9:12 am

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
marxiano533
 
Posts: 2
Joined: Dec 23, 2011 5:28 pm

Re: Integrating external data with a custom field

Postby atrol » Dec 28, 2011 12:23 pm

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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3635
Joined: Mar 26, 2008 4:37 pm
Location: Germany


Return to Customizations

Who is online

Users browsing this forum: No registered users and 2 guests

cron