Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-217

Improve scheduled trigger: Better support for scheduled / repeating / recurring tasks, e.g. ability to set a 'start time' with fixed rate scheduled triggers, timezone support, support for Jira business/working days

    XMLWordPrintable

Details

    • 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

      • Add years
      • Add fields to fetch during scheduled trigger search - For large queries with lots of issues and fields, this can take a while. We should allow the user to restrict what fields are retrieved. This should reduce time from >30seconds to <1
      • support for working with other objects, e.g. users

      We have recently moved to Automation for JIRA from a bespoke repeating task solution, however we're having some problems reproducing some of our required repeating logic with CRON.

      We were applying labels to achieve this (to give you context). While some are easy (e.g. daily repeats) others are more difficult (e.g. first n-day or weekday of the next month, triggered by a monthly task).

      Any thoughts on how to approach this? I understand we could essentially use a repeating query trigger, which then clones the particular tasks (and then reduce the supported labels below) but it's less obvious (as it's based on existing tasks rather than specified tasks).

      Context of labels:

      Label Behaviour
      repeat-daily Repeat every day
      repeat-daily:roundup Repeat every weekday
      repeat-weekly Repeat in 7 days
      repeat-monthly Repeat next month, same calendar day
      repeat-monthly:roundup (warning: this feature is ill-conceived and not recommended) Repeat next month, same calendar day, round weekends up to Monday
      repeat-monthly:rounddown (warning:this feature is ill-conceived and not recommended) Repeat next month, same calendar day, round weekends down to Friday
      repeat-monthly:end Repeat next month, last day of month
      repeat-monthly:end-minus:n Repeat next month, n days before the last day of the month
      repeat-monthly:x.y Repeat next month, xth y of the month (y = 0-6, Sun-Sat)
      repeat-monthly:x.y-plus:n Repeat next month, xth y of the month (y = 0-6, Sun-Sat) plus n days
      repeat-monthly:x.y-minus:n Repeat next month, xth y of the month (y = 0-6, Sun-Sat) minus n days
      repeat-monthly:startb Repeat next month on the first business day
      repeat-monthly:endb Repeat next month on the last business day
      repeat-monthly:startb-plusb:n Repeat next month, n days after the first business day
      repeat-monthly:endb-minusb:n Repeat next month, n days before the last business day
      repeat-quarterly Repeat next quarter, same day of the quarter
      repeat-quarterly:roundup  
      repeat-quarterly:rounddown  
      repeat-quarterly:end  
      repeat-quarterly:end-minus:n  
      repeat-quarterly:x.y Repeat next quarter, xth y of the quarter (y = 0-6, Sun-Sat)
      repeat-annually Repeat every year

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              89403358cf11 Charlie Gavey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: