The CreatorCon Call for Content is officially open! Get started here.

How can list all incidents raised by my group members.

Pankaj Grover1
Tera Contributor

Hi All, Can you please help me to get the report where I can list down all the incidents opened by my Team members.

Example: I am a lead of 2 groups and I wanted to have the list of incidents which have been raise by/opened by my group members and same must be visible to all members as well.

@Adam Stout :Hi Adam, can you suggest something in this?

 

 

1 ACCEPTED SOLUTION

kumaril1
Giga Expert

Below are snapshot will help you

find_real_file.png

find_real_file.png

find_real_file.png

View solution in original post

12 REPLIES 12

 Hi Kumaril, Your attached screen shots are very blur. Can you please share those scripts directly ?

var getGroup = Class.create();
getGroup.prototype = Object.extendsObject(AbstractAjaxProcessor, {
    getGM: function(gsysid) {

        var mem = [];
        var getMembers = new GlideRecord('sys_user_grmember');
        getMembers.addQuery('group', gsysid);
        getMembers.query();
        while (getMembers.next()) {
            mem.push(getMembers.getValue('user'));
        }
        return mem;
    },
    type: 'getGroup'
});

Thanks for Sharing, While using that filter it's coming as null.

 

find_real_file.png

 

Thanks It's working now 🙂

Hi Pankaj,

 

It return empty for me as well. How did you made it working?