Hello all
In my university we are having the following problem:
For a ticket which is in the state "pending reminder", when the customer writes a reply, the ticket should change its state to "open". Instead, the state remains "pending reminder". I have checked the value in config sys for Ticket -> Core::PostMaster -> PostmasterFollowUpStateClosed and is set to open. So it seems that it should work.
What can we do?
Thank you in advance.
Regards
State change upon reply. It doesn't work
Moderator: crythias
-
- Znuny newbie
- Posts: 40
- Joined: 16 Apr 2012, 02:00
- Znuny Version: 3.2.2
- Real Name: Fernando Naranjo
- Company: Universidad de Zaragoza
State change upon reply. It doesn't work
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: State change upon reply. It doesn't work
PostmasterFollowUpStateClosed is the followup state if the ticket is closed. Also, please read my sig. It will be easier for us to answer if we know your version of otrs, etc...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 40
- Joined: 16 Apr 2012, 02:00
- Znuny Version: 3.2.2
- Real Name: Fernando Naranjo
- Company: Universidad de Zaragoza
Re: State change upon reply. It doesn't work
Sorry Crythias I wanted to say Ticket -> Core::PostMaster -> PostmasterFollowUpState. It is set to "open" and the state never changes from "pending reminder".
I edited my signature in order to include our installation data.
Could you help us?
Thank you
I edited my signature in order to include our installation data.
Could you help us?
Thank you
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: State change upon reply. It doesn't work
Make sure that you haven't modified Kernel/System/PostMaster/FollowUp.pm. If you've modified it to keep the state pending, it will do so...
Factory default:
Factory default:
Code: Select all
# set state
my $State = $Self->{ConfigObject}->Get('PostmasterFollowUpState') || 'open';
if (
$Ticket{StateType} =~ /^close/
&& $Self->{ConfigObject}->Get('PostmasterFollowUpStateClosed')
)
{
$State = $Self->{ConfigObject}->Get('PostmasterFollowUpStateClosed');
}
if ( $GetParam{'X-OTRS-FollowUp-State'} ) {
$State = $GetParam{'X-OTRS-FollowUp-State'};
}
if ( $Ticket{StateType} !~ /^new/ || $GetParam{'X-OTRS-FollowUp-State'} ) {
$Self->{TicketObject}->TicketStateSet(
State => $GetParam{'X-OTRS-FollowUp-State'} || $State,
TicketID => $Param{TicketID},
UserID => $Param{InmailUserID},
);
if ( $Self->{Debug} > 0 ) {
print "State: $State\n";
}
}
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 40
- Joined: 16 Apr 2012, 02:00
- Znuny Version: 3.2.2
- Real Name: Fernando Naranjo
- Company: Universidad de Zaragoza
Re: State change upon reply. It doesn't work
Hello Crythias
I have checked the code you have provide in my FollowUp.pm and it is the same code. Why doesn't change the state when the user send a reply?
I have checked the code you have provide in my FollowUp.pm and it is the same code. Why doesn't change the state when the user send a reply?
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: State change upon reply. It doesn't work
I don't know at this point. I'd look at the logs and see what it says about state changes.leo5nidas wrote:Why doesn't change the state when the user send a reply?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask