Re: [rt-users] problem with PriorityAsString extension
Ah, just that question has pointed me in the right direction. For the benefit of the list archives, the problem was with the contents of Set(@PriorityAsStringOrder, ...) in the config. The example config had one-word labels, something like Set(@PriorityAsStringOrder, qw(low medium high)). My labels are multiple words, so I knew that qw() was the wrong list construction. I changed that to something like Set(@PriorityAsStringOrder, ['3 days to go', '2 days to go', '1 day to go', 'last day', 'overdue']); Obviously my perl is too rusty for my own good. Changing the square brackets to parentheses changed the second argument from an array to a list, as it should have been. This is correct: Set(@PriorityAsStringOrder, ('3 days to go', '2 days to go', '1 day to go', 'last day', 'overdue')); It all works as I expect now. Perhaps the documentation could include more examples? cheers rob On Tue, Sep 10, 2013 at 3:56 PM, Ruslan Zakirov r...@bestpractical.comwrote: Hi, Show your config options for the extension and version. On Tue, Sep 10, 2013 at 9:42 AM, Rob Chanter rchan...@gmail.com wrote: Hi list, I've installed the RT::Extension::PriorityAsString extension into RT4.04 on Ubuntu 12.04 LTS. It does, as advertised, display priorities as strings, but also seems to make an unwanted change to the Edit Queue page. Before installing the extension, I get a normal input field into which I can type a number for starting and final priority: trtd align=rightPriority starts at:/tdtdinput name=InitialPriority value=17 size=5 //tdtd align=rightOver time, priority moves toward:/tdtdinput name=FinalPriority value=22 size=5 /br /spanemrequires running rt-crontool/em/span/td/tr After installing/configuring the extension, this is replaced by an option list containing one entry, which looks like an arrayref.: trtd align=rightPriority starts at:/tdtdselect class=select-priority name=InitialPriorityoption class=array#40;0x27250880#41; value= ARRAY#40;0x27250880#41;/option/select/tdtd align=rightOver time, priority moves toward:/tdtdselect class=select-priority name=FinalPriorityoption class=array#40;0x27250880#41; value= ARRAY#40;0x27250880#41;/option/selectbr /spanemrequires running rt-crontool/em/span/td/tr I would guess the extension has a misplaced '@' where there should be a '$'. Perl version is 5.14.2. This prevents me setting the priorities in new or existing queues. Any ideas on how to resolve it? TIA, rob -- Best regards, Ruslan.
Re: [rt-users] pbcat.something tables
Thank you Ruslan. I am looking for more documentations and references after you told me about this, I will send feedback for people here. If you want to track, I have discussed them in here too: http://forums.devshed.com/mysql-help-4/pbcat-tables-in-mysql-951448.html On Tue, Sep 3, 2013 at 9:53 PM, Ruslan Zakirov r...@bestpractical.comwrote: Hi, These are not RT tables, these are not mysql special tables. Google says that pbc* are from Power Builder app. Ask on power builder forums. On Mon, Sep 2, 2013 at 4:30 PM, Alex Decalli alexdecall...@gmail.comwrote: Hi RT-players Does anybody know what are these tables in RT database starting with pbcat, like pbcatcol, pbcatedt and ...? Someone says: As far as I know, those are tables PB uses and are not to be directly modfied by a user. I'm in PB 9 but from the help using PBCatalogOwner DBParm parameter: Specifies a nondefault owner for the extended attribute system tables. These five tables contain default extended attribute information for your database. When you set up attributes for your tables, that's when these tables are populated. I like to know more about this. I am not very good in mysql and I need to know how is the impact on these tables? And by the way, what are some-rt-table-FTSI?? Does database makes them automatically too?? Thanks... -- Best regards, Ruslan.
[rt-users] Send creation email only, all other email suppressed
Hello, Looking for the best way to modify a queue so that it only sends out the ticket creation emails. Email out to an address on ticket creation only, but all other actions / replies do not generate any email. Poked around with custom queue scrips, but there doesn't seem to be an easy way to generate a custom email Does anyone have any pointers on how to go about this? (Using RT 4) Many thanks
Re: [rt-users] problem with PriorityAsString extension
On the following page you can click edit: https://github.com/bestpractical/rt-extension-priorityasstring/blob/master/lib/RT/Extension/PriorityAsString.pm this allows you to provide documentation patch without clonning, knowing git, right from you browser. On Tue, Sep 10, 2013 at 10:42 AM, Rob Chanter rchan...@gmail.com wrote: Ah, just that question has pointed me in the right direction. For the benefit of the list archives, the problem was with the contents of Set(@PriorityAsStringOrder, ...) in the config. The example config had one-word labels, something like Set(@PriorityAsStringOrder, qw(low medium high)). My labels are multiple words, so I knew that qw() was the wrong list construction. I changed that to something like Set(@PriorityAsStringOrder, ['3 days to go', '2 days to go', '1 day to go', 'last day', 'overdue']); Obviously my perl is too rusty for my own good. Changing the square brackets to parentheses changed the second argument from an array to a list, as it should have been. This is correct: Set(@PriorityAsStringOrder, ('3 days to go', '2 days to go', '1 day to go', 'last day', 'overdue')); It all works as I expect now. Perhaps the documentation could include more examples? cheers rob On Tue, Sep 10, 2013 at 3:56 PM, Ruslan Zakirov r...@bestpractical.comwrote: Hi, Show your config options for the extension and version. On Tue, Sep 10, 2013 at 9:42 AM, Rob Chanter rchan...@gmail.com wrote: Hi list, I've installed the RT::Extension::PriorityAsString extension into RT4.04 on Ubuntu 12.04 LTS. It does, as advertised, display priorities as strings, but also seems to make an unwanted change to the Edit Queue page. Before installing the extension, I get a normal input field into which I can type a number for starting and final priority: trtd align=rightPriority starts at:/tdtdinput name=InitialPriority value=17 size=5 //tdtd align=rightOver time, priority moves toward:/tdtdinput name=FinalPriority value=22 size=5 /br /spanemrequires running rt-crontool/em/span/td/tr After installing/configuring the extension, this is replaced by an option list containing one entry, which looks like an arrayref.: trtd align=rightPriority starts at:/tdtdselect class=select-priority name=InitialPriorityoption class=array#40;0x27250880#41; value= ARRAY#40;0x27250880#41;/option/select/tdtd align=rightOver time, priority moves toward:/tdtdselect class=select-priority name=FinalPriorityoption class=array#40;0x27250880#41; value= ARRAY#40;0x27250880#41;/option/selectbr /spanemrequires running rt-crontool/em/span/td/tr I would guess the extension has a misplaced '@' where there should be a '$'. Perl version is 5.14.2. This prevents me setting the priorities in new or existing queues. Any ideas on how to resolve it? TIA, rob -- Best regards, Ruslan. -- Best regards, Ruslan.
Re: [rt-users] pbcat.something tables
Ok, found this: https://kb.asconline.com/powerseller/index.php?article=379 and this: http://www.sybase.com/detail?id=42412 BUT does anybody else have such these tables? Or it's just us? can you look into your databases and help me? I'd be thankful. :) On Tue, Sep 10, 2013 at 10:46 AM, Alex Decalli alexdecall...@gmail.comwrote: Thank you Ruslan. I am looking for more documentations and references after you told me about this, I will send feedback for people here. If you want to track, I have discussed them in here too: http://forums.devshed.com/mysql-help-4/pbcat-tables-in-mysql-951448.html On Tue, Sep 3, 2013 at 9:53 PM, Ruslan Zakirov r...@bestpractical.comwrote: Hi, These are not RT tables, these are not mysql special tables. Google says that pbc* are from Power Builder app. Ask on power builder forums. On Mon, Sep 2, 2013 at 4:30 PM, Alex Decalli alexdecall...@gmail.comwrote: Hi RT-players Does anybody know what are these tables in RT database starting with pbcat, like pbcatcol, pbcatedt and ...? Someone says: As far as I know, those are tables PB uses and are not to be directly modfied by a user. I'm in PB 9 but from the help using PBCatalogOwner DBParm parameter: Specifies a nondefault owner for the extended attribute system tables. These five tables contain default extended attribute information for your database. When you set up attributes for your tables, that's when these tables are populated. I like to know more about this. I am not very good in mysql and I need to know how is the impact on these tables? And by the way, what are some-rt-table-FTSI?? Does database makes them automatically too?? Thanks... -- Best regards, Ruslan.
[rt-users] 4.2.0rc1 question
Hi List, Where can I find these new features in 4.2.0rc1? * Custom field groupings - Display CFs in configurable groupings (boxes) on the ticket display/edit pages - Includes arbitrary grouping names as well as standard ticket groupings (Basics, Dates, People, Links, etc.) Thanks, -- Bekeny Docca OutSource IT Ltd.
Re: [rt-users] Result page not up to date after TransactionBatch scrips
Hi Kevin, Thank you for your advice. Works perfectly. Rafal From: Kevin Falcone falc...@bestpractical.com To: rt-users@lists.bestpractical.com Date: 2013-09-10 04:12 Subject:Re: [rt-users] Result page not up to date after TransactionBatch scrips Sent by:rt-users-boun...@lists.bestpractical.com On Wed, Sep 04, 2013 at 10:16:16AM +0200, Rafal Matera wrote: We use RT 4.0.13, We customized our installation by some scrips. Part of them have to work in TransactionBatch mode. One of the scrips changes the ticket owner on queue change. This is done by scrip working in mentioned TransactionBatch mode. When the queue is changed on Basics screen (Ticket/Modify.html), scrip is executed without a failure. The problem is that result page shows the OLD VALUE of the owner. Clicking Display or Basics again shows that owner was really changed by the scrip. I'm not surprised. In order to avoid problems with TransactionBatch scrips, the ticket is cloned and worked on. The ticket object in the page is not directly acted on by the Scrip. TransactionBatch scrips through the 3.6/3.8/4.0 series have been inconsistent about when it updates. I don't think there's ever been a guarantee that it will update the object and TransactionBatch scrips in general are too magical. Do you have any idea, how to force RT to show current values on result page ? Use one of the other callbacks in that page to reload the ticket object, $TicketObj-Load($TicketObj-Id); from the BeforeActionList callback or one of the others should be enough. -kevin
[rt-users] Allow or block login based on remote IP address
Hi List, There is some way to allow or block user login based on specific remote IP address/range? E.g: Members of group 'Internal Users' can login only from 192.168.0.0/24 Members of group 'Field Staff' can login from any IP/mask User john can login only from IP 192.168.0.12 Thanks!
[rt-users] REST API - User Create Example
We are attempting to add RT into our Account Management System. We would like to use the REST API to add new and update user information. I have looked on http://requesttracker.wikia.com/wiki/REST but the documentation for User Create is a little sparse. What is the format that the REST API is expecting the User Create POST information in? I know that the REST documentation states variable named content, containing key: value line by line, like the response to /user/user-id If I could get an example that would be very helpful. I am using CURL to test. We are running RT 4.0.17 with ExternalAuth Plugin. -- Thanks, Jeff Triplett Systems Administrator Miami University, Oxford, Ohio College of Engineering Computing 109B Benton Hall 513-529-0791
Re: [rt-users] pbcat.something tables
Alex Decalli wrote: Ok, found this: https://kb.asconline.com/powerseller/index.php?article=379 and this: http://www.sybase.com/detail?id=42412 BUT does anybody else have such these tables? Or it's just us? can you look into your databases and help me? I'd be thankful. :) If you don't use that system then no. I don't have it. Joop