New Transparent capture is in preview. Record every app's traffic with no proxy configuration, on Windows, macOS and Linux. Learn more

hasCommentFilter Filter

Match exchanges that already carry an inline comment so you can drive view filters, exports, and bulk actions on annotated traffic.

Comments are the lightest weight way to annotate traffic during a debugging session, and being able to revisit only the exchanges you flagged is a real productivity boost. The hasCommentFilter makes that selection trivial, whether you are driving a view filter in the desktop client or running a post capture workflow against a saved trace.

When to use this filter

Reach for hasCommentFilter to single out exchanges that already have a comment attached. The filter is out of scope for the live HTTP flow, which means it is meant for view filtering, internal actions, and post capture workflows rather than mid request mutation.

Useful for:

  • Building a view filter in the Fluxzy desktop that only shows annotated traffic.
  • Exporting a sub set of a session that you have already triaged with comments.
  • Bulk tagging or moving comments forward with another internal action.

Real world examples

Tag every exchange that has been commented

Apply a tag to all commented exchanges so you can group them in the session viewer or rerun a later workflow.

rules:
- filter:
    typeKind: HasCommentFilter
  actions:
  - typeKind: ApplyTagAction
    tag:
      value: reviewed

Find commented exchanges missing a tag

Combine with hasTagFilter (inverted) to identify exchanges that were commented but not yet tagged for follow up.

rules:
- filter:
    typeKind: FilterCollection
    operation: And
    children:
    - typeKind: HasCommentFilter
    - typeKind: HasTagFilter
      inverted: true
  actions:
  - typeKind: ApplyTagAction
    tag:
      value: needs-tag

Inverted: find uncommented exchanges to review

Flip the filter to surface exchanges with no comment yet, useful when you want to make sure every interesting call was annotated.

rules:
- filter:
    typeKind: HasCommentFilter
    inverted: true
  actions:
  - typeKind: ApplyTagAction
    tag:
      value: needs-review

Reference

hasCommentFilter

Description

Select exchanges having comment.

Evaluation scope

Evaluation scope defines the timing where this filter will be applied.

outOfScope Means that the filter or action associated to this scope won't be trigger in the regular HTTP flow. This scope is applied only on view filter and internal actions.

YAML configuration name

hasCommentFilter

Settings

This filter has no specific characteristic

The following table describes the customizable properties available for this filter:

Property Type Description DefaultValue
inverted boolean Negate the filter result false

Example of usage

The following examples apply a comment to the filtered exchange

Select exchanges having comment.

rules:
- filter:
    typeKind: HasCommentFilter
  actions:
  - typeKind: ApplyCommentAction
    comment: filter was applied

.NET reference

View definition of HasCommentFilter for .NET integration.

See also

The following filters are related to this filter:

Frequently asked questions

Why is this filter out of scope for live traffic?

Comments are an annotation layer that lives on the captured exchange, not on the wire. The filter therefore makes sense for view filters and post capture operations rather than real time rules.

Does the comment content matter?

No. The filter only checks whether a comment exists. Use commentSearchFilter if you need to match comment text.

Can I use it to drive an export?

Yes. Pair it with a view filter or rerun the rule file against a saved session to extract annotated exchanges in bulk.

Learn more about Fluxzy rules