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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

70 views 0 5
Read article

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