ticketsByOverview.graphql 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. query ticketsByOverview(
  2. $overviewId: ID!
  3. $orderBy: String
  4. $orderDirection: OrderDirection
  5. $cursor: String
  6. $pageSize: Int = 10
  7. $withObjectAttributes: Boolean = false
  8. ) {
  9. ticketsByOverview(
  10. overviewId: $overviewId
  11. orderBy: $orderBy
  12. orderDirection: $orderDirection
  13. after: $cursor
  14. first: $pageSize
  15. ) {
  16. totalCount
  17. edges {
  18. node {
  19. id
  20. number
  21. title
  22. createdAt
  23. updatedAt
  24. owner {
  25. firstname
  26. lastname
  27. fullname
  28. }
  29. customer {
  30. firstname
  31. lastname
  32. fullname
  33. }
  34. organization {
  35. name
  36. }
  37. state {
  38. name
  39. stateType {
  40. name
  41. }
  42. }
  43. group {
  44. name
  45. }
  46. priority {
  47. name
  48. uiColor
  49. defaultCreate
  50. }
  51. objectAttributeValues @include(if: $withObjectAttributes) {
  52. ...objectAttributeValues
  53. }
  54. }
  55. cursor
  56. }
  57. pageInfo {
  58. endCursor
  59. hasNextPage
  60. }
  61. }
  62. }