The PTC Community email address has changed to firstname.lastname@example.org. Learn more.
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.
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.
im dynamicgroups --field=membership --project="<IM_PROJECT_NAME>" "Dynamic_Group_Name"
im viewdynamicgroup --membershipFilter=<IM_PROJECT_NAME> "Dynamic_Group_Name"
You can add a pipe and run a "findstr" command with the <IM_PROJECT_NAME> value:
im viewdynamicgroup "Dynamic_Group_Name" | findstr "IM_PROJECT_NAME>"
Checking if the alternative proposed on this thread has worked and resolved this Idea?
the alternatives are there, like once data is collected. we need to filter on project separately. However, Idea is to get the option in command so, it will reduce the load as well as save filter steps.
I was working with API as well, there this new option can be helpful.
Thanks for the response. Do note that this is not a top priority item based on our current long-range plan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.