You are viewing documentation for RT 4.4.2, which is end-of-life and no longer supported. The current release is 6.0.4 (view the current version of this page).
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.
NAME
rt-search-attributes - search RT::Attribute objects
SYNOPSIS
rt-search-attributes [OPTION] ATTRIBUTE_NAME QUALIFYING_CODE
DESCRIPTION
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/'
← Back to index