[rt-users] Resolve ticket dependant and correspond.
Hello, I've searched through the mailing list archive, but could not find any hint yet. Could someone help me with this : The context (RT version is 4.2.6.) : * Ticket #1 is dependant on ticket #2, so ticket #1 cannot be resolved if ticket #2 is not resolved. * The Resolve action in the lifecycle : 'open - resolved' = { label = 'Resolve', update = 'Respond' }. Ticket #2 is open. But it happens that by mistake we go to the Actions menu, on ticket #1, and click on Resolve. And then write a message to explain how the ticket has been resolved. The mail is sent to the requestor, though the ticket's status won't be updated to resolve as it is dependant on ticket #2 still open. Question : How could it be possible to prevent the correspondance mail to being sent as the ticket can't be solved ? Thanks a lot for your help, Elisabeth
Re: [rt-users] Resolve ticket dependant and correspond.
I'm not sure if it is supported in RT 4.2.6, but you could set: Set($HideResolveActionsWithDependencies, 1); in your RT_SiteConfig.pm. This way, you will not have a Resolve action in your menu if the ticket cannot be resolved due to dependencies. Hope this helps. Cris On 23/02/2015 12:22, elif...@free.frmailto:elif...@free.fr wrote: Hello, I've searched through the mailing list archive, but could not find any hint yet. Could someone help me with this : The context (RT version is 4.2.6.) : * Ticket #1 is dependant on ticket #2, so ticket #1 cannot be resolved if ticket #2 is not resolved. * The Resolve action in the lifecycle : 'open - resolved' = { label = 'Resolve', update = 'Respond' }. Ticket #2 is open. But it happens that by mistake we go to the Actions menu, on ticket #1, and click on Resolve. And then write a message to explain how the ticket has been resolved. The mail is sent to the requestor, though the ticket's status won't be updated to resolve as it is dependant on ticket #2 still open. Question : How could it be possible to prevent the correspondance mail to being sent as the ticket can't be solved ? Thanks a lot for your help, Elisabeth
[rt-users] Login in unix
Hi How can i login in unix with a user that is created in RT's web interface?
[rt-users] flock in sbin/rt-fulltext-indexer fails when RT installed on RO filesystem
I'm trying to install RT 4.2.9 into a volume in OpenAFS. I have the vast majority of it working fine (with the patch I posted last week adding @ to the acceptable characters in a path in lib/RT/I18N.pm). However, there is one problem I'm still seeing. This chunk of code in sbin/rt-fulltext-indexer works fine when the script is on a RW filesystem but fails when the file is in a RO filesystem like AFS: use Fcntl ':flock'; if ( !flock main::DATA, LOCK_EX | LOCK_NB ) { if ( $OPT{quiet} ) { RT::Logger-info($0 is already running; aborting silently, as requested); exit; } else { print STDERR $0 is already running\n; exit 1; } } I'm not a Perl writer (or even reader, really) so I don't know if it would be an easy change to add an optional command line argument to let the admin specify a lock file (e.g. /var/lock/rt-fulltext-indexer) for it to use instead of flocking itself. nomad