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

This widget could not be displayed.

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

This widget could not be displayed.

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>

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

303 views 1 4
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