I have a list of users who are not to raise a particular set of request types under a request type group in the Customer Portal. As we already have ScriptRunner, I am trying to use a web resource (JS) to hide the element. However, the simple $("a:contains('Hardware')").hide() does not seem to be working =\
Tried to use a Web Panel at servicedesk.portal.footer but JS script does not appear at all either.
What am I missing? Would like to implement this without the need of any other addons. Thanks for the help!
Hi @Jessie Chia ,
Did you made any progress on that topic?
I'm under same configuration as you. Jira + Script runner. I would be interested to get control over request visibility as well.
JF
We did not manage to get far since. We did, however, tried Extension for Jira Service <strike>Desk</strike> Management which is wonderful.
Eventually, we re-routed with a "whitelist" approach.
Hope the above might come in somehow handy for you. Will be interested if you have the solution or a neater implementation.
Regards,
Jessie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your prompt reply.
I never thought about injecting javascript with script runner behavior. Good to know, thanks. Even I may avoid using this kind of tricks.
The only "out of the box" feature I have is to use a script runner validator script that prevent the user to log the ticket if he his not allowed. But I can't hide the request type depending of the connected user.
Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.