How to customise User profile hover info in my plugin

Hi Experts,

I have created some user properties in my plugin but I want to show those user properties on the user profile hover. Is there any way to the customize User profile hover info?

This is a hack I used on my internal instance, not part of a plugin. I override the initCallback function which is part of the Javascript Inline Dialog API -

This is not ‘polite’ but perhaps it can get you on the right direction -

JIRA.userhover.INLINE_DIALOG_OPTIONS.initCallback = function(){
	var dialog = AJS.$('#inline-dialog-' +;
	var username = dialog.find('#avatar-full-name-link').attr('title');
		"url":"https://jira-test.acme.corp/rest/api/2/user/properties/" + username
		AJS.$('#user-hover-email').before('<strong>' + data['value']['location'] + '</strong>');


Hey @dchouksey89,

not exactly what you are looking for but might be still of some interest.

I have implemented a plugin which allows me to call a user when hovering demo

I did this by adding a custom web-item to the jira web-section 'system.user.hover.links’
and then binding my functionality to the web-item

You can read more about webitems here: Link to about webitems

1 Like

hi @felix.lahmer i also tried same fuctionality, i refer page

They not given complete web-item code for hover. can you please help on this.


Hi, @felix.lahmer:

How do you pass user name to your functionality(REST Endpoints)?

Finally, I found the answer. Thanks.


1 Like