I looked for an automation so that each time I create a 'Project' then specific 'Initiatives' would be created within that project saving me a lot of set up time for each project but I could not find a pre-set.
So, my question is, is there a way for me to upload my list of 'Initiatives' in one go to a new project to save me adding them individually?
Thanks
Hello @Dale Logan
Welcome to the Atlassian community.
How many Initiatives do you need to add to each newly created project? Is every Initiative populated with unique information?
With an Automation rule you could use the Create Issue action 64 times to create 64 Initiatives, if that is the only action besides the Trigger that you need. Rules are limited to 65 components.
If you have another project that has a "template" set of Initiatives, you could use an Automation Rule with a Lookup Issues action to retrieve those issues, and then use a branch to iterate through those results and clone each issue into the new project. The Lookup Issues action is limited to retrieving 100 issues.
Besides those options a Jira Administrator can use a CSV import process to create issues within a project.
Hi, thank you for the quick reply here.
So i want to add only 20 initiatives per new project created.
I did check through the Automation templates but i could not see anything related to projects being created as the trigger. If possible, could you kindly instruct me what i should look for in particular ?
Thanks again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That trigger can be found only when creating a Global Automation Rule, which can be done only by Jira Administrators.
If you are trying to create an Automation Rule from the Project Settings page of a specific project, the rule can be applied only to that project. The Project Created rule, obviously, can't be created in the Project Settings for a project that does not yet exist. So it must be created as a Global Automation Rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
That may be my problem then, I can create automations, i tried one earlier but it didnt fix my issue so i disabled it, but as you see here when i search 'Project' nothing shows like yours where it shows a green folder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To get to the location I showed you need Jira Administrator privileges. Then you would navigate to that page thus:
If you don't have that level of access, you would need to work with a Jira Admin for your instance to get the rule created.
There is another alternative that you may be able to implement as a user that can create Automation Rules but doesn't have the access above.
You can use the Clone Issue action to clone an issue from one project into another, without creating a Global Automation Rule. If you have a project that has a "template" set of the Initiatives you would want to copy, then you could set up a manually triggered rule in that project. In that rule you could retrieve all the Initiatives with a For Each / Related Issue / JQL branch step, and then use the Clone Issue action inside that branch to clone each issue into the new project.
With a manually triggered rule you can prompt the user for input, asking for the destination project's numeric ID to be entered.
The user would have to enter the 5 digit number that is automatically assigned to the new project. It is not the alphanumeric Key that prefixes the issue keys.
Then add a branch step to retrieve all the issues in the current/source/template project from which you triggered the rule. Make sure this box is unchecked
Then add the Clone Issue action inside the branch. You'll have to use a smart value to reference the user's input to select the destination project.
You'll have to get the numeric ID for the new project after it has been created.
You can do that by using an API endpoint in a browser window:
https://<yourURL>/rest/api/3/project/<projectKey>
You have to use your instance's URL and the project key for the new project in place of <yourURL> and <projectKey> respectively.
You can find the ID in the first part of the output:
"expand":"description,lead,issueTypes,url,projectKeys,permissions,insight","self":"https://yourURL/rest/api/3/project/10002","id":"10002","key":"CS",
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.