# Setting up rules and actions in the actions editor

In the actions editor, the following can be added:

* Conditions (**IF**, **ELSE**)&#x20;
* Actions (**Create issue/request**, **Add comment**, **Execute transition**, **Autoreply**, etc.)&#x20;

Conditions and actions can be added under each other and are executed in that order they appear on the list on the left side. Whenever you click on a condition or an action, their details appear on the right side. Any modification to the properties of the action or a condition appear immediately on the left side.

Actions added to a condition are executed if the given **IF** or **ELSE** condition is evaluated to be true. There are some special actions, like **Set field value** that can be added under other actions like **Create issue/request** or **Execute transition**.&#x20;

{% hint style="info" %}
**Note**: In such cases, these child actions are executed together with the parent action in a single step. For example, when a new issue is created, fields can be initialized as well in a single transaction, to avoid sending several "Issue updated" notification emails that would be generated if these actions were executed separately.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meta-inf.hu/email-this-issue/adding-editing-a-mail-handler/email-this-issue-for-jira-cloud-mail-handler-actions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
