Is there an option to prepare automation that allows me to create subtasks dependent on components (or other custom fields)?
I need to be able to prepare in the same time 2-6 clones of the same task/subtask based on a variable which allows me to assignee task to a direct team
1. User creates a task 1
2. User chooses two components: Blue and Red.
2. Automatically there should be created two sub-tasks (one for each component)
3. Subtask 1 with component Blue
4. Subtask 2 with component Red
5. Title/Description are copied from a task 1
If I add more components there will be more sub-tasks automatically created.
I would really appreciate Your help or ideas how I can set up sth like this.
I would create an automation rule based on Issue Created trigger.
Then create a series of If / else block condition where it looks something like:
Use Issue Fields condition for the IF
If component = Blue
Then new action for Clone Issue with issue type of Sub-task
It would look like this:
It works pretty well, so thanks again a lot - the only change I had to make was to switch "equals to contains".
But now I'm facing another problem. Sub-tasks cannot be linked with epics, so
So when I clone a task (which has an epic) and then Jira converts it into a sub-task I'm receiving an error.
Of course there is no problem with automation when I use it for tasks without an epic or when I made clones as tasks.
Do You have any idea what I can force jira to ignore "epic" during creating sub-tasks?
Yes, there are two options.
#1 To set Epic from a direct issue. I thought I could try to copy Epic from a task where Epic Link is Empty, but there is no option like this.
#2 There is also an option to use JSON. I tried it and it didn't work. BUT I'm sure if my command is correct.
I tried sth like this (I added only the part with epic, the rest of it was already there)
"Epic link": null
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events