How can i get company custom field on ticket page

  • 17 April 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?



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