Include web service result in a page without using custom fields

Hello,
I need to put in the ticket page additional user info that I get with a rest web
service.

How can I do it with Request Tracker?

Thanks,
Mario

Hello,
I need to put in the ticket page additional user info that I get with a rest web
service.

How can I do it with Request Tracker?

Two ways:

  1. Javascript on Ticket’s page gets the data and puts it all on the page.

  2. RT server gets the data and puts it into RT’s page(s).

In both cases you use callbacks. In first case to place JS into page.
In second case to place HTML.

Thanks,
Mario

Best regards, Ruslan.

Ruslan Zakirov <ruz bestpractical.com> writes:

Two ways:

  1. Javascript on Ticket’s page gets the data and puts it all on the page.

  2. RT server gets the data and puts it into RT’s page(s).

Thanks for reply!

I forgot a thing: do I have to modify RT source code? I am searching a solution
where I do not have to modify it.

Mario

Ruslan Zakirov <ruz bestpractical.com> writes:

Two ways:

  1. Javascript on Ticket’s page gets the data and puts it all on the page.

  2. RT server gets the data and puts it into RT’s page(s).

Thanks for reply!

I forgot a thing: do I have to modify RT source code? I am searching a solution
where I do not have to modify it.

You don’t modify code directly, but use callbacks that are designed
for injections
of custom things into UI. You can not do what you want without some
code. Callbacks
allow you to keep RT core code and your custom code isolated and avoid
upgrade hazard.

Mario

Best regards, Ruslan.