Search by user property does not work

Hi,

Recently we added some user info to our statistics, like:
Sentry.setUser({referenceId: id});
(with id a user-specific string)

I can see this referenceId is added to the issues in Sentry, but I cannot search based on the referenceId. I would expect this search query to work: ‘user.referenceId:‘aaa’’, but it doesn’t give results.

The strange thing is, if I rename ‘referenceId’ to ‘id’, things do work:
Sentry.setUser({referenceId: id});
Searching like ‘user.id:‘aaa’’

Why? I would like user.referenceId. Thanks in advance!