...
...
...
...
...
...
...
...
...
...
Div |
---|
|
On this page Table of Contents |
---|
maxLevel | 2 |
---|
exclude | On this page |
---|
type | flat |
---|
separator | pipe |
---|
|
|
Description
Using the Create Subtask workflow post function will allow you to create one or more subtasks when the post function is processed after a workflow transition step. We've streamlined the configuration of this post function by grouping all configuration settings into various tabs for easy access:
- ISSUE FIELDS - These issue fields allow you to define the contents of one or more fields when an subtask is created by this post function. Substitution Variables can then be used to populate fields. Issue Fields are grouped into the following common categories:
- Basic Fields - includes fields which are most commonly used when creating a new subtask in Jira.
- Detailed Fields - includes details associated with the subtask, people involved, and dates.
- Links - includes details of subtask links and link types.
- Comments & Attachments - how you want to handle comments and specifics associated with attachments.
- Custom Fields - controls whether to copy custom fields and allows you to define values for new custom fields.
- OPTIONAL RULES - Allow you to define the additional criteria for when and how to create the subtask(s). Optional Rules are grouped into the following category:
- Conditions & Configuration - Define one or more conditions for when to create the subtasks(s), use JQL to define substitution variables to be used to populate other fields, as well as set the acting user for the subtask creation.
- HELP - Provides quick links to additional documentation
Image Removed
Example
This scenario introduces a new Create Subtask workflow post function to a transition step within an existing workflow.
Background
...
Use Case
Several teams use the ePub workflow to coordinate an eBook creation process. When an eBook transitions from Open to Draft, a new sub-task needs to be created in the backlog of an “IT Services (IS)” project so the IT team’s manager can begin to forecast and assign resources.
Check out the below step-by-step instructions on how to automate sub-task creation based on the above scenario.
Steps
Table plus |
---|
border | 0 |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
columnAttributes | style="border:0;width=5%;",style="border:0;width=65%;",style="border:0;width=30%;max-width=30% !important;" |
---|
id | steps_table |
---|
enableSorting | false |
---|
enableHighlighting | false |
---|
|
Create Subtask - 7.xid Issue Sub-task Post FunctionLogged into Jira as a workflow administrator: Navigate
| to to Project Settings → Workflows.
| Under Click the respective Edit link of the required Scheme, in the Actions
| navigation, click EditUsing the editor in "text" mode, click Click the link name of the Transitions (
| id that you will introduce a Create Issue Post function against.Image Removed Create Subtask - 7.xfor which you want to add a Create Sub-task post function.
| Image Added |
| Image Added | Add Post FunctionSelect the Post Functions tab. Click the
| "" like (right-hand side of dialog). "Create subtask" radio button Create Sub-task post function. Click the
| "" button listed below the options.
| Image RemovedImage Added | Image Removed
|
| Image Added | Define Issue Fields | Within "" sectionKeep Retain the default Summary as "%parent_summary%", so we inherit the same summary as the parent issue.
| Set the Description field to subtask sub-task workflow initiated"
| Navigate to the "Detailed Fields" sectionin the Description field.
Select the Detailed Fields tab: Within
| the Set the Issue type to "New-Subtask" Select "Sub-task" as Issue type Under People:
| Keep the Reporter as Keep the Assignee as as Reporter. Select "Parent issue's assignee" as Assignee.
| Navigate to "" sectionSet the Create link value to Select "Parent issue key"
| Set type value to "Relates"Set value. Select "relates" as the Create link
| direction to type value. Select "Issue key to new issue" as Create link direction.
Click the
| "" button at the bottom of the screen.
| Image RemovedImage Added View configuration | Image RemovedImage Added | Image Removed
|
| Image Added | Publish and Validate Post FunctionClick the
| "" button to publish changes to your workflow and activate the Create
| Subtask Backing Backing up your workflow ahead of publishing is always a good idea. However, in this case
| we will , simply publish without a backup. Navigate to your
| Project our we will navigate to the ePub project. Create a new
| Issue issue and then transition to the step where your new Create
| Subtask Sub-task post function is configured. In
| our this case, this is the In Draft step. Search for new
| subtasks sub-tasks within your project. You should see the new
| subtask sub-task automatically created with the values you defined in the previous step.
| Image RemovedImage Added |
|
...
...