Package com.collibra.dgc.core.api.component.instance

# Interface IssueApi

public interface IssueApi
Contains api operations for handling issues.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Asset`
  `addIssue(AddIssueRequest addIssueRequest)`
  Adds a new issue.
  `boolean`
  `exists(UUID issueId)`
  Returns true if an issue with given ID exists.
  `PagedResponse<Asset>`
  `findIssues(FindIssuesRequest findIssuesRequest)`
  Returns issues matching the given search criteria.
  `Asset`
  `moveIssue(MoveIssueRequest moveIssueRequest)`
  Moves an issue to another community

- ## Method Details

  - ### addIssue

    Asset addIssue(AddIssueRequest addIssueRequest)
    Adds a new issue.
    Parameters:
      `addIssueRequest` - the properties of the issue to be added
    Returns:
      the newly added issue

  - ### moveIssue

    Asset moveIssue(MoveIssueRequest moveIssueRequest)
    Moves an issue to another community
    Parameters:
      `moveIssueRequest` - the properties needed for the move
    Returns:
      the moved issue

  - ### findIssues

    @SecurityAuditMethod(resultFormatter=com.collibra.dgc.core.api.internal.security.audit.formatter.PagedResponseFormatter.class) PagedResponse<Asset> findIssues(FindIssuesRequest findIssuesRequest)
    Returns issues matching the given search criteria.
    Parameters:
      `findIssuesRequest` - the search criteria for issues
    Returns:
      the found issues

  - ### exists

    boolean exists(UUID issueId)
    Returns true if an issue with given ID exists.
    Parameters:
      `issueId` - the ID of the issue
    Returns:
      true if an issue with given ID exists, `false` otherwise