Automatically created sub-tasks on story create

Curious how this might be done (in either OD or download)?

Real world example:

PM creates a story and more often than not, needs to create at least a few sub-tasks for it each and every time (like manual test, documentation, code review) etc.

How could I automate it so some specific sub-tasks get created for any new story in a particular project?

Moreso... how could I also auto-assign those as well?

4 answers

1 accepted

If its for Jira 5 :

- Install Groovy :

- Use a Post Function in your workflow at the step Create

- Use the Build in script for auto create subtask

If you want to auto assign I use this in the additional code :

import com.atlassian.crowd.embedded.api.User
import com.atlassian.jira.component.ComponentAccessor
userManager = ComponentAccessor.getUserManager()
user = userManager.getUserObject("")

Thanks, will try it out once we get OffDemand. ;)

Is there an option for OnDemand?

Create on Transition Plugin for JIRA (for download). How to create subtasks on initial issue create shows how to create issues or subtasks. You can condition on what project to do this for and set various values etc...

Bob - are you saying you've created an OnDemand version of "Create on Transition"? Can you point me to that if so?

No. It was an answer to the original question. Answers in this list are not ordered by date.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted 2 hours ago in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

21 views 0 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you