Skip to end of banner
Go to start of banner

Remove Assignee When an Issue Moves Back to To Do

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.


Goal

Remove the Assignee when an issue moves back to TO DO.

Scenario

You want the Assignee field set to Unassigned when an issue moves to TO DO.

Components

Universal Rule Builder: Update Any Issue Field

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 mode

  2. We want the post function to run when an issue moves to TO 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.

  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.

  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.
    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.
  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.

  9. 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.

  10. Select Publish Draft at the top of the page. You can choose to save a backup if required before confirming.

Test the post function in the workflow

We recommend that you build and test your rules in a test project.

  1. Go to an issue in your project that is in progress or another status that can be transitioned back to TO DO. If you don’t have any, you can create one and select an assignee.

    Jira issue assigned to Demo-user.
  2. Move the issue to TO DO.

  3. Refresh your browser to reload the issue. You'll see that the previous assignee has been removed and the issue is unassigned.

    Jira issue is unassigned after the transition to To Do.


    Congratulations! You've just configured your very own automation with the Universal Rule Builder! 


Need more information or help? Get in touch!

  • No labels