public class

DefaultBoardDataService

extends Object
implements BoardDataService
java.lang.Object
   ↳ com.atlassian.jira.board.DefaultBoardDataService

Summary

Public Constructors
DefaultBoardDataService(BoardWorkflowService boardWorkflowService, I18nHelper.BeanFactory i18nFactory, IssueSearchLimits issueSearchLimits, SearchService searchService)
Public Methods
ServiceOutcome<BoardData> getDataForBoard(ApplicationUser user, Board board)
As the given user, get the data for a board.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.board.BoardDataService

Public Constructors

public DefaultBoardDataService (BoardWorkflowService boardWorkflowService, I18nHelper.BeanFactory i18nFactory, IssueSearchLimits issueSearchLimits, SearchService searchService)

Public Methods

public ServiceOutcome<BoardData> getDataForBoard (ApplicationUser user, Board board)

As the given user, get the data for a board. This will return an object containing the issues, statuses, assignees and columns for the board. The columns will also be ordered based on the status they contain, with the initial statuses of all workflows in the board's query context appearing first, and then the rest sorted first by status category and then by status id. There will be an error if an exception occurs while retrieving the board's issues, or if there is an error while parsing the board JQL.

Parameters
user the user to retrieve the data for the board as
board the board to get the data for
Returns
  • the board data if successful, or com.atlassian.jira.util.ErrorCollection.Reason.VALIDATION_FAILED if there was an error parsing the JQL, or com.atlassian.jira.util.ErrorCollection.Reason.SERVER_ERROR if there was an exception while searching