## Issue Tracker Report Script "Issues-where-at-least-2-people-are-involved"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=issue
##title=Issues where at least 2 people are involved
##
# You're given an issue as the first parameter on this report
# script. Your job, with this script, is to look at this issue 
# object and decide if you want to show it or not. Either return
# True or False at the end of this script.


# example code
people = [issue.getEmail()]

for thread in  issue.ListThreads():
    if thread.getEmail() not in people:
        people.append(thread.getEmail())

if len(people) >= 2:
    return True


# default thing to do is to NOT include the issue
return False

