Custom JIRA Project Template

Version 1.1 by Vincent Massol on 2015/02/26 23:55

Feb 26 2015

Warning
This blog post is not published yet.

JIRA is a pain when you need to create lots of projects. On the XWiki open source project we allow the community to contribute extensions and we offer a place to host the sources in the xwiki-contrib GitHub organization. We also offer for each project a JIRA project where users can report issues and where developers can track what they're working on. 

Thus we have the need to create lots of JIRA projects. Today, I got bored of repeating over and over the same setup for creating such projects. It involves 8 steps:
# Setting the category
# Setting the custom XWiki Workflow Scheme
# Setting the custom XWiki Screen Scheme
# Setting the custom XWiki Field Configuration Scheme
# Setting the custom XWiki Notifications Scheme
# Setting the custom XWiki Permission Scheme
# Setting the Project Lead
# Setting the project URL

Following this tutorial (and a lots of googling emoticon_wink) I was able to automate steps 1-6 in the above list (Source code).

Now when we create a new JIRA project we get this nice template:

jira.png

The main code doing the work is in XWikiAddProjectHook.java:

Enjoy!

Created by Vincent Massol on 2015/02/26 23:55