ticketsByOverview.graphql 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. query ticketsByOverview(
  2. $overviewId: ID!
  3. $orderBy: String
  4. $orderDirection: EnumOrderDirection
  5. $cursor: String
  6. $showPriority: Boolean!
  7. $showUpdatedBy: Boolean!
  8. $pageSize: Int = 25
  9. ) {
  10. ticketsByOverview(
  11. overviewId: $overviewId
  12. orderBy: $orderBy
  13. orderDirection: $orderDirection
  14. after: $cursor
  15. first: $pageSize
  16. ) {
  17. totalCount
  18. edges {
  19. node {
  20. id
  21. internalId
  22. number
  23. title
  24. createdAt
  25. createdBy {
  26. id
  27. fullname
  28. }
  29. updatedAt
  30. updatedBy @include(if: $showUpdatedBy) {
  31. id
  32. fullname
  33. }
  34. customer {
  35. id
  36. fullname
  37. }
  38. organization {
  39. id
  40. name
  41. }
  42. state {
  43. id
  44. name
  45. stateType {
  46. id
  47. name
  48. }
  49. }
  50. group {
  51. id
  52. name
  53. }
  54. priority @include(if: $showPriority) {
  55. id
  56. name
  57. uiColor
  58. }
  59. objectAttributeValues {
  60. ...objectAttributeValues
  61. }
  62. articleCount
  63. stateColorCode
  64. escalationAt
  65. firstResponseEscalationAt
  66. updateEscalationAt
  67. closeEscalationAt
  68. firstResponseAt
  69. closeAt
  70. timeUnit
  71. lastCloseAt
  72. lastContactAt
  73. lastContactAgentAt
  74. lastContactCustomerAt
  75. }
  76. cursor
  77. }
  78. pageInfo {
  79. endCursor
  80. hasNextPage
  81. }
  82. }
  83. }