It's all about the answers!

Ask a question

Can I create a new story type that when created also create 5 child tasks

Flemming Ask Sørensen (401114) | asked Oct 07 '14, 10:15 a.m.
retagged Oct 13 '14, 4:54 p.m. by Ken Tessier (84117)

When we create a new story we always have to create 5 standard child tasks:

  • Write requirement
  • Update architecture
  • Update Source code
  • Write Unit test
  • Write system test

3 answers

permanent link
sam detweiler (12.5k6195201) | answered Oct 07 '14, 10:18 a.m.
You can create a workitem template that creates the story and its children all at once

then the user would create workitem from template instead of create workitem.

permanent link
Susan Hanson (1.6k2201194) | answered Oct 07 '14, 10:23 a.m.
You can do this one of two ways:
1) write a server-side participant to create the child work items
2) create a template which includes the Story parent AND all of the children. 

#1 is a bit more work and requires deployment of a plugin.  However, it works more like what people would normally work, by using "Create work item".

#2 can be done without any programming or deployment of server extensions.  However, your users will have to use "Create work item from template" and select the template and then it creates all 6 work items with "default" text.  They then have to know to go into the Story and update the description/summary/attributes to be correct.

There is alot of information on the web and in articles about creating a plugin.  Templates have a few articles (here is one:

permanent link
Ken Tessier (84117) | answered Oct 13 '14, 4:53 p.m.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.