Interface JiraClient


public interface JiraClient
RESTEasy client proxy for the Jira REST endpoints used by the Jira readers and JiraService; methods return the raw JSON response.
  • Method Details

    • getProjects

      @Deprecated String getProjects(String expand, Integer recent, boolean includeArchived)
      Deprecated.
    • getProjectsPaginated

      String getProjectsPaginated(int startAt, int maxResults, String orderBy, String query, String expand)
      Returns a page of projects as JSON, starting at the 0-based startAt offset.
    • getSprints

      String getSprints(int boardId, int startAt, int maxResults, String state)
      Returns a page of the board's sprints as JSON; a null state omits the state filter.
    • getEpics

      String getEpics(int boardId, int startAt, int maxResults, Boolean done)
      Returns a page of the board's epics as JSON; a null done omits the done filter.
    • postRestSearchIssues

      String postRestSearchIssues(JiraSearch jiraSearch)
      Runs the JQL search and returns a page of matching issues as JSON.
    • createIssue

      String createIssue(JiraIssue jiraIssue)
    • updateIssue

      String updateIssue(String issueIdOrKey, JiraIssue jiraIssue)
    • getIssueTransitions

      String getIssueTransitions(String issueIdOrKey)
    • getIssueStatus

      String getIssueStatus(String issueIdOrKey, String fields)
      Returns the issue as JSON, requesting only the given fields (such as status).
    • transitionIssue

      String transitionIssue(String issueIdOrKey, JiraIssue jiraIssue)
      Performs the transition set on the given issue with JiraIssue.setTransition(int).
    • deleteIssue

      String deleteIssue(String issueIdOrKey)
    • getIssueComments

      String getIssueComments(String issueIdOrKey)
    • postIssueComment

      String postIssueComment(String issueIdOrKey, String body)
      Adds a comment to the issue; body is the JSON request body, not the plain comment text.