[SOLVED] - Making priority "read only"

Moderator: crythias

Locked
retro2707
Znuny advanced
Posts: 131
Joined: 16 Apr 2014, 17:06
Znuny Version: 6.0.12

[SOLVED] - Making priority "read only"

Post by retro2707 »

Hi and thanks for reading.

I need to make priority read only. I cannot remove the field as it doesent calculate the prority correctly if you dont have it on the form. Could it somehow be there but in a read only state so people cant manually change it?

We have built our help desk mode around the Impact + Criticality = Priority matrix but if people can just change the priority field it kind of makes the whole thing a waste of time :)

Currently i am resorting to putting "DO NOT CHANGE MANUALLY" next to the dropdown which im sure you will agree is a bit of a lame solution...
2014-11-27 08_11_03-New phone ticket - Ticket - OTRS ITSM 3.3.10.png
Any ideas?

Brendan
You do not have the required permissions to view the files attached to this post.
Last edited by retro2707 on 28 Nov 2014, 18:53, edited 1 time in total.
Setup:
OTRS 6.0.12
Hosted on CentOS 7.4/ MySQL - MariaDB (5.5.60)
retro2707
Znuny advanced
Posts: 131
Joined: 16 Apr 2014, 17:06
Znuny Version: 6.0.12

Re: Making priority "read only"

Post by retro2707 »

Anyone getting the Friday feeling and might take a minute to help me on this one? :)
Setup:
OTRS 6.0.12
Hosted on CentOS 7.4/ MySQL - MariaDB (5.5.60)
retro2707
Znuny advanced
Posts: 131
Joined: 16 Apr 2014, 17:06
Znuny Version: 6.0.12

Re: Making priority "read only"

Post by retro2707 »

Sorted it myself

Added the following into the .DTL file:


<label for="PriorityID" style=" pointer-events: none; cursor: default;">$Text{"Priority"}:</label>
<div class="Field" style="pointer-events: none; cursor: default;">
Setup:
OTRS 6.0.12
Hosted on CentOS 7.4/ MySQL - MariaDB (5.5.60)
Locked