Interface StatusClient

All Known Implementing Classes:
NativeStatusClient

public interface StatusClient
  • Method Details

    • getStatuses

      Set<StatusBean> getStatuses(String projectKeyOrId)
      Returns a set of all valid statuses in the given project across all issue types.
      Parameters:
      projectKeyOrId - the project to retrieve statuses for
      Returns:
      a set of all valid statuses in the given project across all issue types.
    • getStatuses

      Set<StatusBean> getStatuses()
      Returns a set of all valid statuses across the whole instance
      Returns:
      a set of all valid statuses across the whole instance
    • getStatusById

      Optional<StatusBean> getStatusById(Long statusId)
      Returns the status which matches the given ID
      Parameters:
      statusId - id of the status to fetch
      Returns:
      a Optional depending on whether a matching status can be found