You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I want to set up an automation that creates 5+ epics, and each epic would have 2 to 10 tasks under it.
I can only seem to make it work for 1 epic, and multiple tasks.
**Essentially, we have cyclical projects that have the same epics & tasks month to month, and I want to make it the Epics and Tasks appear with the push of a button so little time is spent on re-entering the tickets.
I'd prefer to have this be a global automation so it can be used on ANY project, but I am OK if it is has to be the project level. s
Yes, and...to the answer from @Stefan Salzl
If your description of the scenario is accurate you may not be able to do this in one rule, and depending upon your Jira license level may not want this to be a global rule.
First thing: rules can have up to 65 components (i.e., trigger, actions, branches): https://support.atlassian.com/cloud-automation/docs/automation-service-limits/ And your scenario of creating "5+ epics, and each epic would have 2 to 10 tasks" might exceed that limit. Each epic would take:
So that would be 4 to 12 components x 5 epics = 20 to 60 components + trigger = 61 components. That would be difficult to maintain and if the rule changes to do more (issues or conditions) it may be over the limit. It may be better to use multiple rules in that case.
Second thing: you described considering a global rule. There are limits on the number of global / multi-project rule executions per month, based on your license level: Free, Standard, Premium, and Enterprise. These are described here: https://support.atlassian.com/jira-cloud-administration/docs/explore-jira-cloud-plans/ Please check with your site admin as global rules can quickly use up limits for some scenarios.
I had no idea about the components limitations, thank you that is great to know. I also had no idea about the global automation, so that is also great to know.
I am trying it with two rules at the moment because I need to proto type something in the AM. However I will also circle back with Stefan, in case there is a scenario that we can limit the components, and hopefully allow no changes.
Did you already try to create a rule? If so could you please share your current result and where you got stuck?
To add to your post: If you are able to do it for 1 you could repeat this step. see the following screenshot. The marked area could be repeated as often as needed in your rule:
Hi Stefan, I did try this, but it wasn't working. I will recreate what I did in the next day, so I can share where I got stuck.
Basically when I made the second epic, things did not work the way I thought - I will provide more detail. shortly.
I have to prototype something in the morning so I am trying it by using two rules, but I think the above is cleaner and would prefer to revert back to it if I can get it to work :)
If you don't mind using an add-on, in addition to Automation or not, Elements Copy & Sync lets you do exactly that.
Basically, what you need to do is have a "template project" with all the Epics you may want to copy with their tasks.
With Copy & Sync, you can automate the copy of these Epics, with their hierarchy intact, to any project that will need them. There is no limitation to how many times this can be done.
This copy can be done manually (you can select your Epics through Jira search and copy them in one click) or you can automate it with Automation (this will let you use any Automation trigger, but the Automation rule is quite simple: you just have to call our app as an action).
The app is free for 30 days, (and stays free if your instance is under 10 users), so feel free to give it a try, and don't hesitate to tell reach our Support if you have any question.