Search found 16 matches

by edi
21 Jan 2020, 15:58
Forum: Help
Topic: How to implement the creation of a complex index into sopm-file?
Replies: 2
Views: 44

How to implement the creation of a complex index into sopm-file?

Hello, I wrote a module TicketExtraData For this module I ctreated a ticket_extra_data table with an extra_data field of type JSONB Now I want to implement the creation of an index for this field in a sopm-file. create index ticket_extra_data_gin ON "ticket_extra_data" USING GIN ( to_tsvector('russi...
by edi
12 Dec 2019, 17:08
Forum: Help
Topic: How to use CodePolicy?
Replies: 3
Views: 112

Re: How to use CodePolicy?

Hello Emin, thanks you for your reply. The fact is that the modules that we use were written at different times by different programmers. Thus, the code does not have a uniform style, but I want it to be. And since some modules still need to be rewritten, now is the best time to introduce a unified ...
by edi
12 Dec 2019, 13:41
Forum: Help
Topic: How to use CodePolicy?
Replies: 3
Views: 112

How to use CodePolicy?

Now I'm migrating from OTRS 4 to OTRS 6. I have several own modules. I rewrote them for OTRS 6 and I decided to check them using CodePolicy Well, I check my module ./bin/otrs.CodePolicy.pl -f Kernel/System/Image.pm and get the output: Found OTRS version 6.0 This module seems to be copyrighted by OTR...
by edi
05 Nov 2019, 15:31
Forum: OTRS Developers
Topic: Threads and SchedulerCronTaskManager.
Replies: 1
Views: 386

Re: Threads and SchedulerCronTaskManager.

Well, it works like a charm!
In single mode, the program works for about 6 hours.
In multithreaded mode, the program works about 2 hours.
by edi
28 Oct 2019, 13:51
Forum: OTRS Developers
Topic: Threads and SchedulerCronTaskManager.
Replies: 1
Views: 386

Threads and SchedulerCronTaskManager.

Hi!

I want to write a module for SchedulerCronTaskManager.
The module will process a large amount of data.
And since my task is well parallelized, I'd like to use threads to do it.
So, if I use threads in my module, will it work correctly when called through SchedulerCronTaskManager?
by edi
06 Aug 2019, 08:32
Forum: OTRS Developers
Topic: add owner name in note on owner change
Replies: 3
Views: 332

Re: add owner name in note on owner change

You should use the Ticket Notification Management.
Create a new notification with the TicketOwnerUpdate event.
by edi
21 May 2019, 09:07
Forum: OTRS Developers
Topic: OTRS 5 and transaction?
Replies: 1
Views: 228

OTRS 5 and transaction?

Hi,

does anyone know if OTRS uses transactions to work with the DB?
by edi
16 Apr 2019, 16:10
Forum: OTRS Developers
Topic: Email routing based on ticket type
Replies: 4
Views: 437

Re: Email routing based on ticket type

Perhaps you should use the GenericsAgent.
by edi
04 Apr 2019, 08:27
Forum: Help
Topic: Change the date format
Replies: 3
Views: 280

Re: Change the date format

Sure. Here is a possible solution: viewtopic.php?t=28560
by edi
25 Mar 2019, 15:14
Forum: OTRS Developers
Topic: Creating my own action for tickets
Replies: 0
Views: 400

Creating my own action for tickets

Hi I want to create a my own action for tickets and display the corresponding button on the AgentTicketZoom screen. Well, I created the corresponding XML config file. But I have some problem. If I name my action as AgentNewActionName, everything works fine and button appears in the actions list. But...
by edi
22 Nov 2018, 14:25
Forum: Общие вопросы
Topic: Мониторинг времени состояний заявки
Replies: 2
Views: 41654

Re: Мониторинг времени состояний заявки

Штатных средств нету.
Но ОТРС фиксирует все переходы между состояниями, поэтому можно самостоятельно дописать соответствующий функционал.
by edi
21 Nov 2018, 10:16
Forum: Делимся опытом
Topic: Нагрузочное тестирование OTRS и оптимизация производительности
Replies: 1
Views: 61634

Re: Нагрузочное тестирование OTRS и оптимизация производительности

Тест уж очень сильно искусственный но как стартовый вариант пойдет. 100 клиентов и 1000 тикетов для выбранного вами стенда - это очень мало. Все ваши данные успешно помещаются в кэш, поэтому нагрузки на систему с такими исходными данными практически никакой не будет. Вы наберите базу гигов на 100. Д...
by edi
21 Nov 2018, 08:16
Forum: OTRS Developers
Topic: OTRS 5 calendar API
Replies: 3
Views: 1330

Re: OTRS 5 calendar API

Well. I have a script that checks the status of some tickets and sends notifications depending on their state. I also have a calendar. So, I'd like this script to work according to this calendar. Currently I run the script via cron with complex schedule. I see, that OTRS 6 have a Calendar module but...
by edi
20 Nov 2018, 17:19
Forum: OTRS Developers
Topic: OTRS 5 calendar API
Replies: 3
Views: 1330

OTRS 5 calendar API

Hi,

does OTRS 5 have a calendar API?