Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,411
Community Members
 
Community Events
168
Community Groups

Showing the values of user picker fields

A problem with the user and multi-user picker fields, is that when you edit an issue you cannot see the display names of the selected users (JRASERVER-31023).

This is a problem for organisations that use machine-generated or otherwise obscure user names… common in large companies. When this is the case the user field will show something like "n1234567":

before

This simple javascript plugin shows the display name underneath the field (in edit mode only).

 after

If you are a SR4J user you could plug the javascript into a script fragment, and modify it.

If not you can grab a standalone plugin from here.

Full source is in this repo.

12 comments

Hello,

I added the plugin both in confluence and jira, but its still not displaying the full name.

Please help here.

regards

Lingesh

It's not a confluence plugin. What jira version? Try doing a hard refresh.

Jira version is 6.4.12

 

regards

Lingesh

Hi Jamie,

Hard refresh done, but still i dont see the full name in confluence.

 

regards

Lingesh

Hi Lingesh,

As I said, it's not a confluence plugin.

cheers, jamie

Hi

Is it possible to translate it into german?

Best Regards

Manuel

Currently it does not support i18n, but you could just modify the strings in the javascript and rebuild it.

Wow, this is great! Works fine. Thanks Jamie!

Thank you very much!

No worries, but this is a proper user picker in jira 8.12, should probably upgrade to that if you can.

Hi Jamie,

I found one rare bug in the user picker hepler plugin.I am using Jira 7.13.9.

Steps to reproduce - 

I am searching in user picker field with username patidard and getting 2 records in search result.

patidard is username of user XYZ.

Second user in search result is ABC patidard whose last name patidard is same as username of first user XYZ.

When I select user XYZ, it displays user ABC below user picker helper field.

It is really a rare scenirio. I thought to inform you regarding this bug.

 

Thanks & Best Regards,

Devendra

Hi Devendra - 

OK, thanks for the report. But as mentioned in the comment above this works properly natively in 8.12, so best thing to do is remove this customisation and upgrade to 8.12.

cheers, jamie

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events