Versions Compared

Key

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

This is the documentation for JSU for Jira Cloud. If you are using JSU on Jira Server/Data Center, see our JSU Server/Data Center documentation. The Universal Rule Builder is available only in JSU Cloud.

...

On this page:

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue

Goal

Remove the Assignee when an issue moves back to

Status
titleto do
and transition all subtasks
Status
colourBlue
titlein progress
back to
Status
titleto do
.

Scenario

You identify a change in priorities. Progress on an issue may need to be paused or stopped entirely so you want the Assignee field set to Unassigned when the issue moves back to

Status
titleto do.
Because work is paused on the parent issue, you want to ensure that all subtasks in progress automatically move back to
Status
titleto do
.

Components

Universal Rule Builder: Update Any Issue Field and Trigger a Linked Transition

Tip

This setup uses the Universal Ruler Builder. Here you can see how simple it is to configure two different post functions in one place.

Example setup

Follow the interactive demo to learn how to set up this use case, or follow the numbered steps below.

...

How to configure this rule

  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 Diagram mode. If you haven't already, switch the workflow viewer to Diagram mode.

    Jira Workflow editor in Diagram modeImage RemovedScreenshot of Jira workflow editor in Diagram mode.Image Added

  2. We want the post function to run when an issue moves to

    Status
    titleto do
    . Click the arrow that points to this status to display the transition Options menu.

  3. Select Post Functions to display the Post Functions tab.

    Jira Workflow editor in Diagram mode showing post functions highlighted in the transition options menu.Image RemovedScreenshot of Jira workflow editor showing post functions highlighted in the transition options menu.Image Added

  4. Select Add post function to view all available post functions.

  5. Select the Access the Universal Rule Builder from JSU post function, then click Add at the bottom of the page. The Universal Rule Builder displays.

    List of available post functions shown with the Universal Rule Builder selected.

  6. In the list of components, select the Update Any Issue Field post function.

    The Universal Rule Builder with the Update Any Issue Field post function selected.Image RemovedScreenshot of The Universal Rule Builder with the list of available components.Image Added

  7. To configure the post function:

    1. From the Field Name drop-down list, select the field that you want to update following the transition. Here, we select Assignee.

      Field options drop-down list displaying the Assignee field.Image RemovedScreenshot of the field options drop-down list displaying the Assignee field.Image Added

    2. In the Assignee field, select the new value that you want to assign to the field when the transition is complete. Here, we select Unassigned.

      Assignee field set to Unassigned.Image RemovedScreenshot of the Assignee field set to Unassigned.Image Added

  8. In the rule overview, enter a name for the rule. Choose a name that helps you identify the rule, for example, Update assignee to Unassigned.

    Overview of the rule as described in the procedure on this page.Image RemovedScreenshot of the rule overview as described in the procedure on this page.Image Added

  9. Click Add component.

  10. In the list of components, select Trigger a Linked Transition.

  11. Select The subtasks of the parent issue relation type option.

  12. Select the To Do status from the list of available statuses.

    JSU-URB-Trigger-a-linked-issue.png
  13. Select Add at the bottom of the page. A summary of all your post functions applied to this transition is displayed in the draft workflow.

  14. Select Publish Draft at the top of the page. If necessary, you can save a backup before confirming.

...