The CHT allows users to report issues from within their app. These are recorded as a feedback doc in the user’s medic-user-{username}-metadatabase. To distinguish this user reported issue from other feedback docs, you can filter for docs where the source is manual. If you are replicating data to PostgreSQL, you can use the SQL provided below to review these docs or build a dashboard to display them.
SELECT
doc->>'info' AS info,
doc#>>'{meta,time}' AS time,
doc#>>'{meta,user,name}' AS username,
doc->>'_id' AS id
FROM
couchdb_users_meta
WHERE
doc->>'type' = 'feedback'
AND doc#>>'{meta,source}' = 'manual'
hello @michael i have tried to report a bug with a message new bug but when i check in medic-users-meta in the DB am only seeing json payloads with "source": "automatic"
hello @michael
i am accessing couch DB directly as an admin because for offline i cant access the DB …
I logged in again as a offline user , synced the reports and logged in again as an admin, but when i check medic-user-{username}-meta and medic-users-meta databases am only seeing source : automatic docs
To eliminate variables, please try to just log in as an admin and then “Report a bug”. Then try to find the feedback doc in medic-user-{username}-meta. Here’s a demo: