Despite there are two similar answers to the question:
https://answers.atlassian.com/questions/151905/what-database-table-keep-user-properties
https://answers.atlassian.com/questions/73332/does-user-property-value-store-in-database
I still cannot find how external_entities.name is linked to the propertyentry table.
There is several external_entities.name that have user properties. But their external_entities.id has no corresponding propertyentry.entity_id.
Jira version: 5.2.10
Hi Ivan, with new versions of JIRA (6.x) you can use the following query:
select * from propertyentry pe, propertystring ps, app_user au where pe.ID = ps.ID and au.ID = pe.ENTITY_ID and PROPERTY_KEY like 'jira.meta.%'
With old versions you can use the following query:
select * from propertyentry pe, propertystring ps, external_entities ee where pe.ID = ps.ID and ee.ID = pe.ENTITY_ID and PROPERTY_KEY like 'jira.meta.%'
I hope it helps.
Cheers
Hi Tiago,
Thank you a lot for the advice, the script for Jira 6 works for me.
Now it's clear why the 2nd script mentioned in the above links didn't work - I confused my Jira version (it's 6.2)
BR,
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.