Query
query WorktreeTicketBranchContext($input: PreviewWorktreeTicketBranchInput!) {
worktreeTicketBranchContext(input: $input) {
ticketKey
ticketTitle
ticketType
projectKey
branchNamingMode
branchName
}
}Variables
{
"input": {
"codebaseId": "id",
"ticketKey": "id"
}
}Response
{
"data": {
"worktreeTicketBranchContext": {
"ticketKey": "id",
"ticketTitle": "string",
"ticketType": "string",
"projectKey": "string",
"branchNamingMode": "JAVASCRIPT",
"branchName": "string"
}
}
}Queries
worktreeTicketBranchContext
Load ticket metadata and naming mode without AI generation.
QUERY
worktreeTicketBranchContext(input: PreviewWorktreeTicketBranchInput!): WorktreeTicketBranchContext!Arguments
input
required
Ticket and codebase to preview without AI.
Returns
ticketKey
ID!
Normalized Jira issue key.
ticketTitle
String!
Ticket summary from Jira.
ticketType
String
Issue type when available.
projectKey
String!
Managed Jira project key.
branchNamingMode
Project naming strategy.
branchName
String
JavaScript preview; null until generated for AI projects.
Query
query WorktreeTicketBranchContext($input: PreviewWorktreeTicketBranchInput!) {
worktreeTicketBranchContext(input: $input) {
ticketKey
ticketTitle
ticketType
projectKey
branchNamingMode
branchName
}
}Variables
{
"input": {
"codebaseId": "id",
"ticketKey": "id"
}
}Response
{
"data": {
"worktreeTicketBranchContext": {
"ticketKey": "id",
"ticketTitle": "string",
"ticketType": "string",
"projectKey": "string",
"branchNamingMode": "JAVASCRIPT",
"branchName": "string"
}
}
}