Versions Compared

Key

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

...

  1. Create a draft of your project workflow. If you're unsure how to get to this page, follow the onboarding steps in Edit a Jira Workflow. You can then view your workflow in Text or Diagram mode. The steps in this use case represent Text mode. If you haven't already, switch the workflow viewer to Text mode.

  2. Select the

    Status
    colourBlue
    titleIN PROGRESS
    transition. 

  3. Select the Post Functions tab, then click Add Post Function.

  4. Select the Calculated Field (JSU) post function then click Add at the bottom of the page.

    List of JSU post functions showing the Calculated Field post function selected.
  5. Configure the post function:

    1. For the Calculate field on all issues related as option, select Within the same issue.

      Screenshot of the Calculated Fields post function configuration options.Image RemovedScreenshot of the Calculated Fields post function configuration options.Image Added
    2. Select Total story points from the field dropdown. This is the field we created in our example setup.

    3. Define the formula:

      1. We want to calculate the sum of the story points in the stories of our epic, so we select the Sum function from the dropdown and then select the issuesInEpic function. When the issuesInEpic function is combined with a function like the sum, it will retrieve the values of the selected field from all issues in the epic.

      2. Select the Story points field to add it to the formula. 

        Example formula for calculating the total story points for an epic.
  6. Click Add.

  7. Publish your workflow.

  8. Move the epic to

    Status
    colourBlue
    titleIn Progress
    and see the sum of all the story points from all the child tasks displayed in the epic’s Total Story Points field.

...