Make incidents visible to specific group
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2024 10:06 PM
Hi All,
I want to make incidents visible to only HR group and software group.
How this can be achieved?
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2024 04:55 AM
Hi Kunte,
Please use the below Script and modify the script as per you requirement.
var getUserDetails = gs.getUser();
var getGroup = gs.getProperty("Show incidents To Hardware");
if (getUserDetails.isMemberOf(getGroup)) {
current.addEncodedQuery("state=2");
}