Versions Compared

Key

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

...

Goal

Get a clear view of your team’s backlog

Scenario

Do your epics stay in the backlog of your Jira agile board after closing them? Here's why.

Besides the workflow status, epics have an additional field called epic status which is only accessible on the Backlog screen. Only epics with the Epic status field marked as

Status
colourGreen
titleDONE
get removed from the backlog.

Let's have a look at how this can be automated using JSU

Components

Jira Backlog showing the Mark as Done confirmation window.Image RemovedJira Backlog showing the Mark as Done confirmation window.Image Added

How to configure this rule

  1. Go to Project Settings > Workflows and click Edit for the required workflow.

  2. Choose the transition where you want to perform your post function. In this case, we choose the transition to

    Status
    colourGreen
    titleDONE
    .

  3. Select the Post Functions tab and click Add post function.

  4. Select the Update any Issue Field (JSU) post function, then click Add.

  5. Because we want this post function to perform only for epics, we will need to configure a precondition. Therefore, we set the precondition to be true at the beginning of the post function configuration.

  6. In this transition, you want to have your epic status updated to

    Status
    colourGreen
    titledone
    .

    1. Select Within same Issue for the issue relation.

    2. Select Epic Status for the Issue Field.

      Configuration options for the Update Any Issue Field post function.Image RemovedConfiguration options for the Update Any Issue Field post function.Image Added

  7. Click Add at the bottom of the page.

  8. Now it's time to create your precondition to prevent errors when the workflow is used for non-epic issues. Click Add post function, select Precondition: Value Field (JSU) then click Add.

  9. Configure your precondition by choosing Issue type = Epic and make sure the comparison type is String. Click Add.

    Value Field precondition options set to Issue field is equal to Epic.

  10. Publish your workflow.

  11. Now check what you have achieved with JSU. Your epic is currently visible on the backlog. Move your epic to

    Status
    colourGreen
    titledone
    and go back to your backlog. Your epic doesn't show up anymore!

...