please help me out to do i tried user format plugin but is not related to this,
Thanks,
please help me out to do i tried user format plugin but is not related to this,
Thanks,
What application are you trying to affect? Can you show us what you’re trying to accomplish, perhaps in a screenshot?
Hmm, I just answered this elsewhere -
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 - Inline Dialog (deprecated) - AUI Documentation.
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-' + this.id);
var username = dialog.find('#avatar-full-name-link').attr('title');
AJS.$.ajax({
"url":"https://jira-test.acme.corp/rest/api/2/user/properties/com.acme.jira.services:user-properties?username=" + username
}).done(function(data){
AJS.$('#user-hover-email').before('<strong>' + data['value']['location'] + '</strong>');
});
}
Hi @sfbehnke
this is rather an old topic, but can you tell me where (in which file) to added your JS code?
Thx
Atlassian silently removed this in Jira9 and this no longer works.