Giter Club home page Giter Club logo

hubot-jira's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hubot-jira's Issues

Syntax Error Unexpected token

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.

Unable to auth to JIRA

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.