Skip to content

Draft: Expose email participants and external author via GraphQL API

Dean requested to merge nexus-mods/gitlab:master into master

What does this MR do and why?

Concept for exposing the email participants and external author via GraphQL API.

Screenshots or screen recordings

How to set up and validate locally

To retrieve email participants on an issue:

{
  issue(id: "gid://gitlab/Issue/1") {
    id
    emailParticipantsEmails(first: 10) {
      nodes
    }
    serviceDeskReplyTo
  }
}

To add external author / email participants to an issue:

mutation {
  createIssue(input: {title: "test", projectPath: "gitlab-org/gitlab-test", confidential: true, externalAuthor: "externalauthor@test.com", emailParticipants: ["externalauthor@test.com", "test@test.com"]}) {
    issue {
      id
      serviceDeskReplyTo
      emailParticipantsEmails(first: 10){
        nodes        
      }
    }
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports