Add GraphQL migration to set epic of an issue

What does this MR do?

#36309 (closed)

Add the GraphQL migration to set the epic of an issue

mutation {
  epicAddIssue(input: {groupPath: "gitlab-org", projectPath: "gitlab-org/test-open-project", iid: "5", issueIid: "1"}) {
    epicIssue {
      id
      title
      epic {
        id
        title
      }
    }
    errors
  }
}

Example response

{
  "data": {
    "epicAddIssue": {
      "epicIssue": {
        "id": "gid://gitlab/Issue/454",
        "title": "Test Issue 1",
        "epic": {
          "id": "gid://gitlab/Epic/5",
          "title": "Voluptatem voluptatem aut tenetur sequi rerum voluptatibus deserunt."
        }
      },
      "errors": []
    }
  }
}

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Closes #36309 (closed)

Edited by Eugenia Grieff

Merge request reports

Loading