suppressIssueForTeam

Mutation:suppressIssueForTeamSuppress an issue from an analyzer on the team level, affecting all repositories. Only users with ADMIN permission on the repository can trigger this mutation.

Arguments

FieldTypeDescription
inputSuppressIssueForTeamInput!Input for suppressIssueForTeam mutation.

Sample Request

mutation ($input: SuppressIssueForTeamInput!) {
  suppressIssueForTeam(input: $input) {
    ok
  }
}
{
  "input": {
    "issueShortcode": "PYL-E0712",
    "login": "deepsourcelabs", 
    "vcsProvider": "GITHUB"
  }
}

Sample Response

{
  "data": {
    "suppressIssueForTeam": {
      "ok": true
    }
  }
}

unsuppressIssueForTeam

Mutation:unsuppressIssueForTeam Remove a suppressed issue from an analyzer on the team level, affecting all repositories. Only users with ADMIN permission on the repository can trigger this mutation.

Arguments

FieldTypeDescription
inputUnsuppressIssueForTeamInput!Input for unsuppressIssueForTeam mutation.

Sample Request

mutation ($input: UnsuppressIssueForTeamInput!) {
  unsuppressIssueForTeam(input: $input) {
    ok
  }
}
{
  "input": {
    "issueShortcode": "PYL-E0712",
    "login": "deepsourcelabs", 
    "vcsProvider": "GITHUB"
  }
}

Sample Response

{
  "data": {
    "unsuppressIssueForTeam": {
      "ok": true
    }
  }
}

Objects

TeamMember

Represents a user within a team.

FieldTypeDescription
idID!The ID of the object.
userUser!The User instance.
roleTeamMemberRole!The role this user has in the team.
isOwnerBoolean!Whether this user is the owner of the team.
joinedAtDateTime!The time when this user joined the team.

TeamMemberConnection

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edgesTeamMemberEdge!Contains the nodes in this connection.
totalCountInt

TeamMemberEdge

A Relay edge containing a TeamMember and its cursor.

FieldTypeDescription
nodeTeamMemberThe item at the end of the edge.
cursorString!A cursor for use in pagination.

SuppressIssueForTeamInput

Input for suppressIssueForTeam mutation.

FieldTypeDescription
issueShortcodeString!The issue’s shortcode.
loginString!The login or username of the account/team.
vcsProviderVCSProvider!The VCS provider of the account/team.

UnsuppressIssueForTeamInput

Input for unsuppressIssueForTeam mutation.

FieldTypeDescription
issueShortcodeString!The issue’s shortcode.
loginString!The login or username of the account/team.
vcsProviderVCSProvider!The VCS provider of the account/team.