It's not possible to assign labels to issues. Regardless of what is passed to add_to_issue for the labels, there is always a ValueError thrown:
ValueError: Unable to encode lists with elements that are not 2-tuples.
Also, the example in the documentation is wrong, there are non-keyword arguments after keyword arguments.