ticketHistory.graphql 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. query ticketHistory(
  2. $ticketId: ID
  3. $ticketInternalId: Int
  4. $ticketNumber: String
  5. ) {
  6. ticketHistory(
  7. ticket: {
  8. ticketId: $ticketId
  9. ticketInternalId: $ticketInternalId
  10. ticketNumber: $ticketNumber
  11. }
  12. ) {
  13. createdAt
  14. records {
  15. issuer {
  16. ... on User {
  17. id
  18. internalId
  19. firstname
  20. lastname
  21. fullname
  22. phone
  23. email
  24. image
  25. }
  26. ... on Trigger {
  27. id
  28. name
  29. }
  30. ... on Job {
  31. id
  32. name
  33. }
  34. ... on PostmasterFilter {
  35. id
  36. name
  37. }
  38. ... on ObjectClass {
  39. klass
  40. info
  41. }
  42. }
  43. events {
  44. createdAt
  45. action
  46. object {
  47. ... on Checklist {
  48. id
  49. name
  50. }
  51. ... on ChecklistItem {
  52. id
  53. text
  54. checked
  55. }
  56. ... on Group {
  57. id
  58. name
  59. }
  60. ... on Mention {
  61. id
  62. user {
  63. id
  64. fullname
  65. }
  66. }
  67. ... on Organization {
  68. id
  69. name
  70. }
  71. ... on Ticket {
  72. id
  73. internalId
  74. number
  75. title
  76. }
  77. ... on TicketArticle {
  78. id
  79. body
  80. }
  81. ... on TicketSharedDraftZoom {
  82. id
  83. }
  84. ... on User {
  85. id
  86. fullname
  87. }
  88. ... on ObjectClass {
  89. klass
  90. info
  91. }
  92. }
  93. attribute
  94. changes
  95. }
  96. }
  97. }
  98. }