rt-search-attributes-4(8)

rt-search-attributes-48

Search rt attribute objects

Usage

rt-search-attributes [OPTION] ATTRIBUTE_NAME QUALIFYING_CODE

Overview

This script searches all attributes named ATTRIBUTE_NAME with qualifying code QUALIFYING_CODE and prints out the details of matching attributes.

QUALIFYING_CODE can use a number of variables to call on RT::Attribute's properties:
$Id, $ObjectType, $ObjectId, $Name, $Description, $Content
$_ is available as shorthand for $Content

-c, --content
Print attribute content

-h, --help
Display this help and exit

e.g.

rt-search-attributes SavedSearch '$id > 10' rt-search-attributes Search '$_->{Query} =~ /Status/'

Releases

2 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12

From request-tracker4 4.4.6+dfsg-1.1+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.