Skip to main content

How can i get company custom field on ticket page

  • April 17, 2017
  • 1 reply
  • 15 views

I have a custom company field with the monthly hours contracted. 

I want to show it on the ticket page. It is a number field. After this i want to make a calc with this number.


Also i want to get all the time entries from the requester company on the current month. I want to use Freshdesk API for this, it is possible, and put it on a variable (used_hours) can you give me an example?


Then i need to show (monthly_hours - used_hours).


It is possible?

Did this topic help you find an answer to your question?
This topic has been closed for comments

1 reply

Hi Alexandre,


>I have a custom company field with the monthly hours contracted. 

>I want to show it on the ticket page. It is a number field. After this i want to make a calc with this number.

You can do this using a app, which makes API call to freshdesk for the company custom field.



>Also i want to get all the time entries from the requester company on the current month. I want to use Freshdesk API for this, it is possible, and put it on a variable (used_hours) can you give me an example?

Please refer https://developers.freshdesk.com/api/#list_all_time_entries

we do not have a example on this.


Thanks

Mahesh