{"issue":{"state":"open","pull_request":{"diff_url":"https://github.com/github/hubot-scripts/pull/106.diff","html_url":"https://github.com/github/hubot-scripts/pull/106","patch_url":"https://github.com/github/hubot-scripts/pull/106.patch"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/05ccd73ad8d09b2c7491c87968b51189?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"05ccd73ad8d09b2c7491c87968b51189","url":"https://api.github.com/users/crcastle","login":"crcastle","id":275734},"milestone":null,"assignee":null,"updated_at":"2011-11-07T03:59:01Z","labels":[],"comments":3,"closed_at":null,"url":"https://api.github.com/repos/github/hubot-scripts/issues/106","body":"Ask Hubot to list issues in your JIRA account.  For example:\r\n`hubot list my bugs`\r\n`hubot list my blocker priority bugs about robots`\r\n`hubot list tasks about world domination`\r\n\r\n* 'bugs' can be replaced with any JIRA issue type Hubot knows about.  Using 'issues' will match all issue types.\r\n* 'blocker' can be replaced with any JIRA issue priority Hubot knows about.  Leaving it off will match any priority.\r\n* 'about foo' will match issues with 'foo' in the issue summary or description fields\r\n* Inclusion of 'my' will only show issues assigned to you.  Exclusion of 'my' will list issues assigned to anyone or no one.  Hubot uses the email address it knows about you to determine your JIRA username.  This works great if you use Google Apps for both your JIRA authentication and your chatroom authentication.  If this isn't your setup, you'll have to figure out some other way to tell Hubot your JIRA username, but that shouldn't be too difficult.\r\n\r\nTo configure, export the following shell variables\r\n\r\n* HUBOT_JIRA_DOMAIN  \r\n    * e.g. yourcompany.jira.com\r\n* HUBOT_JIRA_USER\r\n    * e.g. hubot.robot\r\n* HUBOT_JIRA_PASSWORD\r\n    * e.g. Hub0+S3cr3tPa$$w0rd\r\n* HUBOT_JIRA_ISSUE_TYPES\r\n    * pipe separated values e.g. bug|task|sub task|support ticket|new feature|epic\r\n* HUBOT_JIRA_ISSUE_PRIORITIES\r\n    * pipe separated values e.g. blocker|high|medium|minor|trivial","html_url":"https://github.com/github/hubot-scripts/issues/106","title":"List a user's JIRA issues","number":106,"id":2159058,"created_at":"2011-11-07T01:48:48Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/a86224d72ce21cd9f5bee6784d4b06c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a86224d72ce21cd9f5bee6784d4b06c7","url":"https://api.github.com/users/atmos","login":"atmos","id":38},"updated_at":"2011-11-07T03:59:01Z","url":"https://api.github.com/repos/github/hubot-scripts/issues/comments/2649814","body":"Yeah, you don't want to publicly paste your password though.  Let's go with a specific user for now and fix it up later.","id":2649814,"created_at":"2011-11-07T03:59:01Z"}}