Code Monkey home page Code Monkey logo

Comments (9)

rbriski avatar rbriski commented on June 2, 2024

I tried to reproduce this with a working JIRA site but couldn't. Also, I don't understand where OnIntent and OpenTicketIntent are coming from. Are these functions in your own code?

Are you sure the configuration for the client is correct? Are you able to provide any more information or create a failing test?

from go-jira.

Hoid avatar Hoid commented on June 2, 2024

OnIntent comes from here, a go port of the alexa skills kit and OpenTicketIntent comes from my Interaction Model in the Amazon Alexa Skills Kit configuration. It's an intent that I've configured and it's just a case in a switch statement in my code
that gets triggered.

I'm sure that I've tried all of the different configurations I can think of, including the ones in your examples. I'm not sure what more information I could provide. Is there something you are looking for specifically?

from go-jira.

rbriski avatar rbriski commented on June 2, 2024

The errorString in your comment is referenced as the default implementation of stringifying errors:
https://blog.golang.org/error-handling-and-go

That being said, I can't replicate your error. I've tried it with:

  • valid JIRA site
  • an invalid site
  • correct credentials
  • incorrect
  • no network connection

I need the actual code you're trying to run or I need you to send some other code that will produce that error.

from go-jira.

Hoid avatar Hoid commented on June 2, 2024

main.zip
Here's the code I'm working with

from go-jira.

rbriski avatar rbriski commented on June 2, 2024

You just zipped up a binary file named main. Please create a repository and check it in on Github so I can look at it.

from go-jira.

Hoid avatar Hoid commented on June 2, 2024

Oops sorry. I've included the actual .go file now. I don't want to put this code on github, though, because I don't want it to be public for long and it's easier to delete a comment than a repo.
main.zip

from go-jira.

rbriski avatar rbriski commented on June 2, 2024

I extracted the code that actually uses go-jira here: https://gist.github.com/rbriski/6637af24c0c5447410175a7579618f75

If you fill in your credentials and JIRA site, it works fine. Any issue you're running into is with your code or some other library.

I tried to run the whole thing but the Alexa library your using has made some backward incompatible changes since you last pulled your dependencies. I couldn't even get go get to work.

from go-jira.

Hoid avatar Hoid commented on June 2, 2024

I was able to fix it! Thanks so much, I'm not really sure what the problem was, but I copied your barebones go-jira code and started from scratch, and it worked. Closing.

from go-jira.

andygrunwald avatar andygrunwald commented on June 2, 2024

Glad that it was solved :)
Thanks @rbriski for your help here.

from go-jira.

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.