Home Analyst Portal

How to remove from watchlist when WI is closed?

Mikkel_MadsenMikkel_Madsen Customer Advanced IT Monkey ✭✭✭
Hi
When an Incident is closed the task menu to the right is gone. So the question is how do you unsubscribe from a closed work item?

Regards
Mikkel

Answers

  • Tom_HendricksTom_Hendricks Customer Super IT Monkey ✭✭✭✭✭
    While I also believe that the Remove From Watchlist task should still be there for Closed tickets, the workaround is to go to the Watchlist control in the Related Items tab (assuming you are not using a custom form that omits it) and click remove in the row that has your name.
  • imthephilimthephil Member IT Monkey ✭
    Just create a SQL job with query as below and run it like daily: 

    Delete watchlist
      FROM dbo.WatchList watchlist
      Inner join dbo.WorkItem wi on
      wi.ID = watchlist.WorkItemId 
      Inner join dbo.DisplayString ds
      on ds.ElementID = wi.StatusId
      WHERE ds.DisplayString in ('Closed','anotherweirdstatus')
  • Tom_HendricksTom_Hendricks Customer Super IT Monkey ✭✭✭✭✭
    Also a good option, if you want this to be the behavior for everyone.
Sign In or Register to comment.