/
Documentation - all on single page

Documentation - all on single page



The waiting is over - The Scheduler is finally available for JIRA Cloud!

About The Scheduler

The Scheduler allows you to define what we call "Scheduled Issues" that will automatically create standard JIRA Issues at selected time, date or in chosen intervals. Scheduled Issues are defined on the project level, which means you can create and manage them for each project independently, without the need for JIRA Administration access.

Scheduled Issue Concept

A Scheduled Issue consists of two elements: an Issue Template, and a Trigger Definition, that you define using a user-friendly wizard.

Issue Template

Issue template is basically a definition of an issue you plan to create. You can define it using a form that closely resembles JIRA's native "Create Issue" form (with few exceptions, described later on):



For issue templates we support all JIRA issue types, and most of the field types (with "Attachment" being an exception). You can get into it after accessing a particular project - see below:

Trigger Definition

Once you define a template, you can define how often The Scheduler should create the issue for you. You can either use the user-friendly trigger picker, or simply provide a Quartz cron expression to define the interval. This is set on the final stage, after clicking "Create" button, as presented above.

The below illustrates its location and outlook:

Manual Scheduled Issues

That being said, Trigger Definition is actually optional - you can simply create a "Manual" Scheduled Issue that you can then execute manually from the Scheduled Issues tab panel. This is a perfect solution if you want to simply define a number of Issue Templates that you would rather create "on demand" than to create them periodically.

Creating Scheduled Issues

There are a couple of ways to create new Scheduled Issue:

  • Using the "Create" button in Scheduled Issues tab panel

  • Using "Schedule issue" item from the Issue "More" menu

  • Using "Clone" item from the Scheduled issue action menu

 

Below images present where those elements can be found:

Scheduled Issue Wizard

No matter which option you chose, you'll end up in the "Scheduled Issue Wizard" dialog that allows you to define Scheduled Issue attributes, such as name or description, the Issue Template and define the desired trigger.

The first page of the wizard prompts you for the Scheduled Issue attributes, such as Name and Description. Name attribute is required, and it has to be unique within each project (so that each Scheduled Issue can be easily distinguished from the other). The wizard will notify you if the name you have  chosen is already taken.

The second page allows you to define the Issue Template. In the top section, you choose the issue type you want to create. Once you do that, the bottom section will display the fields that are used by the chosen issue type for you to fill up. The required fields are marked with the "*" and the wizard will not let you through if you leave them empty. Currently, we support all of the JIRA standard and custom fields (except the "Attachment" field). Please be advised that it is not possible for us to support any third-party custom field(s), defined by another add-on(s). If you need a particular third-party custom field support, please raise a ticket and we'll see if it's possible for us to handle it.

The third page is the Trigger details section, where you can define how often your Scheduled Issue should be created. There are three trigger types to choose from: Cron, Interval and Manual.

Choosing Manual trigger type will let you create a Scheduled Issue without a Trigger. As described in "Manual Scheduled Issues" section, The Scheduler will not attempt to create this issue periodically, but instead, such a Scheduled Issue can be manually executed with "Execute" action.

Cron and Interval trigger types are actually quite similar, in a way that both of them allow you to define a trigger.

Simple trigger type lets you define a trigger with a user-friendly period picker, whereas "Advanced" allows you to provide your own Quartz cron expression. The "Simple" picker contains a number of options that should be sufficient for most of the use cases. However, should you need a truly custom trigger, the "Advanced" type is here to help.

Besides the actual period, you can also specify the start and end dates for the Trigger to be in effect. By default, the trigger is always started (Start Date is set to "Now"), and it never expires (End Date set to "Never"). You can modify these dates to fit your particular use case (i.e. - see above).



Adding Scheduled Issue to Active Sprint

Starting from version 2.2.0 you can set Scheduled Issue to be created in Active Sprint - if there is no active sprint , the creation of SI will fail.

 

Managing Scheduled Issues

Scheduled Issues can be managed by using "Scheduled Issues" tab panel on each project view, with version 2.2.0 Scheduler have its own icon for even quicker access

Scheduled Issue Action Menu

Action menu can be accessed from the "Actions" column in the Scheduled Issues table. It provides a number of scheduled-issue-oriented actions, such as:

  • Execute - manually executes a Scheduled Issue (state of such must be active → the quickest way to turn it on at this stage is to click "Activate" in the presented above drop-down menu),

  • Issue Preview - displays an issue details for the Scheduled Issue,

  • Execution History - displays an execution history for a particular Scheduled Issue, along with the information about the Jira issue creation date,

  • Activate / Deactivate - allows to quickly change Scheduled Issue status,

  • Clone - creates a full copy of this Scheduled Issue,

  • Edit triggers - allows you to quick edit triggers on Scheduled Issue, without going throught whole wizard window,

  • Edit - allows you to edit a Scheduled Issue,

  • Remove - permanently removes a Scheduled Issue.

Expired Scheduled Issues

Scheduled Issue can expire only if you've defined a custom Trigger end date (the default setting is to never expire). The "Expired" state indicates that according to the Trigger definition, this Scheduled Issue will never be executed again. That being said, you can still execute this Scheduled Issue manually, or edit it to modify the Trigger so that the Scheduled Issue can be executed again.

Failed Scheduled Issues

As you surely know, JIRA is a truly complicated system, and also a highly-configurable one. While it is generally a huge benefit, as it allows you to do wonders and optimize it for your particular use-cases, it can also be great problem when it comes to the overall consistency. With all its configuration options, JIRA can be considered a dynamic system, which sometimes tends to break things. If you're a system administrator, you most likely understand that changing some piece of configuration in one place (like editing the workflow) can result in a problem in some other place.

This is also true for add-on like The Scheduler. Imagine that you've been using JIRA & The Scheduler for quite some time, you've set up a couple of Scheduled Issues and they were working as expected without any problems. Then, at some point, you decided that you want the "Component" field to be mandatory fo