ticket.graphql 559 B

123456789101112131415161718192021222324252627
  1. query ticket(
  2. $ticketId: ID
  3. $ticketInternalId: Int
  4. $ticketNumber: String
  5. $withArticles: Boolean = false
  6. $withObjectAttributes: Boolean = false
  7. ) {
  8. ticket(
  9. ticket: {
  10. ticketId: $ticketId
  11. ticketInternalId: $ticketInternalId
  12. ticketNumber: $ticketNumber
  13. }
  14. ) {
  15. ...ticketAttributes
  16. articles @include(if: $withArticles) {
  17. edges {
  18. node {
  19. ...ticketArticleAttributes
  20. }
  21. }
  22. }
  23. objectAttributeValues @include(if: $withObjectAttributes) {
  24. ...objectAttributeValues
  25. }
  26. }
  27. }