-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JIRA hosted #10
Comments
I'm glad you enjoy it. I'm using it together with our company jira instance and never tried the hosted one. But as this tool just speaks to the rest api, it should just work. Maybe the authentication method of the hosted jira api is more restricted or just differs. Can you provide a full stacktrace? |
I'd love to as being really eager to push the logged times to JIRA :) But can you please give me some hint on how to capture a full stack trace? What I see while running
I replaced a few characters with stars for privacy issues. API access is enabled in JIRA, and the URL is correct. Not sure what could be the problem, but these logged times did not show up in JIRA. |
I had a short look into this. Seems like atlassian put out a new python package for communicating with the jira api and the hamster-bridge is still using the old one. old: https://pypi.python.org/pypi/jira-python/ think my company is still using jira 5 and i didn't run into problems. hosted jira should be latest version, 6.x. porting to the new library shoudn't be that hard, but i like to test it before with your help: please install the new package and run something like this on the console:
I'm checking this tomorrow against my company's jira, too. If we both succeed, there should be a new hamster-bridge version soon :) |
Wow, this is great! Just checked the above code (replacing the URL to my company URL), and it works like a charm. I hope it works fine with your local install as well, and I'm eagerly looking forward to the new version :) Let me know if I can help with e.g. testing. Thanks, Gergely |
BEWARE: untested code, need to verify next week
Ok, my test was successful, too. I made some changes but mostly blind because i can't test it from home. I will test it monday, you can too by installing the new
But be sure to uninstall |
Thank you, sir! I've just installed the new version from GH (after removing |
Hm, that's a pitty. Seems like the problem lies very deep inside:
This is usually no problem at all. The first request (searching for a matching jira ticket) opens a http connection to the jira rest api. This connection is kept alive and pooled. The next request (add_worklog) should reuse this pooled connection. When reusing it detects this pooled connection is dropped for whatever reason (maybe hosted jira is configured to prevent keep alive connection (unusual) or you are using proxy which did that?) but no matter it just should create a new connection for perform the worklog request. But then without further error message the request is done and As the problem seems to lie this deep, i can't really configure this but i'll make a change to log the requests result. Maybe we get more insight. If your not tired already, please update again from github (with the command above), try again and send the log. |
The log seems to be okay for me, not sure what could be the problem:
But I cannot see the logged time at the referenced JIRA ticket. Please let me know how I can help testing and debugging, I won't be tired of any related task :) Thanks! |
Seems like it tries to connect via http. What's the jira server url? Did it begin with http oder https? |
Ah, right, thanks for the help -- everything works fine after updating the |
First of all, thank you very much for this great project! Quick question: do
hamster-bridge
supposed to work with hosted JIRA as well? Right after theLookup issue for activity ...
I always get aResetting dropped connection...
error message.The text was updated successfully, but these errors were encountered: