Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Div
idProductTOC

On this page

Table of Contents
maxLevel2
excludeOn this page
typeflat
separatorpipe

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
border0
heading0
multiplefalse
enableHeadingAttributesfalse
columnAttributesstyle="border:0;width=5%;",style="border:0;width=65%;",style="border:0;width=30%;max-width=30% !important;"
idsteps_table
enableSortingfalse
enableHighlightingfalse

Image RemovedImage Added

Isolate the Workflow Transitions (ID) for new Create Sub-task Post Function

Logged into Jira as a workflow administrator:

  1. Navigate to Project Settings → Workflows.

  2. Click the respective Edit link of the required Scheme, in the Actions column.

  3. Click the link name of the Transitions (ID) for which you want to add a Create Sub-task post function.

Image RemovedImage Added

Image RemovedImage Added

Add Post Function

  1. Select the Post Functions tab.

  2. Click the Add post function link.

  3. Select the Create Sub-task post function.

  4. Click the Add button listed below the options.

Image RemovedImage Added








Image RemovedImage Added

Define Issue Fields

  1. Select the Basic Fields tab:

    1. Retain the default Summary as "%parent_summary%", so we inherit the same summary as the parent issue.

    2. Enter "FYI - ePub sub-task workflow initiated" in the Description field.

  2. Select the Detailed Fields tab:

    Within the details: Select "Sub-task" as Issue type

    1. Under People:

      1. Select "Current user" as Reporter.

      2. Select "Parent issue's assignee" as Assignee.

  3. Select the Links tab: 

    1. Select "Parent issue key" as the Create link value.

    2. Select "relates" as the Create link type value.

    3. Select "Issue key to new issue" as Create link direction.

  4. Click the Add button at the bottom of the screen.

Image RemovedImage Added

View configuration

Image RemovedImage Added



Image RemovedImage Added

Publish and Validate Post Function

  1. Click the Publish Draft button to publish changes to your workflow and activate the Create Sub-task post function. Backing up your workflow ahead of publishing is always a good idea. However, in this case, simply publish without a backup.

  2. Navigate to your project in Jira. In this case, navigate to the ePub project.

  3. Create a new issue and then transition to the step where your new Create Sub-task post function is configured. In this case, this is the In Draft step.

  4. Search for new sub-tasks within your project. You should see the new sub-task automatically created with the values you defined in the previous step.

Image RemovedImage Added

...


...