I am currently developing a plugin for jira containing a servlet. I need to get some information about a board where the boardId is sent with a post request to the servlet.
Unfortunately, I wasn’t able to receive that information with the jira boardService since it always returns null, even though the rest API returns results for the same id. A similar problem was mentioned by this post, but never answered:
The boardService itself is properly initialized according to the debugger. I injected it via the
@JiraImport Annotation. I already tried the
getBoard(user, id) and
getBoardsForProject(user, projectId). Is there anything I did wrong? Or does anyone have a possibility to call the jira rest api from within java without using static credentials and basic authentication?