I am using the SDK to create a plugin with a project template using the Java API. As part of this template I want to create a board (Scrum or Kanban).
I was not able to find any examples during my research...
In my current approach I'm using the following code during the ProjectCreatedEvent:
BoardService boardService = ComponentAccessor.getComponent(BoardService.class);
ServiceOutcome<Board> defaultBoardForProject = boardService.createDefaultBoardForProject(user, project.getId());
The confusing part is, during debugging I can see, that the board is created. As the returned Object defaultBoardForProject is not null. The object has a boardId and an associated filter with filterId.
So, for me it looks like the board is created... It is also possible to retrieve the board using the boardId during debug. But the board is not visible via the browser and also not assigned to the project...
Thanks for your help.
I am also seeing the same behavior. I can see the boards being created in eclipse debugger, but they are not visible in browser. Even the JIRA AGILE rest call /rest/agile/latest/board/ also doesn't return these boards created by the java API
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.