Hi everyone,
I have two quick about hiding elements/pages from a user in Jira Service Desk.
Is it possible to hide a certain page inside a project from a specific user with ScriptRunner?
I would like to hide the page /customers in a service desk for a specific service desk agent.
I know there's a built-in script that can hide the menu icon for customers.
Is it possible to do on a user-level, so that only a particular user in a project doesn't see that menu icon?
Thanks a lot in advance :)
Jira server: 8.13.1
Jira service desk: 4.13.1
If you attempt to run a script listener on the LoginEvent or DashboardViewEvent, the built-in "event" object will not include an issue and the type of event raised will not be an IssueEvent
So these two lines will not work:
def issue = event.getIssue() as MutableIssue
def event = event as IssueEvent
I'm not clear how you expect the system to know against which issue such custom field changes should be done when a user is just logging in and could be accessing any part of the application or when viewing a dashboard that would contain many different gadgets with possibly many hundreds of issues associated with those gadgets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.