JFYI, the previous 7 lines can be replaced with:
  return tuple([(project.key, project.key) for project in jira.projects()])
This is simpler and less error-prone because there are no temporaries and fewer side effects in play, and for pythonistas it's very easy to read. It's a basic list comprehension, which make a new list by transforming another list.