As given in Moving from REST to GraphQL | Zenhub Developers i tried to add dependencies between 2 issue but i am getting error
"errors": [
{
"message": "Field 'createIssueDependency' doesn't exist on type 'Mutation'",
"locations": [
{
"line": 2,
"column": 3
}
],
I am trying query
mutation createIssueDependency($createIssueDependencyInput: CreateIssueDependencyInput!) {
createIssueDependency(input: $createIssueDependencyInput) {
issueDependency {
blockedIssue {
id
number
title
blockingIssues(first: 25) {
nodes {
id
number
title
}
}
}
blockingIssue {
id
number
title
blockedIssues(first: 25) {
nodes {
id
number
title
}
}
}
}
}
}
for your reference.
With Variables
{
“createIssueDependencyInput”: {
“blockedIssue”: {
“repositoryGhId”: 123,
“issueNumber”: 124
},
“blockingIssue”: {
“repositoryGhId”: 123,
“issueNumber”: 124
}
}
}
Let, me know if anything i am doing wrong and solution of this issue.