def assign_issue(self, key, username):
    return self.put((self.ASSIGN_URL % key), data={'name': username})
def assign_issue(self, key, username):
    return self.put((self.ASSIGN_URL % key), data={'name': username})