public interface

SearchService

com.atlassian.crucible.spi.services.SearchService

Class Overview

Provides an API for searching reviews.

Summary

Public Methods
abstract List<ReviewData> searchForReviews(String term)
Search for reviews where the name, description, state or permaId contain the specified term.
abstract List<ReviewData> searchForReviewsByJiraKey(String key)
Get a list of all reviews that have been linked to the specified JIRA issue key.

Public Methods

public abstract List<ReviewData> searchForReviews (String term)

Search for reviews where the name, description, state or permaId contain the specified term.

Parameters
term a String term
Returns
  • a List of ReviewData matching the term

public abstract List<ReviewData> searchForReviewsByJiraKey (String key)

Get a list of all reviews that have been linked to the specified JIRA issue key.

Parameters
key a JIRA issue key (generally of the form ABC-123)
Returns
  • a List of reviews linked to the specified key