# How to Filter Comments

With the introduction of the comments filtering feature in Getint (available from version 1.59), you can now further customize your integrations. This feature allows you to establish conditions to either include or exclude comments based on your selected criteria. For example, you can configure the system to exclude all comments that lack a certain value or to include all comments that contain specific values.

### Understanding Filter Logic: AND vs OR <a href="#understanding-filter-logic-and-vs-or" id="understanding-filter-logic-and-vs-or"></a>

The Getint filtering system uses the **AND** operator by default. This means that when you define multiple filters, a comment must meet every single condition to synchronize.

* **How AND Logic Works**: If you have three separate filters, the system only syncs items that satisfy all three requirements at the same time.
* **Using OR Logic**: You can apply OR logic within a single attribute by using a **one of** rule. This allows you to list multiple values for one field, such as a list of several specific authors.
* **Combining Rules**: Even when using a **one of** rule for one attribute, the item must still pass all other filters you have configured for the sync to proceed.

If you notice that comments are not appearing as expected, review your active conditions. Because every rule must be true, a single mismatched attribute will prevent the synchronization from occurring.

Once your filters are set, remember to click **Apply** and **Save** to activate the new logic.

{% hint style="warning" %}
We plan to implement **OR** logic in the future. Until then, it is advisable only to use one condition for the left and right filters, or be aware that the current behavior applies **AND** logic. Therefore, you must meet all specified conditions.
{% endhint %}

#### Finding the Comments Filtering Feature <a href="#finding-the-comments-filtering-feature" id="finding-the-comments-filtering-feature"></a>

To locate these settings, open your integration and select the type mapping you want to modify. Then, click the **Comments & Attachments** tab. From here, you can adjust several parameters to fit your workflow:

**Configuration Options**

* **Synchronization Direction**: You can sync comments in one direction or both. If you choose one-way synchronization for an app, the option for the other direction will be disabled.
* **Filtering Conditions**: Use the dropdown menu to add rules to your sync. This allows you to permit or exclude comments that match specific criteria.
* **Filter Details**: Choose the **Attribute** and the **Condition** for each of your filters to define exactly what should be synced.
* **Comment Privacy**: You can set the integration to allow only public or only private comments. You can also configure the sync so that public comments on one side appear as private comments on the other. This feature is available for **Jira-Jira, Jira-ServiceNow, Jira-Asana, and Jira-Salesforce** integrations.
* **Jira Group Restrictions**: For Jira integrations, you can limit synchronization based on Jira Groups. This ensures only comments from specific groups are shared across your projects.

{% embed url="<https://www.loom.com/share/018db8af42fd44bea56c7ce6935eb190>" %}

#### Filtering by Date and Time

One of the most common use cases for this is filtering comments to include only those created before or after a specific date or time.

**Date format**: Use the format `YYYY-MM-DD`, for example: `2025-10-03`.

**Datetime format**: Use the same date format, followed by a **T** to separate date and time, then a time down to seconds, and a 4-digit UTC offset in hours and minutes: `YYYY-MM-DDThh:mm:ss.HHMM`, for example: `2025-09-25T12:00:00.0200`.

**Important notes**:

* Any trailing components can be omitted—starting with timezone, then seconds, minutes, etc.
* Omitted values will default to zero. For example:
  * `2025-09-25T12` → interpreted as `2025-09-25T12:00:00.0000`
  * `2025-09-25T12:30` → interpreted as `2025-09-25T12:30:00.0000`

This allows you to filter with just the level of precision you need.

#### Need Further Assistance?

Getint provides a robust and flexible way to filter comments in your integrated apps. By understanding how to use this feature, you can ensure that only the relevant comments get synced, enhancing the efficiency of your workflows.

Remember, if you encounter any issues or need further assistance, Getint’s [support team](https://getint.io/help-center) is always ready to help.

<figure><img src="/files/U0ZBJZkU3e1rlkuyOz5u" alt=""><figcaption><p><a href="https://calendly.com/d/cpws-jb2-8xx/demo-call-all-team
">Start your integration journey. Schedule a free consultation with our Getint Integration Expert today!</a></p></figcaption></figure>


---

# 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.getint.io/getintio-platform/workflows/filtering-items-for-integration-in-getint/how-to-filter-comments.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.
