/
Automatically create sub-tasks on 'Development' issues

Automatically create sub-tasks on 'Development' issues

Goal

Automatically create sub-tasks for new Development issues.

Goal

Automatically create sub-tasks for new Development issues.

Scenario

You want to automatically create sub-tasks for specific non-Developer teams to ensure that new or updated features are reviewed by teams that are downstream of primary development.

Components

Event-based Action: Issue created event, Create issue(s) post function, Set issue fields post function

Baseline

  • “Development issues” are for your development team only and are limited to the issue types Story and Tasks.

  • Issue types such as Epics (e.g. for Product/Project Management) and Bugs (for QA) will not trigger this event.

  • The post functions are configured to create sub-tasks on Stories and Tasks.

In these scenarios, some examples of useful related issues or sub-tasks are:

  • QA issues for testing and verification

  • Documentation tasks

  • “Review” tasks for Support teams, Marketing, or Project Management

Alternate Configurations

Your workflows may use different organization, or you may want to use different methods of designating Development issues.

Be sure to review the Alternate Configuration callouts below for suggestions on how to modify this configuration for your specific circumstances!


Requirements

1. Create the Event-based Action

  1. Log into your instance as an administrator.

  2. Click on the Settings icon in the upper right corner.

  3. Select Apps.

  4. In the left-hand panel under JIRA MISC WORKFLOW EXTENSIONS, click Event-based actions and click Create new action in the upper right corner.

  5. Give your Event-based action a name and, optionally, a description.

  6. Under WHEN, make sure Select Event is selected. In the right-hand panel, select Issue Created (Figure 1, right).

  7. Set the other options under WHEN as needed.

  8. Under IF SCOPE:

    1. Leave Projects set to Any.

    2. Click Issue Types.

    3. In the upper-right corner of the right panel, click Select Issue types.

    4. Check the boxes for Story and Task (Point 1, Figure 2, right).

    5. Click Add (Point 2, Figure 2, right).

Alternate Configuration

  • You may use Stories and Tasks for additional teams, so you don’t want to create related issues/sub-tasks for every Story and Task

    <use custom issue types, labels to designate Development issues, or check User/Team assignment>