Strategery-Inc / jira-harvest-time-tracker

Track time in Harvest directly from your JIRA issues!
12 stars 0 forks source link

Unable to log into Harvest APP through JIRA Ticket #85

Closed jennykinetiq closed 6 years ago

jennykinetiq commented 6 years ago

A user is unable to input time through JIRA tickets and no one else is experiencing this problem. An error message populates when she tries to log in Harvest through JIRA, " cannot connect to harvest. Please check your credentials and make sure your server can communicate with the harvest servers." I have reset her password and even checked permissions to projects her Harvest account. We can't seem to figure out what's wrong.

gsomoza commented 6 years ago

Hmm, that's quite weird. A few follow-up questions just to cover the basics:

What browser is she using? Is it different than other people's browser? Does her first or last name, username or email address contain special characters (the plugin should handle those as well, but just in case)? Does she use a different account or email domain as other people or is it the same? Does she usually login to her Harvest using her username an password, or is it via an integration (i.e. Gmail / G Suite)?

jennykinetiq commented 6 years ago

Thanks for the quick response!

1) She is using Chrome and tried switching to Internet Explorer but it didn’t resolve the issue. 2) Other people are also using Chrome and/or IE 3) No, special characters. 4) Her email domain is the same as other users. 5) She logs into Harvest using her user name and password. We do not use gmail/g suite.

gsomoza commented 6 years ago

Our plugin delegates authentication to Harvest: our plugin has almost not business logic related to logins. With that in mind, since other users are able to login, I suspect the issue may be either on Harvest's side or on the user's side. But since she already tried with other browsers, the chances the issue is on her side are quite low.

So I suggest you contact Harvest support with the same information (also including her username) so they can debug/assess why this user can't authenticate API requests, while other users CAN. Optionally, feel free to add me in CC so I can jump in and help if/where needed.

gsomoza commented 6 years ago

I hope you could solve this issue! If you're using JIRA Cloud, you should have received a brand-new version of the plugin which uses the latest version of the Harvest API, including the OAuth2 integration, which should definitely fix this issue.

Closing due to inactivity.