When creating an Epic in my Board (Software Project), I want to automatically create one task with ten subtasks.
Currently it is only possible for me to automatically create an Epic with a task or an Epic with a subtask.
When I try to automatically create an Epic with task and subtask, either the task or subtasks are missing or created outside the Epic.
I tried various variants before (even according to working solutions in other feeds but nothing works for me with Jira Cloud).
Any ideas?
Thank you in advance
Jana
in the screenshots you can find two of various different ways I tried.
Hi @Jana Jäger ,
Your Rule is correct. but you need to select 'All created issues' instead of 'Most Recently created issue'.
Cheers!
Great, thank you for your help @Tharaka_Hettiarachchi - it works now.
Any idea how I get to have the same assignee in the task & subtask as well? It doesn't work with Assigneee "Copy from Epic".
Thank you again
Jana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to set 'Copy from current issue' in Task and Sub tasks as well
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.
@Tharaka_Hettiarachchi unfortunately it's not completely solved.
It does work now but now a subtask always gets created when creating a task no matter the Project Type & I only need the subtask creation once after creating the epic (not always when adding a task).
Any idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jana Jäger
Your rule is very close to what you need...the missing part is a branch on most-recently-created-issue. Please try this adjustment to add the subtasks:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy thank you so much for your help. I can follow your explanation quite well but I guess I missed some detailed point.
It does work now but now a subtask always gets created when creating a task no matter the Project Type & I only need the subtask creation once after creating the epic (not always when adding a task).
Could you please be so kind in having a look what I could change?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My mistake, as I thought you had another path/case for when tasks were created without an epic.
I updated the rule I suggested to simplify it, removing that extra part. Please compare and update your rule accordingly and re-test it. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great @Bill Sheboy . Thanks again for your help. I didn't see any differences but it worked when changing to "all type of issues".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill SheboyIt's not solved after all. Any ideas what to do when I only want those subtasks to be created in this specific case?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please post images of your current, complete rule and of the audit log details showing the rule execution. Those will provide context to explain what you are observing.
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.
First, let's simplify/shorten your rule to see how that helps...
The action to Create Subtask can add multiple subtasks at a time, so try collapsing your 5 subtask actions into 1.
Next, where you branch to All Created Issues, please change that to Most Recently Created Issue, as there will only be one.
Then retest to see what happens. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy it works if I only want to create one task and then subtasks, not when I want to create two tasks and then subtasks.
That's fine by me.
Thank you so much.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy Now these subtasks always get created when creating a new task manually. The workflow should be: New Epic -> one automatic task -> several automatic subtasks
This works but when I create another task manually, these subtasks get created as well. Any ideas what to do about that?
I hope it's okay that I continue asking you questions like that. I really appreciate your help.
Thank you
Jana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have an Else-If after the block testing for epic creation, and so it is adding subtasks for the newly created task. If you do not want those, remove the Else-if and additional subtask creation.
And if for the epic you want to create 2 tasks, you just need 2 blocks: one for each task.
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.
Hi @Jana Jäger - You need to write two automation rules. First one is to create a task and add a label to that task. Then write the second rule to create subtasks and use the same label as condition for this rule.
You can use any other field if you don't want to use label in the condition of the second rule.
-Akash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you @Akash Kumar Gupta - it worked in a different way as well which I did since I prefer to have one rule.
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.