You can actually use `robot.http` here, which does some of the smarts of http vs https. It'd look like:

```coffeescript
   robot.http("#{jiraUrl}/rest/api/2/project")
     .auth(auth)
     .get(err, res, body)
```

It might actually be worth just exposing HUBOT_JIRA_URL prefix as an environment, and letting folks specify the whole thing rather than exposing each individual component of the URL.