Skip to content

Allow setting of issue assignees in GraphQL [RUN AS-IF-FOSS]

Jan Provaznik requested to merge graphql-issue-assignee into master

What does this MR do?

Allows adding/removing/replacing issue assignees in GraphQL.

Example query:

mutation {
  issueSetAssignees(input: {projectPath: "h5bp/html5-boilerplate", iid: "7", operationMode: APPEND, assigneeUsernames: "some_username"}) {
    issue {
      assignees {
        edges {
          node {
            id
          }
        }
      }
      id
    }
    errors
  }
}

Related to #36307 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Bob Van Landuyt

Merge request reports

Loading