[rt-users] RT 4.4 Rc, Asset REST

2015-12-17 Thread Ashley Etherington
Good Afternoon.  I am wondering if there are any plants to extend the REST 
interface so that we are able to use it to access/modify Assets.  I understand 
that REST 2.0 is being worked on as well but not sure if one would come before 
the other.  Any answers would be great, 
Thanks!   

[rt-users] 2 Questions, Dashboard subscriptions and Error messages via Script

2015-07-31 Thread Ashley Etherington
Good morning all.
First Question:We recently set-up a Dashboard with subscriptions for a daily 
email report for incoming jobs.  This had some searches and some charts.  The 
first 2 emails it sent us were perfect,  formatted and were generally very nice 
to look at.  The 3rd and all emails since are now unformatted,  have no images 
and just attachments with the graphs.   Nothing has changed on the dashboard 
since and we have tested it on several browsers/mobile devices/email clients.  
I am just wondering if this is a known issue or if there is something I can 
change to make it reliable.
Second Question:For a long time we have had RT hooked up to an external service 
run by Apple.  This is working great, But now we would like to get deeper 
integration with the system, This means we need to improve the current error 
handling we have at the moment (For invalid details and various other bits of 
information)  Is there a way using RT Scripts to invoke the yellow or red error 
bar with a custom message? Or would this have to be done through a plugin of 
sorts.  Any information would be great.
Thank you for reading.Ashley Etherington.   
  

[rt-users] Adding multiple members VIA the Rest interface.

2015-07-17 Thread Ashley Etherington
Good morning all.
I am trying to add multiple members to a ticket via the REST Interface.  On the 
RT interface it states to use spaces to separate multiple, but this does not 
work for the REST interface.  Does anyone know how this can be achieved?  
Thank you.

[rt-users] Sorting sorted custom field grouping

2015-07-10 Thread Ashley Etherington
Good morning all.
I have recently started grouping all of the custom fields and have come across 
a small problem in regards to the order that the custom fields are in.  At 
first I though that the fields would be printed in the order that they are 
placed in the list, but that does not appear to be the case.  Do they still 
take their sort order value from the original custom field sorting?  Thank you! 
 

Re: [rt-users] FW: [rt-devel] Issue with setting Custom Statuses, Added statuses do not see any other statuses.

2015-07-09 Thread Ashley Etherington
After changing to the most recent script,  and resetting the Mason Cache this 
is now working perfectly.
Thank you for all the help.

From: migetis...@hotmail.com
To: rt-users@lists.bestpractical.com
Date: Thu, 9 Jul 2015 15:49:51 +0100
Subject: [rt-users] FW: [rt-devel] Issue with setting Custom Statuses, Added 
statuses do not see any other statuses.




Thank you for your response M
My perl is not great so I was unsure how/if I could put spaces in the Hash's 
key so I named them just a shorter variant of the status.  
the results in the following image http://prntscr.com/7qp9ra
So the statuses appear correctly (So maybe not a 25 character limit?)
Now if I try to set the status to a non-RT Default after submitting it shows 
this http://prntscr.com/7qpaz6
I just modified my code to something that did not throw any errors but I get 
the same result.  New code is here http://pastebin.com/a8HRz0sG
Once again,  Any help is greatly appreciated.
Thank you.Ashley Etherington.

 Date: Thu, 9 Jul 2015 09:17:11 -0500
 Subject: Re: [rt-devel] Issue with setting Custom Statuses, Added statuses do 
 not see any other statuses.
 From: mzagr...@d.umn.edu
 To: migetis...@hotmail.com; rt-users@lists.bestpractical.com
 
 Hi Ashley,
 
 Configuration questions are best sent to rt-users. [Done]
 
 Comments inline.
 
 On Thu, Jul 9, 2015 at 4:54 AM, Ashley Etherington
 migetis...@hotmail.com wrote:
  Hi Everyone.
 
  We have decided that instead of using a Sub-Status custom field, that we
  would add all of our statuses to the main built in RT Ticket status.  The
  first initial pass appears to work but when we use one of the new statuses,
  we are unable to select any other status.
 
 Okay.
 
  For example if I set the status to 'Awaiting Parts' and submit the form,
  The only status I can then set it to is 'Awaiting Status'.
 
 A few comments.
 
 1) Start with the default lifecycle and make small changes to it. You
 should be able to find your issue.
 
 2) From what I can see in your transitions hash, there is no key of
 Awaiting Parts. Thus there are no valid transitions for that status
 to change to. I'm not sure how Awaiting Status is showing up.
 
 3) I just read on rt-user that there is a 25 character limit for
 status names. If that is true, then you are running into that wall as
 well.
 
 Cheers!
 
 -m


  

Re: [rt-users] FW: [rt-devel] Issue with setting Custom Statuses, Added statuses do not see any other statuses.

2015-07-09 Thread Ashley Etherington
Indeed, I figured that out shortley after my last email.  But thank you Todd. 
It confirms at least that I have done the right thing now.

 To: rt-users@lists.bestpractical.com
 From: t...@bestpractical.com
 Date: Thu, 9 Jul 2015 14:12:06 -0400
 Subject: Re: [rt-users] FW: [rt-devel] Issue with setting Custom Statuses, 
 Added statuses do not see any other statuses.
 
 On 7/9/15 10:49 AM, Ashley Etherington wrote:
  My perl is not great so I was unsure how/if I could put spaces in the
  Hash's key so I named them just a shorter variant of the status.
 
 You'll need to quote the values. So:
 
 active  = [ ...'Awaiting Collection'... ],
 ...
 transitions = {
  'Awaiting Collection' = ['new', 'open', ..., 'deleted'],
 ...
 
 The items in the statuses array need to match exactly to the keys in the 
 transitions.
 
  

[rt-users] Bypass script validation

2011-02-01 Thread Ashley Etherington

Hey all, 
I'm wondering if it's possible to bypass validation from a scrip, so that users 
are still shown a mandatory field but it is still possible to clear the field 
using DeleteCustomFieldValue.
Thank you!