https://github.com/duologic/hubot-jira-connector
Use jira-connector with Hubot
https://github.com/duologic/hubot-jira-connector
Last synced: about 2 months ago
JSON representation
Use jira-connector with Hubot
- Host: GitHub
- URL: https://github.com/duologic/hubot-jira-connector
- Owner: Duologic
- Created: 2015-12-12T19:55:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-14T09:26:55.000Z (over 10 years ago)
- Last Synced: 2025-07-03T23:01:53.288Z (12 months ago)
- Language: CoffeeScript
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://creativecommons.org/licenses/by-sa/4.0/)
# hubot-jira-connector
Use [jira-connector](https://www.npmjs.com/package/jira-connector) with Hubot
See [`src/hubot-jira-connector.coffee`](src/hubot-jira-connector.coffee) for full documentation.
## Installation
In hubot project repo, run:
`npm install hubot-jira-connector --save`
Then add **hubot-jira-connector** to your `external-scripts.json`:
```json
[
"hubot-jira-connector"
]
```
## Configuration
To use this, you'll need to setup an application link using OAuth with Jira, see [jira-connector documentation](https://github.com/floralvikings/jira-connector#oauth-authentication) for more information.
Following environment variables are required before running:
```
export HUBOT_JIRA_CONNECTOR_HOST=company.atlassian.net
export HUBOT_JIRA_CONNECTOR_PRIVATE_KEY=/path/to/private-key.pem
export HUBOT_JIRA_CONNECTOR_CONSUMER_KEY=
export HUBOT_JIRA_CONNECTOR_TOKEN=
export HUBOT_JIRA_CONNECTOR_TOKEN_SECRET=
```
## Sample Interaction
```
user1>> hubot list jira projects
hubot>> PROJ, APP
user1>> let's talk about APP-217
hubot>> : Application is broken
Reporter: *Duologic* Priority: *Urgent*
user1>> hubot comments for ticket PROJ-13
*user1*: We need to fix this.
--
*user2*: I already fix this in pull request #42
--
user1>> hubot debug ticket PROJ-14
hubot>> { }
```