# AJS method to create user profile link similar to $userformat.formatUserkey

**URL:** <https://community.developer.atlassian.com/t/ajs-method-to-create-user-profile-link-similar-to-userformat-formatuserkey/9529>\
**Category:** Jira Server\
**Tags:** user\
**Created:** [October 3, 2017, 2:03pm UTC](https://community.developer.atlassian.com/t/ajs-method-to-create-user-profile-link-similar-to-userformat-formatuserkey/9529 "2017-10-03T14:03:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Holger](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/holger/32/35891_2.png) [@Holger](https://community.developer.atlassian.com/u/Holger)\
**Post date:** [October 3, 2017, 2:03pm UTC](https://community.developer.atlassian.com/t/ajs-method-to-create-user-profile-link-similar-to-userformat-formatuserkey/9529/1 "2017-10-03T14:03:29Z")

</div>

I am looking for a way to render user full name, profile hover, avatar and link to profile similar to what I am able to do server side using velocity template and $userformat.formatUserkey.

It there some HTML template and then CSS classes to add? Or an AJS method to create the HTML?

Best regards  
Holger

---

<div class="post-metadata">

**Author:** ![Holger](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/holger/32/35891_2.png) [@Holger](https://community.developer.atlassian.com/u/Holger)\
**Post date:** [October 3, 2017, 2:28pm UTC](https://community.developer.atlassian.com/t/ajs-method-to-create-user-profile-link-similar-to-userformat-formatuserkey/9529/2 "2017-10-03T14:28:01Z")

</div>

I found [Solved: Formatting user profile links](https://community.atlassian.com/t5/Answers-Developer-Questions/Formatting-user-profile-links/qaq-p/510687) with `JIRA.userhover(context);`

Is this still valid?
