You can apply a task template on creation of a requirement in Azure DevOps.

Use a task template to set up a predefined set of tasks to be created for a requirement in DevOps. In DevOps, these tasks are added as work item with the requirement as parent work item.

Example:

In DevOps, for a requirement, always these tasks must be done:

  • Design
  • Develop
  • Test
  • Document
  • Release

You can set up and apply a task template with these tasks. So, when during DevOps synchronization a work item is created for a requirement, automatically work items are created for these tasks as well.

Note: The task template is only applied on creation of the requirement in DevOps. So, for example, if you have made changes to the task template and the requirement already exists in DevOps, the task template is not applied.

To apply a task template, in the DevOps mapping, add an entity mapping for 'RapidValue table name':

  • Requirement
    In the Task template field, define the desired task template. Fill in the other entity mapping fields as desired. Also set up the entity field mapping as desired.
    Note: You can, for example, apply different task templates to different requirement types. To do so, make sure to fill in these fields accordingly: 'RapidValue field name' and 'RapidValue value'.
  • Task template
    In the Work item type field, select 'Task'. Fill in the other fields as desired. Also set up the entity field mapping as desired.
    Note: Usually, only one task template mapping is required. Also if you have several requirement mappings.

Example:

Example of an entity mapping setup for requirements and applying task templates:


Standard procedure

1. Click Business process management.
2. In the Links section, click Task templates.
3. Click New.
4. In the Task template field, type a value.
5. Expand the Description section and enter a description.
6. Expand the Lines section.
7. Click Add line.
8. Define a meaningful name for the task.
  In the Task identifier field, type a value.
9. Define a template description for the task.
  In the Description field, type a value.
 

Note: To enter a more extended text, you can use HTML tags.

10. Close the page.
11. Close the page.

Provide feedback