Possible to make Dynamic Fields mandatory for specific roles only?

Moderator: crythias

Post Reply
hkais
Znuny expert
Posts: 298
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Possible to make Dynamic Fields mandatory for specific roles only?

Post by hkais »

Hi there,

I am struggeling around with defining a dynamic field (dropdown) to be mandatory for specific roles only. So end users in specific roles are required to set a value and to clarify it before moving on with the ticket. But I have other roles, who shall not be enforced to set the value, since they cannot know that detail.

The idea was to use a ACL for that but I could not find a solution so far. Are there any advices?

My first approach was to define the dynamic field via Screens to be mandatory, but to reduce the mandatory to optional for specific roles
The second approach was to define dynamic field via Screens to be optional, and to enforce this field to be mandatory to specific roles

Both approaches would be okay for me, but sadly on both paths I end up with a issue in defining the ACL accordingly.

I found this viewtopic.php?t=39162 but i could not reproduce it on my end.

Is that even possible?


best wishes
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
skullz
Znuny superhero
Posts: 638
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Possible to make Dynamic Fields mandatory for specific roles only?

Post by skullz »

Not possible without development..

However, if you in process ticket, you can create 2 activity dialog.
One contains mandatory field and another contain optional field..

Then use ACL to hide and show these activity dialog based on their role.
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
hkais
Znuny expert
Posts: 298
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Possible to make Dynamic Fields mandatory for specific roles only?

Post by hkais »

skullz wrote: 23 May 2024, 20:32 Not possible without development..
do you have a brief path how the custom development may look like?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
Post Reply