How to do it...

Go through the following steps to set up an automated task:

  1. Navigate to Administration > System > Automation rules.
  2. Click on the Create rule button.
  3. Select the Scheduled trigger for the new automation rule.
  4. Enter how often the automation task should run. We want our task to run once every day, so enter 1.
  5. Enter the project = "Support Desk" and updated <= 7d JQL query so that the automation task will know which issues it should affect:
  1. Click on the Save button to save the trigger configuration.
  2. With the trigger configured, we now need to select an action. Since we want to close issues, we will select the New action option.
  3. Select the Transition issue action type.
  4. Select the destination status to transition affected issues when the automation task runs. We want to close issues, so select the Done status. If your workflow uses a different status, select that instead:
  1. If your workflow requires additional fields to be set, you can also set them here by selecting the fields from the Choose fields to set… drop-down menu.
  2. Click the Save button to save our changes.
  3. Enter a name for our new automation task, such as Close old issues, and click on the Turn it on button.

Your completed automation task should look something like the following:

It's time to look at how these steps work.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.19.243