Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue


Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone
 graphic

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Panel

On this page

Table of Contents
exclude(On this page|Get to know Automation rules).*
stylecircle
typeflat
separatorpipe



Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



UI Text Box
sizemedium
typeinfo

A very basic rule only consists of two elements: a trigger (mostly a Jira event like an issue update) that kicks off the rule and an action (like adding a comment) that will be performed automatically.

Optionally you can further refine your rule by configuring selectors and conditions.


First steps of creating a rule

UI Steps


UI Step

Create a new rule andgive it a unique name and a description (optional).


UI Step

Choose the trigger your rule should listen to. The dialogue opens automatically since every rule starts with a trigger.


UI Step

Optional: if you want to further refine your rule add selectors and/or conditions.


UI Step

Add the action you want to add and configure it according to your needs.


UI Step

Excerpt Include
DECADIS:Automation Use Case - Enable Rule
DECADIS:Automation Use Case - Enable Rule
nopaneltrue



The basic elements of an automation rule

Learn more about triggers, selectors, conditions, actions and their configuration.


UI Expand
titleExample of creating a rule


UI Steps


UI Step

Create a new rule andgive it a unique name and a description (optional).



UI Step

 Configure the trigger

Since we want to add a comment when the priority of an issue is updated we need the trigger to listen to the Field Changed Event.


UI Steps


UI Step

Field*

Choose Priority


UI Step

Changed to*

Choose Selected value


UI Step

Value*

Choose Highest


UI Step

Click Save





UI Step

 Configure the action

Since we want to automatically add a comment to all issues we need to choose the Add Comment action.

In this example we just leave a generic plain text comment.

UI Steps


UI Step

Comment text*

Code Block
linenumberstrue
The priority on this issue has changed to Highest. You receive this notification as a watcher of this issue. 

Cheers!



UI Step

Click Add




UI Step

Excerpt Include
DECADIS:Automation Use Case - Enable Rule
DECADIS:Automation Use Case - Enable Rule
nopaneltrue





Edit a rule

Once you have created a rule, you can edit its name, its description and its elements.

The name and description can be updated at any time. If you want to update any configuration element you need to disable the rule first.

UI Text Box
typeinfo

Disable the rule by clicking on the Disable button  → . Learn more about rule statuses.


UI Expand
titleEdit the name and description

Click on the edit button next to the rule's name to edit its name and its description.


UI Expand
titleAdd a new element

Click on the add button next to any desired element to add a new one. The button will be visible once you hover over an element.

UI Text Box
typetip

If you click on the add button next to the condition you would have a nested condition.

You cannot add further elements to an action.



UI Expand
titleDelete an element

Click on the delete button next to the element you want to delete from the rule.

UI Text Box
typewarning

If you delete an element, all its nested elements will be deleted too.



UI Expand
titleElement hierarchy

You can add elements under or next to existing elements. JWT will respect the hierarchy and the order of elements when processing the rule.



Anchor
ui-hacks
ui-hacks

Useful UI hacks

Check out these fine little hacks that will make your life easier when working with rules.

UI Expand
titleReorder elements using drag and drop

When you hover over an element's name, you will notice the arrow cross symbol. This means that the element is available for drag and drop (meaning it can be moved within the rule).

When starting to drag an element by clicking and holding the left mouse button, valid drop targets are marked with a + symbol.

Multimedia
namedragndrop-rule-entity.mp4
width700


UI Text Box
typenote

All elements except triggers can be moved.



UI Expand
titleExpand and collapse elements

Click on an element to collapse or expand it and all its nested elements.

Multimedia
nameexpand-compress-rule-entity.mp4
width700
autostarttrue

The sidebar can be completely expanded by clicking on the expand icon in the upper right-hand corner of the sidebar for a smooth item configuration.

Multimedia
nameexpand-compress-sidebar.mp4
width700
autostarttrue



Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue

...