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

Accepted Answer
1 vote

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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

45 views 0 2
Join discussion

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