Skip to content

Instantly share code, notes, and snippets.

@dpjayasekara
Forked from deepal/ticketevents.js
Created October 14, 2019 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpjayasekara/cdfc569beb4ce06a9faf1955f47a98a8 to your computer and use it in GitHub Desktop.
Save dpjayasekara/cdfc569beb4ce06a9faf1955f47a98a8 to your computer and use it in GitHub Desktop.
[
{
type: 'create',
tid: 'c3b88a9f-9c74-4036-8203-7ac818958335',
data: {
title: 'New user account',
description: 'Create a new user account for Captain America',
status: 'open',
assignee: 'shield-support'
},
author: 'philcoulson',
timestamp: ISODate('2019-10-11T21:00:06.178Z')
},
{
type: 'update',
tid: 'c3b88a9f-9c74-4036-8203-7ac818958335',
data: {
status: 'in progress',
comment: 'please include the required privileges'
},
author: 'shield-support',
timestamp: ISODate('2019-10-11T21:07:46.082Z')
},
{
type: 'update',
tid: 'c3b88a9f-9c74-4036-8203-7ac818958335',
data: {
description: 'Create a new user account for Captain America. Needs access to create and update tickets',
comment: 'Description updated.'
},
author: 'philcoulson',
timestamp: ISODate('2019-10-11T21:07:46.082Z')
},
{
type: 'update',
tid: 'c3b88a9f-9c74-4036-8203-7ac818958335',
data: {
status: 'in review',
assignee: 'philcoulson',
comment: 'Task is done. Please verify.'
},
author: 'shield-support',
timestamp: ISODate('2019-10-11T21:10:52.313Z')
},
{
type: 'update',
tid: 'c3b88a9f-9c74-4036-8203-7ac818958335',
data: {
status: 'closed',
comment: 'Access verified. Closing the ticket'
},
author: 'philcoulson',
timestamp: ISODate('2019-10-11T21:12:19.211Z')
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment