link-stack/apps/link/app/_graphql/getTicketQuery.ts

34 lines
419 B
TypeScript
Raw Normal View History

2023-03-29 14:43:27 +02:00
import { gql } from 'graphql-request';
export const getTicketQuery = gql`
query getTicket($ticketId: ID!) {
ticket(ticket: { ticketId: $ticketId }) {
id
internalId
title
note
number
createdAt
updatedAt
closeAt
tags
state {
id
name
}
owner {
id
email
}
2023-07-17 12:23:12 +00:00
group {
id
name
}
priority {
id
name
2023-03-29 14:43:27 +02:00
}
}
}
`;