How to disable avatars globally in JIRA?

Lucas Roosevelt August 24, 2012

Our JIRA instance has many customers that view and audit issues and to prevent our collection of imaginative users from causing issues by using questionable avatars I need to disable Avatars or at least prevent users from uploading custom images for their avatars. Is this possible in version 5.1.x?

3 answers

1 vote
Thomas Schlegel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 26, 2012

Hi Lucas,

maybe this thread might help you: https://answers.atlassian.com/questions/7199/avatar-image-pre-set

There is an idea to point all avatars to the same image, so avatars are not disabled, but everyone has the same one.

Cheers

Thomas

Lucas Roosevelt August 26, 2012

Thanks for the info. While this is pretty brute force and probably not recommend you can prevent uploading custom avatars by disabling write access to $JIRA_HOME/data/avatars. It returns an internal server error when you try.

Daniel Lucas February 8, 2021

Hello!

Did you try that? It worked? What was the image showed instead of the avatar?

Thanks and regards

David Willson May 25, 2021

My end user reports he still sees them. So it didn't work. Found this today - https://jira.atlassian.com/browse/JRASERVER-37549 - which makes me think that this feature is no longer supported.

David Willson May 28, 2021

So Atlassian support sent me this;

Top right gear  > System  > General Config > Edit (right side)

Scroll down and you see "Gravitar server" and you can select off. Not sure why this isn't on this page - https://confluence.atlassian.com/jirakb/how-to-disable-avatar-features-in-jira-707985425.html

111.PNG

We will test and see if that worked.

David Willson June 7, 2021

This worked for us.

0 votes
Harry Chan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 24, 2012

You can take a look at the jira-application.properties file for the property jira.user.avatar.enabled. There should be documentation on what each property does. You can set this to false. Please give this a try.

Lucas Roosevelt August 25, 2012

Thanks for the suggestion. I had found that property in the 4.2 upgrade guide and tried it but it doesn't seem to produce any noticable change in 5.1.2.


Harry Chan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 26, 2012

As per the upgrade notes https://confluence.atlassian.com/display/JIRA/JIRA+4.4+Upgrade+Notes they now go in the jira-config.properties and the database. I couldn't find this value in the specified jpm.xml for defaults though. It might not be possible anymore.

Suggest an answer

Log in or Sign up to answer