Post

1 follower Follow
0
Avatar

Is there an easy method to remove Issue Team Members in bulk?

Any suggestions for removing team members from hundreds of issue's teams in a fast manner? Thanks!

Brian Egan Answered

Please sign in to leave a comment.

3 comments

0
Avatar

Brian,

You can do so with a custom action.  In this custom action, you will ask for the user you want to remove/delete.  Then, in the "Set Actions" section of the rule, you can use the "Delete Object" option and specify the following:

if(not(IsNull(GetLink('IssueTeamMembers',CurrentObject(),TeamMember))),GetLink('IssueTeamMembers',CurrentObject(),TeamMember),null)

The above code will only delete the user if he is, indeed, assigned to the team.

Hop on an Advanced Q&A Webinar for more information!

Rob

Yoko Suzuki 0 votes
Comment actions Permalink
0
Avatar

I forgot to mention that the "Object Type to Delete" will be a "Issue's Team" link.

Rob

Yoko Suzuki 0 votes
Comment actions Permalink