RT 6.0.2 Documentation

rt-search-attributes

NAME

rt-search-attributes - search RT::Attribute objects

SYNOPSIS

rt-search-attributes [OPTION] ATTRIBUTE_NAME QUALIFYING_CODE

rt-search-attributes -c Bookmarks '$ObjectId = 14' # Bookmarks for user with id 14 rt-search-attributes -c Pref-DefaultDashboard '$_ = 9' # All users using dashboard id 9

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

← Back to index