Hi, in order to retrieve data from an external API (By button click in the app) I want to query a user field. Note: I want the app to appear only in the ticket_sidebar. But my problem at the moment is that I can't find a way to query a user field if the app is not also integrated in the User_Sidebar. So is there a global way to query the user_fileds from the ticket_sidebar as well?
Currently I have a single function that I would like to move from user_sidebar.js to ticket_sidebar.js. But this is not possible for the mentioned reason.

Can someone help me with this?