Bounties cancelled by moderators


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Apps

Q&A for apps, scripts, and development with the Stack Exchange API

---based on Glorfindel's query:
---I have addedn links to the revision history and the timeline
SELECT pn.PostId AS [Post Link],
  pnt.Name AS 'Bounty reason',
  pn.DeletionDate AS 'Bounty cancelled',
  pn.OwnerUserId AS [User Link],
  pn.DeletionUserId AS [User Link],
  revisions = 'site://posts/' + CAST(pn.PostId AS varchar)+'/revisions',
  timeline = 'site://posts/' + CAST(pn.PostId AS varchar)+'/timeline'
  FROM PostNotices AS pn
  INNER JOIN PostNoticeTypes AS pnt
    ON pn.PostNoticeTypeId = pnt.Id
  WHERE pnt.ClassId = 2 -- bounty
    AND pn.OwnerUserId != pn.DeletionUserId
    AND pn.DeletionUserId != -1 -- Community
  ORDER BY pn.DeletionDate DESC

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results