Hi,
I am working on a service desk customer portal, that requires to hide the create button for certain request types. I am thinking I could use some JS code with script runner to check the service request type and then if it matches the criteria, hide the create button on the screen. However, I am clueless as to how to go about coding that in JS to make it work within service desk?
So requesting the gurus here to please guide me or if possible, provide me with some snippet to help solve this problem...
Thanks
Anupam
I would also go for Jack's idea.
On the other hand there are two more options : doing it the 'hacky' way and injecting via jquery a few script lines that will simply .hide the buttons (I'm hiding the create button internally on one of our JSD instances to force the people to go over the portal). When customizations are getting. serious you should create an own frontend and implement JIRA only via webservices. The rest interface is quite well described. BG!
Thanks Jack and Dennis for your valuable inputs and I couldn't agree more with you. However, given the client needs, while I am more than happy to put forward Jack's suggestion, I am very interested to know from you Dennis, how you hacked your way specifically with JSD. IF you don't mind, could you please share on how you got it working? I understand JQuery but don't know how/where to inject the script within JSD. Also, any other nuances that you may have come across with your impementation would be nice to know...
Thanks so much for your help.
Cheers
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't believe this is possible. If you want the old request types to direct the users to the old system then maybe provide that message in the notification for the portal and remove the request types from the project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry had published it twice...Removed second reply here...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anupam,
I don't have an answer ready but I am very curious to why you would like to do this? Why make the request type available if users won't be able to submit it?
Just trying to get the reasons why as that usually helps you getting the best solution possible!
Best,
Maarten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maarten,
Ofcourse. No problem. That is a perfectly justified question.
As part of our traditional help desk processes we have had a number of customized forms built over the years. As we transition over to service desk, there is a recognition that for some of those help desk tasks, service desk forms may be a bit limited in its abilities and so the plan is to rather just create a headline request item within service desk and then when a user clicks on the specific request type, it just displays a message with a link to create request in the old system. However, within JSD, this is still a type of service desk request and so it still shows the Create and Cancel buttons at the bottom.
Our requirements is to hide the create button for such type of requests.
I hope that helps clarify my position. Also, for easy reference, I've attached a screenshot of such a request.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.