Error because of deleted users selected as custom field value

Hi,

When I re-index jira, I get many error similar to the following (only the usernames are different):

2013-10-10 15:53:27,220 indexerPool-1-thread-10 WARN [issue.customfields.impl.AbstractSingleFieldType] Value stored in database is invalid

com.atlassian.jira.issue.customfields.impl.FieldValidationException: User 'clangmeier' was not found in the system

It seems that it's because of deleted users that are still stored as a customfield value in the database. In Jira interface, the custom fields containing deleted users appear empty.

The database integrity checker doesn't find errors. Is there another way to solve that problem than manually delete the users in the database?

2 answers

1 accepted

It's just a warning, not an error and it is normal if you delete the user that is contained in a custom field.

As a rule of thumb, users should not be deleted from JIRA, but rather deactivated ( https://confluence.atlassian.com/display/JIRA/Managing+Users#ManagingUsers-Deactivatingauser )

Removing the custom field values that store deleted users from the database and re-indexing should solve the problem.

The problem is not the same, those customfields don't have a default value.

I will try to delete the problematic values in the database.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

616 views 6 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you