jelly to create bulk projects

We're using JIRA 4.3 and I need to create a large number of projects using the Jelly Runner.

Here's whats given in the documentation

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
<jira:CreateProject key="ABC" name="A Project" lead="a-user">
<!-- other jelly tags -->

However, I also need to assign the following schemes to each project. All projects use the same respective schemes

Issue Type Scheme:
Notification Scheme:
Permission Scheme:
Issue Security Scheme:
Field Configuration Scheme:
Issue Type Screen Scheme:
Workflow Scheme:

Is there a way to do this in one scipt?

I found this link that mentions how to associate a project to a workflow scheme, but it seems to be aimed towards JIRA 5.

3 answers

Hi, have you been able to find a solution? I am looking for this too.

The following code is not exact answer for you question but it should help you to start

To Create multiple projects and i added ony one for loop for project name and you have to add another forloop for project keys

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib" xmlns:util="jelly:util" xmlns:j="jelly:core">
<util:tokenize var="projects" delim=",">projectA,ProjectB</util:tokenize>
<j:forEach var="project" items="${projects}">
<jira:CreateProject key="ABC" name="project" lead="a-user">
<!-- other jelly tags -->

<jira:CreatePermissionScheme> - for creating new permission scheme (works for jira 4.3)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

800 views 2 19
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you