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

1 vote
Answer 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
Community showcase
Posted yesterday in United States

Confluence Security Advisory

Good morning Members, Not sure if you are aware. Please read the following: More details: https://co...

27 views 1 0
View post

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