How to update the Update Refresh time <2 min

Moderator: crythias

Post Reply
akshattandon
Znuny newbie
Posts: 20
Joined: 15 May 2018, 08:03
Znuny Version: 6.0.5
Real Name: Akshat
Company: None

How to update the Update Refresh time <2 min

Post by akshattandon »

Hi All,

We are new to OTRS and have business-critical SLA's any ticket created in OTRS needs to be responded back within minutes,
But the minimalistic time in OTRS is 2 min.

Personal Preferences -->Mislanellous -->Overview Refresh Time ( Attached screenshot )

Is there any way we can refresh that time to less than 2 min say eg to 1 min ?
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3961
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: How to update the Update Refresh time <2 min

Post by root »

Hi Akshat,

put the xml into Kernel/Config/Files/XML/MyPreferences.xml

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="2.0" init="Config">
    <Setting Name="PreferencesGroups###RefreshTime" Required="0" Valid="1">
        <Description Translatable="1">Parameters for the RefreshTime object in the preference view of the agent interface. Please note: setting 'Active' to 0 will only prevent agents from editing settings of this group in their personal preferences, but will still allow administrators to edit the settings of another user's behalf. Use 'PreferenceGroup' to control in which area these settings should be shown in the user interface.</Description>
        <Navigation>Frontend::Agent::View::Preferences</Navigation>
        <Value>
            <Hash>
                <Item Key="Module">Kernel::Output::HTML::Preferences::Generic</Item>
                <Item Key="PreferenceGroup">Miscellaneous</Item>
                <Item Key="Label" Translatable="1">Overview Refresh Time</Item>
                <Item Key="Desc" Translatable="1">If enabled, the different overviews (Dashboard, LockedView, QueueView) will automatically refresh after the specified time.</Item>
                <Item Key="Key" Translatable="1"></Item>
                <Item Key="Data">
                    <Hash>
                        <Item Key="0" Translatable="1">off</Item>
                        <Item Key="1" Translatable="1"> 1 minute</Item>
                        <Item Key="2" Translatable="1"> 2 minutes</Item>
                        <Item Key="5" Translatable="1"> 5 minutes</Item>
                        <Item Key="7" Translatable="1"> 7 minutes</Item>
                        <Item Key="10" Translatable="1">10 minutes</Item>
                        <Item Key="15" Translatable="1">15 minutes</Item>
                    </Hash>
                </Item>
                <Item Key="DataSelected">0</Item>
                <Item Key="PrefKey">UserRefreshTime</Item>
                <Item Key="Prio">2000</Item>
                <Item Key="Active">1</Item>
            </Hash>
        </Value>
    </Setting>
</otrs_config>
and run (as OTRS user) the following command:

Code: Select all

bin/otrs.Console.pl Maint::Config::Rebuild
Still untested but should work.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply