[rt-users] Queue Advanced Format

2016-12-05 Thread David Schmidt
Some of our users see a different list query format then others. If you open a Queue and click Advanced, you see a textarea labelled "Format" The content of this textarea is identical with the value of $DefaultSearchResultFormat defined in etc/RT_SiteConfig.pm If I change the value in the

Re: [rt-users] Adding an Action link to Ticket/Display.html/BeforeActionList

2016-10-12 Thread David Schmidt
Ticket/Update.html?Status=resolved=1=$ticket_id=1", ); } } On 06.10.2016 14:40, David Schmidt wrote: I'll answer myself: if an action is not a ref it is rendered in the result box. bit unexpected but im sure there is a reason. (code in share/html/Elements/ListActions) https://github.com/bestpr

Re: [rt-users] Adding an Action link to Ticket/Display.html/BeforeActionList

2016-10-06 Thread David Schmidt
I'll answer myself: if an action is not a ref it is rendered in the result box. bit unexpected but im sure there is a reason. (code in share/html/Elements/ListActions) https://github.com/bestpractical/rt/blob/stable/share/html/Elements/ListActions#L49 On 06.10.2016 13:53, David Schmidt

[rt-users] Adding an Action link to Ticket/Display.html/BeforeActionList

2016-10-06 Thread David Schmidt
When/Where are the actions added to @Actions? 1) for some reason the \@Actions ArrayRef is empty when I access it in the callback. Where do the Actions come from? I am talking about the links "Reply", "Comment", "Forward", "Stall", ... 2) If I push a simple string to \@Actions they end up in

[rt-users] show msg to user in scrip

2016-10-05 Thread David Schmidt
Hello list I want to write a scrip that aborts the action the user is trying to commit and redisplay the current page with an added info message. How can i display an info message to the user? regards david - RT 4.4 and RTIR training sessions, and a new workshop day!

Re: [rt-users] "On Reply" set ticket status to "resolved"

2016-10-05 Thread David Schmidt
rote: You can write a simple scrip with a pre commit action to change the TicketObj status. See the api docs. -- Nilesh On 04-Oct-2016 5:22 PM, "David Schmidt" <david.schm...@univie.ac.at> wrote: Hello list, I would like to set a tickets status to "resolved" on reply. The

[rt-users] "On Reply" set ticket status to "resolved"

2016-10-04 Thread David Schmidt
Hello list, I would like to set a tickets status to "resolved" on reply. The wiki mentions a "On Reply" action that I cannot find in my rt instance. https://rt-wiki.bestpractical.com/wiki/ManualScrips cheers david - RT 4.4 and RTIR training sessions, and a new workshop day!

[rt-users] bounce messages

2016-09-06 Thread David Schmidt
Hello list, I took over maintenance of a RT 4.4.0 installation and we are having issues with a plugin (https://github.com/MarkHofstetter/RT-Extension-BounceEmail) that is supposed to bounce messages. Issues: 1) the bounced email has the mail address of the RT installation as sender

Re: [rt-users] Re-Display Ticket with added warning if owner changed during responding

2016-06-28 Thread David Schmidt
On 27.06.2016 21:31, Jim Brandt wrote: On 6/27/16 1:38 PM, Jim Brandt wrote: Hey and thank you for your answer, I am using RT 4.4 <%init> warn 'set checks_failure => 1'; $checks_failure = 1; <%args> $checks_failure => undef I expected every update to fail, but when I add a reply the

Re: [rt-users] Re-Display Ticket with added warning if owner changed during responding

2016-06-27 Thread David Schmidt
On 24.06.2016 14:19, Jim Brandt wrote: On 6/23/16 8:19 AM, David Schmidt wrote: Hello In case someone takes the ticket ownership wile I am composing a response I would like to redisplay the ticket (the submitted response shouldnt be deleted) and add a warning informing the user about

[rt-users] Re-Display Ticket with added warning if owner changed during responding

2016-06-23 Thread David Schmidt
Hello In case someone takes the ticket ownership wile I am composing a response I would like to redisplay the ticket (the submitted response shouldnt be deleted) and add a warning informing the user about the change in ownership. I guess this is the correct callback

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-25 Thread David Schmidt
On 25.04.2016 09:58, David Schmidt wrote: On 25.04.2016 08:49, Christian Loos wrote: Am 25.04.2016 um 08:46 schrieb David Schmidt: Another path that looks weird to me is: "local/Callbacks/YourOrg/Elements/RT__Ticket/ColumnMap/Once" shouldnt that be "local/Callbacks/Your

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-25 Thread David Schmidt
On 25.04.2016 08:49, Christian Loos wrote: Am 25.04.2016 um 08:46 schrieb David Schmidt: Another path that looks weird to me is: "local/Callbacks/YourOrg/Elements/RT__Ticket/ColumnMap/Once" shouldnt that be "local/Callbacks/YourOrg/Elements/RT/Ticket/ColumnMap/Once&quo

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-25 Thread David Schmidt
be "local/Callbacks/YourOrg/Elements/RT/Ticket/ColumnMap/Once" ? On 25.04.2016 07:59, Christian Loos wrote: Am 23.04.2016 um 10:25 schrieb David Schmidt: On a sidenote (and without intention to blame you for anything) RT development is horrible to debug. :) You should see in your

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-23 Thread David Schmidt
On 21.04.2016 15:56, Emmanuel Lacour wrote: Le 21/04/2016 15:12, David Schmidt a écrit : When I list tickets I want to show the first 3 lines of the ticket message for each ticket. I am using the following patch to achieve this, but it is quite a hack. Can someone recommend a cleaner

[rt-users] Show Ticket Message in Search/Results.html

2016-04-21 Thread David Schmidt
When I list tickets I want to show the first 3 lines of the ticket message for each ticket. I am using the following patch to achieve this, but it is quite a hack. Can someone recommend a cleaner solution. local/html/Elements/CollectionList# BEGIN TicketPreview in Search/Results.html