Skip to content

Commit 6eb024b

Browse files
docs-botheiskr
andauthored
GraphQL schema update (#59561)
Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com>
1 parent cee4d08 commit 6eb024b

File tree

5 files changed

+259
-0
lines changed

5 files changed

+259
-0
lines changed

src/graphql/data/fpt/changelog.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,25 @@
11
[
2+
{
3+
"schemaChanges": [
4+
{
5+
"title": "The GraphQL schema includes these changes:",
6+
"changes": [
7+
"<p>Type <code>AgentAssignmentInput</code> was added</p>",
8+
"<p>Input field <code>baseRef</code> of type <code>String</code> was added to input object type <code>AgentAssignmentInput</code></p>",
9+
"<p>Input field <code>customAgent</code> of type <code>String</code> was added to input object type <code>AgentAssignmentInput</code></p>",
10+
"<p>Input field <code>customInstructions</code> of type <code>String</code> was added to input object type <code>AgentAssignmentInput</code></p>",
11+
"<p>Input field <code>targetRepositoryId</code> of type <code>ID</code> was added to input object type <code>AgentAssignmentInput</code></p>",
12+
"<p>Input field <code>agentAssignment</code> of type <code>AgentAssignmentInput</code> was added to input object type <code>AddAssigneesToAssignableInput</code></p>",
13+
"<p>Input field <code>agentAssignment</code> of type <code>AgentAssignmentInput</code> was added to input object type <code>CreateIssueInput</code></p>",
14+
"<p>Input field <code>agentAssignment</code> of type <code>AgentAssignmentInput</code> was added to input object type <code>ReplaceActorsForAssignableInput</code></p>",
15+
"<p>Input field <code>agentAssignment</code> of type <code>AgentAssignmentInput</code> was added to input object type <code>UpdateIssueInput</code></p>"
16+
]
17+
}
18+
],
19+
"previewChanges": [],
20+
"upcomingChanges": [],
21+
"date": "2026-02-07"
22+
},
223
{
324
"schemaChanges": [
425
{

src/graphql/data/fpt/schema.docs.graphql

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,11 @@ enum ActorType {
355355
Autogenerated input type of AddAssigneesToAssignable
356356
"""
357357
input AddAssigneesToAssignableInput {
358+
"""
359+
Configuration for assigning Copilot to this issue.
360+
"""
361+
agentAssignment: AgentAssignmentInput
362+
358363
"""
359364
The id of the assignable object to add assignees to.
360365
"""
@@ -1418,6 +1423,31 @@ type AddedToProjectV2Event implements Node & ProjectV2Event {
14181423
wasAutomated: Boolean!
14191424
}
14201425

1426+
"""
1427+
Represents configuration for assigning Copilot to an issue (public variant)
1428+
"""
1429+
input AgentAssignmentInput {
1430+
"""
1431+
The base ref/branch for the repository. Defaults to the default branch if not provided.
1432+
"""
1433+
baseRef: String
1434+
1435+
"""
1436+
Custom agent for Copilot.
1437+
"""
1438+
customAgent: String
1439+
1440+
"""
1441+
Custom instructions for Copilot.
1442+
"""
1443+
customInstructions: String
1444+
1445+
"""
1446+
The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided.
1447+
"""
1448+
targetRepositoryId: ID @possibleTypes(concreteTypes: ["Repository"])
1449+
}
1450+
14211451
"""
14221452
Copilot Agentic fields in context of the current viewer.
14231453
"""
@@ -8139,6 +8169,11 @@ type CreateIpAllowListEntryPayload {
81398169
Autogenerated input type of CreateIssue
81408170
"""
81418171
input CreateIssueInput {
8172+
"""
8173+
Configuration for assigning Copilot to this issue.
8174+
"""
8175+
agentAssignment: AgentAssignmentInput
8176+
81428177
"""
81438178
The Node ID of assignees for this issue.
81448179
"""
@@ -46681,6 +46716,11 @@ input ReplaceActorsForAssignableInput {
4668146716
"""
4668246717
actorLogins: [String!]
4668346718

46719+
"""
46720+
Configuration for assigning an AI agent to this issue.
46721+
"""
46722+
agentAssignment: AgentAssignmentInput
46723+
4668446724
"""
4668546725
The id of the assignable object to replace the assignees for.
4668646726
"""
@@ -65414,6 +65454,11 @@ type UpdateIssueCommentPayload {
6541465454
Autogenerated input type of UpdateIssue
6541565455
"""
6541665456
input UpdateIssueInput {
65457+
"""
65458+
Configuration for assigning an AI agent to this issue.
65459+
"""
65460+
agentAssignment: AgentAssignmentInput
65461+
6541765462
"""
6541865463
An array of Node IDs of users or bots for this issue.
6541965464
"""

src/graphql/data/fpt/schema.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97653,6 +97653,14 @@
9765397653
"href": "/graphql/reference/input-objects#addassigneestoassignableinput",
9765497654
"description": "<p>Autogenerated input type of AddAssigneesToAssignable.</p>",
9765597655
"inputFields": [
97656+
{
97657+
"name": "agentAssignment",
97658+
"description": "<p>Configuration for assigning Copilot to this issue.</p>",
97659+
"type": "AgentAssignmentInput",
97660+
"id": "agentassignmentinput",
97661+
"kind": "input-objects",
97662+
"href": "/graphql/reference/input-objects#agentassignmentinput"
97663+
},
9765697664
{
9765797665
"name": "assignableId",
9765897666
"description": "<p>The id of the assignable object to add assignees to.</p>",
@@ -98549,6 +98557,48 @@
9854998557
}
9855098558
]
9855198559
},
98560+
{
98561+
"name": "AgentAssignmentInput",
98562+
"kind": "inputObjects",
98563+
"id": "agentassignmentinput",
98564+
"href": "/graphql/reference/input-objects#agentassignmentinput",
98565+
"description": "<p>Represents configuration for assigning Copilot to an issue (public variant).</p>",
98566+
"inputFields": [
98567+
{
98568+
"name": "baseRef",
98569+
"description": "<p>The base ref/branch for the repository. Defaults to the default branch if not provided.</p>",
98570+
"type": "String",
98571+
"id": "string",
98572+
"kind": "scalars",
98573+
"href": "/graphql/reference/scalars#string"
98574+
},
98575+
{
98576+
"name": "customAgent",
98577+
"description": "<p>Custom agent for Copilot.</p>",
98578+
"type": "String",
98579+
"id": "string",
98580+
"kind": "scalars",
98581+
"href": "/graphql/reference/scalars#string"
98582+
},
98583+
{
98584+
"name": "customInstructions",
98585+
"description": "<p>Custom instructions for Copilot.</p>",
98586+
"type": "String",
98587+
"id": "string",
98588+
"kind": "scalars",
98589+
"href": "/graphql/reference/scalars#string"
98590+
},
98591+
{
98592+
"name": "targetRepositoryId",
98593+
"description": "<p>The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided.</p>",
98594+
"type": "ID",
98595+
"id": "id",
98596+
"kind": "scalars",
98597+
"href": "/graphql/reference/scalars#id",
98598+
"isDeprecated": false
98599+
}
98600+
]
98601+
},
9855298602
{
9855398603
"name": "ApproveDeploymentsInput",
9855498604
"kind": "inputObjects",
@@ -100884,6 +100934,14 @@
100884100934
"href": "/graphql/reference/input-objects#createissueinput",
100885100935
"description": "<p>Autogenerated input type of CreateIssue.</p>",
100886100936
"inputFields": [
100937+
{
100938+
"name": "agentAssignment",
100939+
"description": "<p>Configuration for assigning Copilot to this issue.</p>",
100940+
"type": "AgentAssignmentInput",
100941+
"id": "agentassignmentinput",
100942+
"kind": "input-objects",
100943+
"href": "/graphql/reference/input-objects#agentassignmentinput"
100944+
},
100887100945
{
100888100946
"name": "assigneeIds",
100889100947
"description": "<p>The Node ID of assignees for this issue.</p>",
@@ -106572,6 +106630,14 @@
106572106630
"kind": "scalars",
106573106631
"href": "/graphql/reference/scalars#string"
106574106632
},
106633+
{
106634+
"name": "agentAssignment",
106635+
"description": "<p>Configuration for assigning an AI agent to this issue.</p>",
106636+
"type": "AgentAssignmentInput",
106637+
"id": "agentassignmentinput",
106638+
"kind": "input-objects",
106639+
"href": "/graphql/reference/input-objects#agentassignmentinput"
106640+
},
106575106641
{
106576106642
"name": "assignableId",
106577106643
"description": "<p>The id of the assignable object to replace the assignees for.</p>",
@@ -110360,6 +110426,14 @@
110360110426
"href": "/graphql/reference/input-objects#updateissueinput",
110361110427
"description": "<p>Autogenerated input type of UpdateIssue.</p>",
110362110428
"inputFields": [
110429+
{
110430+
"name": "agentAssignment",
110431+
"description": "<p>Configuration for assigning an AI agent to this issue.</p>",
110432+
"type": "AgentAssignmentInput",
110433+
"id": "agentassignmentinput",
110434+
"kind": "input-objects",
110435+
"href": "/graphql/reference/input-objects#agentassignmentinput"
110436+
},
110363110437
{
110364110438
"name": "assigneeIds",
110365110439
"description": "<p>An array of Node IDs of users or bots for this issue.</p>",

src/graphql/data/ghec/schema.docs.graphql

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,11 @@ enum ActorType {
355355
Autogenerated input type of AddAssigneesToAssignable
356356
"""
357357
input AddAssigneesToAssignableInput {
358+
"""
359+
Configuration for assigning Copilot to this issue.
360+
"""
361+
agentAssignment: AgentAssignmentInput
362+
358363
"""
359364
The id of the assignable object to add assignees to.
360365
"""
@@ -1418,6 +1423,31 @@ type AddedToProjectV2Event implements Node & ProjectV2Event {
14181423
wasAutomated: Boolean!
14191424
}
14201425

1426+
"""
1427+
Represents configuration for assigning Copilot to an issue (public variant)
1428+
"""
1429+
input AgentAssignmentInput {
1430+
"""
1431+
The base ref/branch for the repository. Defaults to the default branch if not provided.
1432+
"""
1433+
baseRef: String
1434+
1435+
"""
1436+
Custom agent for Copilot.
1437+
"""
1438+
customAgent: String
1439+
1440+
"""
1441+
Custom instructions for Copilot.
1442+
"""
1443+
customInstructions: String
1444+
1445+
"""
1446+
The Node ID of the target repository where Copilot should work. Defaults to the issue's repository if not provided.
1447+
"""
1448+
targetRepositoryId: ID @possibleTypes(concreteTypes: ["Repository"])
1449+
}
1450+
14211451
"""
14221452
Copilot Agentic fields in context of the current viewer.
14231453
"""
@@ -8139,6 +8169,11 @@ type CreateIpAllowListEntryPayload {
81398169
Autogenerated input type of CreateIssue
81408170
"""
81418171
input CreateIssueInput {
8172+
"""
8173+
Configuration for assigning Copilot to this issue.
8174+
"""
8175+
agentAssignment: AgentAssignmentInput
8176+
81428177
"""
81438178
The Node ID of assignees for this issue.
81448179
"""
@@ -46681,6 +46716,11 @@ input ReplaceActorsForAssignableInput {
4668146716
"""
4668246717
actorLogins: [String!]
4668346718

46719+
"""
46720+
Configuration for assigning an AI agent to this issue.
46721+
"""
46722+
agentAssignment: AgentAssignmentInput
46723+
4668446724
"""
4668546725
The id of the assignable object to replace the assignees for.
4668646726
"""
@@ -65414,6 +65454,11 @@ type UpdateIssueCommentPayload {
6541465454
Autogenerated input type of UpdateIssue
6541565455
"""
6541665456
input UpdateIssueInput {
65457+
"""
65458+
Configuration for assigning an AI agent to this issue.
65459+
"""
65460+
agentAssignment: AgentAssignmentInput
65461+
6541765462
"""
6541865463
An array of Node IDs of users or bots for this issue.
6541965464
"""

0 commit comments

Comments
 (0)