Restrict users available in "reporter" field for certain project role with ScriptRunner

Silas Alexander Lykke Rosenskjold January 26, 2021

Hi everyone, 

 

I'm trying to use ScriptRunner to restrict who is available to assign as reporter for certain project roles in a service desk.

 

Either of these two scenarios would be fine for me:

1) No users is shown in the autocomplete section

2) Only users who met a certain criteria are shown

 

I'm experimenting with behaviors which seems to be able to restrict the field "reporter" for both in-line and on edit views.

However, would a "behavior" also work for the section called "raise a request on behalf of" in the raise a request section?

And would I need to write a custom script to achieve this?

 

 

 

1 answer

0 votes
mogavenasan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2021

Hi @Silas Alexander Lykke Rosenskjold,

As per Behaviours with Service Desk, Behaviours should work on JSM as well.

Have you tried the same script on the JSM? If yes, what the logs show? Any DEBUG logging to understand what is going on?

Thanks,
Moga

Suggest an answer

Log in or Sign up to answer