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 -->
</jira:CreateProject>
</JiraJelly>

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:CreateProject>
</j:forEach>
</JiraJelly>

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

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,076 views 13 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot