MasterSlave Auto close

Moderator: crythias

Locked
canoxin
Znuny newbie
Posts: 11
Joined: 08 Feb 2019, 12:18
Znuny Version: 6.0.0
Real Name: Daniel

MasterSlave Auto close

Post by canoxin »

Hi.
So basically i'm working with the Add-on MasterSlave. But my intention is to be able to automatically close the MasterTicket when all SlavesTickets are closed. I started with GenericAgent but it doesn't seem to do the trick. Alternatively i know that changing the code it may work, but do any of you know any other simple way?

otrs 6.0.0
Thanks!
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: MasterSlave Auto close

Post by crythias »

This isn't how the default is supposed to work.

Actions in the Master are supposed to replicate to the Slave tickets.
viewtopic.php?t=26228

viewtopic.php?t=26998
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
canoxin
Znuny newbie
Posts: 11
Joined: 08 Feb 2019, 12:18
Znuny Version: 6.0.0
Real Name: Daniel

Re: MasterSlave Auto close

Post by canoxin »

I understand that. But i need it to work the other way around.

If i have a Master with 5 Slave tickets and all the Slave tickets are closed i want the Master to be closed automatically.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: MasterSlave Auto close

Post by crythias »

This would require development.
At best right now there is a Ticket::Acl::Module###1-Ticket::Acl::Module that would prevent closure of Master Ticket if any subtickets are open.
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
canoxin
Znuny newbie
Posts: 11
Joined: 08 Feb 2019, 12:18
Znuny Version: 6.0.0
Real Name: Daniel

Re: MasterSlave Auto close

Post by canoxin »

Thanks you,

I already checked the Ticket::Acl::Module###1-Ticket::Acl::Module .
For now my only solution in mind is to talk with the programmers in my team an see if they can do something about it.
If i end up finding a solution i'll post here.

Appreciated the help tho! :)
Locked