|
| 1 | +=head1 Automatically Viewing Unread Messages |
| 2 | + |
| 3 | +When viewing a ticket, or looking at a list of tickets you own, |
| 4 | +you may want to easily see if the Requestor has sent a new message |
| 5 | +since you last looked at the ticket. RT has a feature to show you |
| 6 | +these unread messages, both in your searches and on tickets. |
| 7 | + |
| 8 | +There are a few steps to enable this feature and update your searches |
| 9 | +to show these unread messages. |
| 10 | + |
| 11 | +=head1 Enabling Unread Messages Indicators |
| 12 | + |
| 13 | +To enable this feature on your account, go to your preferences |
| 14 | +page (Logged in as > Settings > Preferences) and |
| 15 | +set the "Notify me of unread messages" option to "Yes". |
| 16 | + |
| 17 | +After enabling this option, you will see a new section at the top of the |
| 18 | +ticket display page when you have unread messages on the ticket. You can use the |
| 19 | +buttons to clear the latest message once you have read it. |
| 20 | + |
| 21 | +=for html <img alt="Unread Messages Notification" src="images/unread-notification.png"> |
| 22 | + |
| 23 | +=for :text [Unread Messages Notification F<docs/images/unread-notification.png>] |
| 24 | + |
| 25 | +=for :man [Unread Messages Notification F<docs/images/unread-notification.png>] |
| 26 | + |
| 27 | +The L<$ShowUnreadMessageNotifications|RT_Config.pm/"$ShowUnreadMessageNotifications"> |
| 28 | +option is also available as a global configuration, so the RT administrator can |
| 29 | +enable this feature for all users. |
| 30 | + |
| 31 | +=head1 Displaying Unread Message Indicator in Search Results |
| 32 | + |
| 33 | +RT provides two special columns that you can add to your search results |
| 34 | +that indicate that a ticket has unread messages. The "UpdateStatus" column |
| 35 | +displays Yes or No to indicate the ticket has unread messages. |
| 36 | + |
| 37 | +The "UnreadMessages" column shows the number of unread messages, so if a |
| 38 | +Requestor has replied two times since you have looked at the ticket, it will |
| 39 | +show a "2". |
| 40 | + |
| 41 | +See the L<query builder|docs/query_builder.pod> documentation for |
| 42 | +details on adding new columns to search results. |
| 43 | + |
| 44 | +=for html <img alt="Unread Messages Column" src="images/unread-messages-column.png"> |
| 45 | + |
| 46 | +=for :text [Unread Messages Column F<docs/images/unread-messages-column.png>] |
| 47 | + |
| 48 | +=for :man [Unread Messages Column F<docs/images/unread-messages-column.png>] |
| 49 | + |
| 50 | +=head1 Searching for Tickets with and with Unread Messages |
| 51 | + |
| 52 | +RT also provides some custom ticket search terms to find tickets with |
| 53 | +unread messages. The term C<HasUnreadMessages> can be used as follows: |
| 54 | + |
| 55 | + queue = 'General' AND Status = 'open' AND HasUnreadMessages = 'john' |
| 56 | + |
| 57 | +The search term is the RT username of the user with unread messages. |
| 58 | + |
| 59 | +You can use the current user placeholder for this search also: |
| 60 | + |
| 61 | + queue = 'General' AND Status = 'open' AND HasUnreadMessages = '__CurrentUser__' |
| 62 | + |
| 63 | +To get tickets with no unread messages, use C<HasNoUnreadMessages>. |
| 64 | + |
| 65 | + queue = 'Support' AND HasNoUnreadMessages='__CurrentUser__' |
0 commit comments