Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I automate subtask assignment or creation?

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

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.

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

Like Petter Gonçalves likes this

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

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
Site Admin
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

130 views 0 2
Read article

Community Events

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

Events near you