Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I automate subtask assignment or creation?

noise-ekris March 9, 2021

We have a reasonably complicated and sometimes iterative workflow with a lot of steps. We would like to manage this in Jira using subtasks, but since the flow is largely linear, each step (task or subtask) blocks the next. Because we have many steps, and many projects in various stages, I would like to automate the subtasks so that they are either created or assigned only when the blocking item is completed. 

A separate subtask workflow would help but since jira doesn't yet offer this, I'd really like a workaround.

I am working in a next-gen Cloud-based project. I am Admin.

2 answers

1 accepted

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 11, 2021

Hello @noise-ekris

Thank you for reaching out.

Per your description, I understand you would like to automatically create a new sub-task when a sub-task is completed, creating the new sub-task under the same parent issue of the completed subtask. Is that correct?

You can do it using Jira automation, as you can see in the screenshot below:

Screen Shot 2021-03-11 at 17.00.02.png

To do that, you must use the branch condition to select the parent issue. These would be the steps:

  1. Create a new automation rule, selecting the issue transition to "Done" as the trigger
  2. Add the field condition "Issue type must be a subtask"
  3. Add a new branch, related to the subtask's parent
  4. Under that branch, add the action to create a new subtask, selecting the "Current issue" as the parent

You can check the documentation below for more details about Jira automation:

Jira automation 

Let us know if this information helps.

noise-ekris March 11, 2021

Thank you! This is exactly what I was looking for, @Petter Gonçalves Very, very much appreciated.

Like Petter Gonçalves likes this
0 votes
Alexander Pappert
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2021

you can try automation for jira

check the rule playground:

https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/new/new

if issue a is resolved or in a defined status, you could create a new subtask

also, if the blocking issue is resolved, you can cange the assignee

noise-ekris March 10, 2021

Thank you. I have looked at this but only find ways to make that work on tasks/issues, not subtasks. This will at least work to allow me to generate only the subtasks for that status, which would help, but it would be ideal if I could generate subtasks when the previous subtask is completed.  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events