Any idea how to get the URL of a tabpanel on a issue?

Hi,

I’m working on a Jira server plugin and I need to generate a link to a specific tabpanel on a issue.
Any idea how I can generate this URL programmatically?

Thanks.