I am developing an add-on (Jira 7.5+) that can create project based on the customer actions. The project is created using a template but it happens that the project can be a software project so I have to create a board based that project too. While it is possible to create a board programatically I can not find a way to copy a existing board including the configuration. Moreover as far as I know there is no way to configure a given board using Java API.
I am aware that it does exist a REST API that does what I am asking for but since the add-on will run on the server side I am not able to make an authenticated REST call without storing somewhere an user and password for it.
I managed to copy a agile board doing this:
First adding greenhopper dependency to my add-on pom.xml:
Next I have to get the RapidBoardService within my class:
RapidViewService rapidViewService = (RapidViewService) ComponentAccessor.getOSGiComponentInstanceOfType(RapidViewService.class);
RapidViewService has a method for fully copying a rapidview:
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs