Target AD Groups for Specific Custom Tasks
I'm working on custom forms for assigning to AD groups and was interested in knowing if it's possible to create custom tasks then target them to a specific AD group. A little background on what I'm trying to accomplish: Basically we have a group of users who need to resolve/complete incidents and service requests specifically assigned to their respective group, but we do not want to give them Analyst permissions. I created a custom form so they are able to assign, change support groups, etc, but they are not able to resolve/complete work items. Being only End Users, they only have "Print" under their tasks section. I've tried to rework Geoff_Ross' solution to target an AD group with no luck. I can only seem to differentiate between an Analyst and an End User.
Has anybody else came across this situation? I may even be trying to do things the hard way, so I'll take any input at all
Comments
Are you talking about this solution?
https://community.cireson.com/discussion/451/hide-send-email-link-for-ad-groups-in-incident
What problems did you have with it? The code from Morten is using the same concept (but better error handling and lovely comments)
Geoff
Thanks again!
JD
//Start Task
Remember also to test in the web browser console (F12), if the hide task code works:
$( ".taskmenu li:contains('Resolve Incident')" ).hide()
Edit: And you of course need to have every logic of hiding/showing tasks in the Incident form task, not in the actual custom task. So the ajax calls etc. needs to go in the first formTask and then the actual resolve incident code in the resolve incident custom task.
Dear All,
I am trying to do something similar here. I want to hide "Change Status" on "Tasks" for two technicians or a AD group. I have tried the code above and it doesn't seem to work?
Thanks
Daniel