rustedgrail / hubot-jira Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, I tried to use hubot-jira with rocketchat adapter but getting syntax error.
hubot_1 | [email protected] node_modules/hubot-jira
hubot_1 | └── [email protected]
...
hubot_1 | [Fri Aug 19 2016 17:40:10 GMT+0000 (UTC)] ERROR SyntaxError: Unexpected token <
hubot_1 | at Object.parse (native)
hubot_1 | at /home/hubot/node_modules/hubot-jira/src/jira-issues.coffee:43:7, <js>:17:19
hubot_1 | at IncomingMessage.<anonymous> (/home/hubot/node_modules/hubot/node_modules/scoped-http-client/src/index.js:95:22)
hubot_1 | at IncomingMessage.emit (events.js:129:20)
hubot_1 | at _stream_readable.js:908:16
hubot_1 | at process._tickCallback (node.js:355:11)
It does not seems as specific adapter issue.
Added the env variables for username and password and getting a 401 error from JIRA when the hubot starts up.
Console says:
[Tue Feb 24 2015 14:05:55 GMT-0500 (EST)] ERROR SyntaxError: Unexpected token <
at Object.parse (native)
at /opt/myhubot/node_modules/hubot-jira/src/jira-issues.coffee:44:7, :18:19
at IncomingMessage. (/opt/myhubot/node_modules/hubot/node_modules/scoped-http-client/src/index.js:80:22)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
I've tripled checked the JIRA_URL and it is correct. Going to jiraUrl/rest/api/2/project in my browser does show the expected JSON output. Did I miss a step somewhere? Thanks for any pointers you might be able to give.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.