Re: [rt-users] New cert breaks mailgate

2015-02-03 Thread mkyser
Well we finally figured out that the mailgate did not like our local CA. 
Went and bought a Thawte cert for RT and now everything is working as it
should.  The lesson here is spend the money and get a real cert!



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/New-cert-breaks-mailgate-tp59502p59519.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


[rt-users] User Defined Scrips for use with Custom Fields in Assets

2014-09-19 Thread mkyser
Hi All

Being rather new to RT and having never programmed in PERL before, is there
any examples or articles on how to write User Defined Scrips for Custom
Fields in Assets?
   
What I am looking to do is to trigger a Scrip when an Asset is created or a
particular custom field is modified.

One of the actions I would like to take, is to force uppercase on the
contents of the field and then check to see if they are unique for that
field for all the records in this particular catalog. If it is unique then
go ahead and write the changes, if not then notify the user then return to
the input screen, hopefully preserving the contents of the fields before
they were submitted.  Effectively using this field as a key field for the
Assets in the Catalog.

Another action is to be able to use the contents of a couple of custom
fields plus a string or two in the code to replace the contents of the Name
or Description fields.  That way I could build a consistent Name or
Description based upon content from more defined custom fields, such a drop
down boxes and dates.

Thirdly, if you could trigger on when a lifecycle/status code went from
in-use to a specific something else such as 'Returned' (added to the
lifecyce) which would then clear out any HeldBy roles.

If somebody has already done anything like this or can get me pointed in the
right direction I'd appreciate it.

Mitch



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/User-Defined-Scrips-for-use-with-Custom-Fields-in-Assets-tp58591.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training November 4 & 5 Los Angeles
http://bestpractical.com/training


[rt-users] Assigning HeldBy users during Asset Import

2014-09-12 Thread mkyser
Hi All

I have been playing around with RT for the last few weeks now and am trying
to import assets from an inventory I exported to a CSV file.  The assets
successfully import but I am unable to fill the HeldBy field for any assets,
seeing the following warning when running the import ;

'Role name HeldBy must be single-value for column Username, skipping'

My current configuration is RT 4.27 with RT-Authen-ExternalAuth-0.21,
Extension-LDAPImport-0.35, Extension-Assets-1.01 and
Extension-Assets-Import-CSV-1.3.  I have connected the ExternalAuth to my
local AD and successfully imported all the domain users as unprivileged
users.  I am able to assign any of these users to the HeldBy role under the
People tab of an Asset.

Here is the snippet from RT_SiteConfig.pm for the field mapping I am using;

Set( $AssetsImportUniqueCF, 'Key Number' );
Set( %AssetsImportFieldMapping,
'Catalog'   => \'Keys',
'Name'  => 'KeyNumber',
'Description'   => 'EmployeeName',
'Status'=> \'in-use',
'HeldBy'=> 'Username',
'CF.Department' => 'Department',
'CF.Issue Date' => 'Issued',
'CF.Username'   => 'Username',
'CF.Issued To'  => 'EmployeeName',
'CF.Key Level'  => 'KeyLevel',
'CF.Key Way'=> 'Keyway',
'CF.Key Number' => 'KeyNumber',
'CF.Other Info' => 'Username',
); 

Is there something I am missing or is this function not available?

In a related test, I am not able to assign a HeldBy user using the Bulk
Update feature either.

Thanks for any insight or solution to this.



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Assigning-HeldBy-users-during-Asset-Import-tp58502.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training