Hi Everyone,
I am trying to achieve two things from JIRA automation
1) Create a task and then clone in multiple project. For example, I created a task "task 1" in Master project and using jira automation, I cloned this task in two projects. I used following automation rule.
Second thing I want to achieve is when I create a subtask in "task 1", then it should automatically clone subtask in other project's task which were cloned originally. For example, user "task 1" of Master project I created two subtasks. These subtasks should be copied in other cloned tasks of project School 1 and School 2.
I tried this logic but it is giving me an error (issue type is a sub-task but parent issue key or id not specified (issuetype)
Can anyone help me in this?
Thanks
Hi Muhammad,
Sub-tasks can only be linked to a parent in the same project. And you need to create the sub-task in that same rule as you Clone the task.
So, between the two Clone issue actions in the first rule, add a Branch for Most Recently Created Issue.
Then move add the Create Sub-task under that Branch.
Do the same thing with the next Clone issue - add a branch and put the create sub-task under it.
Thank you @John Funk for your quick response. Appreciate it.
I used your suggested rule and here is what happened:
- Sub task is not created in original issue
- Sub task is created in cloned issue
- If I create a subtask in original issue, it doesn't show up in cloned tasks.
Let me explain it again, what I am trying to achieve:
1) Actually, it is not compulsory to create a subtask with each task. Sub-tasks are optional - for some tasks there could be subtasks and for some there couldn't be.
2) Manually create subtask in original task
3) JIRA automatically create subtask in cloned task
I hope this will add more clarification in my approach that I am trying to achieve.
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.
Still not completely following this. Maybe just list exactly what you do and what you want to happen. Use identifiers such as Task A, Task B, Sub-task A-1, Sub-task A-2, etc.
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.