Uploaded image for project: 'Automation for Jira'
  1. Automation for Jira
  2. JIRAAUTOSERVER-181

As a Jira admin, I would like to be able to temporarily stop all automation rules

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      Issue Summary

      When preparing a stage test environment with production data, we would like to have an option to temporarily disable all the rules, without the need to manually switch off each rule through the Gui Interface or disable the plugin.

      Steps to Reproduce

      1. Prepare a stage test environment using Production Data
      2. Check the Automation rules list and go one by one, disabling each rule
      3. Check the Service Desk Project Areas > Project Settings > Automation and disable each rule

      Expected Results

      • Have a single option that you could disable all the automation rules

      Actual Results

      • There is no option to disable all the rules. You need to go one by one

      Workaround

      Setting limits

      Following the Service limits knowledge base, temporarily set the property "max.processing.time.per.day" (default 3600) to a very small value, like "1", forcing all the automation rules to be throttled. The rule will start, but as the limit was reached, it will be interrupted.

      You can run a curl command like the one below, replacing your user, password and jira base URL:

      curl -X PUT -H 'Content-type: application/json' \
      -u user:password \
      -d '{"key": "max.processing.time.per.day", "value": "1"}' \
       http://jirabaseurl/rest/cb-automation/latest/configuration/property

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              imurakami@atlassian.com Isabel Murakami
              Votes:
              8 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: