Comments (9)
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.
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.
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.
main.zip
Here's the code I'm working with
from go-jira.
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.
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.
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.
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.
Glad that it was solved :)
Thanks @rbriski for your help here.
from go-jira.
Related Issues (20)
- GetTransition not work HOT 1
- RemoveWatcher throws 400 error due to missing query parameter
- Creating issue with go-jira/v2/cloud failed with status code 400 HOT 2
- PUT request fails even though json is correct HOT 3
- Calling the GetWatchers() function results in a stacktrace HOT 1
- `IssueFields.Unknowns` and `IssueFields.Names` not returned in `Issue.SearchWithContext` api HOT 1
- Use Personal Access Tokens instead of username and password HOT 2
- Add support for retrying failed requests HOT 1
- issue field creator json tag is wrong HOT 2
- FieldsValue need more types to be accepted
- When accountId=="", it will cause service panic
- Unable to install go-jira on apple M1 laptop HOT 1
- Add support in rest/api/3/issue HOT 2
- Reading from a closed body in case of a network error during body read
- Support POST version for long JQL queries
- IssueLinkType Name not found
- Add method for get priority schema by project ID
- Cloud: Issue.DownloadAttachment is using deprecated API
- Adding comments to issues won't work
- Support for Assets and Asset Query Language (AQL)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-jira.