I wan't to reset the users to default to a dashboard, instead of loading the dashboard what they last accessed.
I see tis as an option to reduce unnecessary load on the JIRA server .
Hello,
JIRA stores that information into the following table userhistoryitem.
+------------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+---------------+------+-----+---------+-------+
| ID | decimal(18,0) | NO | PRI | NULL | |
| entitytype | varchar(10) | YES | MUL | NULL | |
| entityid | varchar(60) | YES | | NULL | |
| USERNAME | varchar(255) | YES | | NULL | |
| lastviewed | decimal(18,0) | YES | | NULL | |
| data | longtext | YES | | NULL | |
+------------+---------------+------+-----+---------+-------+
Thanks for the help !!
Query for getting the list of last accessed dashboards of all the users
select u.entityid ,u. username from userhistoryitem u where u.entitytype = 'Dashboard' group by u.username, u.lastviewed,entityid having u.lastviewed = max(u.lastviewed)
get the actual dashboard name form portalpage table
select * from portalpage where id = <u.entityid>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well done. Please, mak my answer as accepted.
Regards,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.