Getting contributors and related process roles assigned.
Hi
I am trying to get the process roles assigned for the users/contibutors at project area level. I am using below API but the getMembers and getRoleCast methods but are deprecated. List<IContributor> existingTeamMembers = processAreaWorkingCopy Are there any other methods we I can use here?. |
3 answers
The deprecation javadoc on the methods suggest using ITeamWorkingCopy. So, you can call getTeam().getRoleCast().
Martha Jazz Developer, Process Component. Hi |
But we want to remove the project members at project level and not at team level,for this do we still need use the below methods:
processAreaWorkingCopy.[b]getTeam().removeContributors[/b](teamMemberList_ToBeRemoved.toArray(new IContributorHandle[teamMemberList_ToBeRemoved.size()])); |
You can use IProcessAreaWorkingCopy.getTeam() to get the ITeamWorkingCopy for a project area or team area. With the ITeamWorkingCopy you can manipulate the roles, add contributors or remove contributors.
Martha Jazz Developer, Process component But we want to remove the project members at project level and not at team level,for this do we still need use the below methods: |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.