I have a requirement to create a lot of projects in JIRA. Too many projects to be able to do them manually. I have a source file that has all the project information (name, key, notification scheme, security, workflow, project lead, category, etc). Using the CVS importer I cannot populate all of the fields that I need to. It looks like Jelly may do more of what I want, but it still doesn’t allow all of the fields in the project to be populated. I’m wondering if I am approaching this from the wrong angle. Does anyone else have thoughts on how I may be able to automate the creation of all of these projects, without having to do a ton of manual cleanup afterwards. Please note, that this is a one time action so it doesn’t have to be anything too elegant.
Ya, I had looked at the CLI, but it also doesn't do everything that I am looking for. I'm not familar enough with Groovy to figure out if that would work. I did look at it hoping that there may be an example. Didn't see one though. Looks like I may have to learn Groovy.
Thanks for the suggestions though
Writing a groovy script is an option, but creating a project is a hard place to start because it involves lots of maanger classes for all the schemes. If you're looking for "not elegant" I'd think just take a look at using curl/wget - do it before upgrading to 4.4 because it's 10 times more clicks to create a project in 4.4.
For the JIRA CLI , create an issue with what you think it is missing. Eventually it will improve as the JIRA APIs cover more stuff. Currently it only supports a few of the schemes for a project. You can also create the project with the CLI and then update it with a groovy script or similar to get at things that aren't supported yet.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events