com.atlassian.jira.board.BoardService |
![]() |
@Internal
or @PublicApi
.
Provide services for storing and retrieving a board's configuration.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a board according to the data provided.
| |||||||||||
Create a default board for the specified project.
| |||||||||||
Delete the board.
| |||||||||||
get the board for board id
Get the board for specified board id.
| |||||||||||
Get a list of boards related to the project.
| |||||||||||
Returns whether there is at least one visible board for the user in the project.
|
Create a board according to the data provided.
Only user with CREATE_SHARED_OBJECTS GlobalPermissionKey
can perform this operation.
Otherwise, this method will return a no permission error.
user | the user creating the board |
---|---|
boardCreationData | board creation data |
Create a default board for the specified project. Call this instead of createBoard when a board should be created as part of project creation.
Only a user with EDIT_PROJECT_CONFIG ProjectAction
permission can perform this operation.
We don't validate jql here in order to allow admin without view project permission still can create the board.
Otherwise, this method will return a no permission error.
It returns the newly created board if it's created successfully.
user | the user creating the board |
---|---|
projectId | the project id |
Delete the board.
Only user with CREATE_SHARED_OBJECTS GlobalPermissionKey
can perform this operation.
Otherwise, it'll get no permission error.
It'll return true when the specified board is deleted successfully. It'll return false if the specified board is not found.
user | the user to delete the board |
---|---|
boardId | board id |
get the board for board id Get the board for specified board id. Use has to be able to view at least one project in the JIRA instance to perform this operation. Otherwise, this method will return a no permission error.
user | the user to get the board |
---|---|
boardId | the board id |
Get a list of boards related to the project.
Only user with VIEW_PROJECT ProjectAction
permission can perform this operation.
Otherwise, this method will return a no permission error.
user | the user to get the boards |
---|---|
projectId | the id of the project to link this board to |
Returns whether there is at least one visible board for the user in the project.
user | the logged in user |
---|---|
projectId | the project id |