cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The command or Command parameter to retrieve Dynamic Group Membership specific to Project

0 Kudos

The command or Command parameter to retrieve Dynamic Group Membership specific to Project

Currently, 'im viewdynamicgroup' or 'im dynamicgroups' will give list of all projects and its membership for the given dynamic groups, that needs to be parsed for specific project information.

There is no direct option available with this commands to mention specific project, we need to iterate through each and find our project and then its membership.

current_dyna_group_command.JPG

Here, we are proposing to add any parameter like --project for these both dynamicgroup commands, in which we can add the "im project" name and get the dynamic group membership for that project only.

Example:

im dynamicgroups --field=membership --project="<IM_PROJECT_NAME>" "Dynamic_Group_Name"

 

im viewdynamicgroup --membershipFilter=<IM_PROJECT_NAME> "Dynamic_Group_Name"