Giter Site home page Giter Site logo

fogbugz script about hubot-scripts HOT 6 CLOSED

github avatar github commented on May 30, 2024
fogbugz script

from hubot-scripts.

Comments (6)

technicalpickles avatar technicalpickles commented on May 30, 2024

I don't use this particular script, or fogbuz in general, but could you include some details of how you are trying to use the script, and what output (if any) you are getting? It might not post an error to campfire, so you'll have to check the log (depends on how you deployed).

Looking over the script now, it doesn't look like it's checking the response it gets back, so it might be failing silent. It also doesn't seem to output anything if it doesn't find a bug, so it's possible that if bug conditional is evaluating to false.

from hubot-scripts.

pixie79 avatar pixie79 commented on May 30, 2024

Hi

Thanks for the reply,

i have dropped in a few msg.send processes and see that it looks like bug
is undefined, as is json.cases?.case but i am not sure where to go from
here to debug further. If you can give me a few more tips i am more than
willing to.
Thanks

Mark

On 4 Oct 2012, at 03:33, Josh Nichols [email protected] wrote:

I don't use this particular script, or fogbuz in general, but could you
include some details of how you are trying to use the script, and what
output (if any) you are getting? It might not post an error to campfire, so
you'll have to check the log (depends on how you deployed).

Looking over the script now, it doesn't look like it's checking the
response it gets back, so it might be failing silent. It also doesn't seem
to output anything if it doesn't find a bug, so it's possible that if
bugconditional is evaluating to false.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/578#issuecomment-9128878.

from hubot-scripts.

nmunson avatar nmunson commented on May 30, 2024

I didn't get mine working until adding the environment variables to the hubot startup script. Make sure they're in there and it should work fine.

from hubot-scripts.

5avage avatar 5avage commented on May 30, 2024

I had to change it up - I think FB has multiple API versions so perhaps the same changes will work for others. Replaced line 43 with:

>>
if 0 == parseInt(json.response.cases[0].$.count)
  msg.send "I can't find that case"
else
  bug = json.response.cases[0].case[0]
<<
  if bug

from hubot-scripts.

pixie79 avatar pixie79 commented on May 30, 2024

Well that gives me more than before but it is giving a type Error, cannot read the property 'cases' of undefined

from hubot-scripts.

technicalpickles avatar technicalpickles commented on May 30, 2024

Adding some recent committers to fogbugz.coffee in case they've seen this or can help out /cc @jaysherby

from hubot-scripts.

Related Issues (20)

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.