oarevalo / BugLogHQ

BugLogHQ is a tool to centralize the handling of automated bug reports from multiple applications. BugLogHQ provides a unified view of error messages sent from any number of applications, allowing the developer to search, graph, forward, and explore the bug reports submitted by the applications.
http://www.bugloghq.com
154 stars 67 forks source link

Error when sending an issue to Jira #62

Closed dskaggs closed 11 years ago

dskaggs commented 11 years ago

Clicking the "Send to Jira" link on an issue returns the following error:

Invalid element in com.atlassian.jira.rpc.soap.beans.RemoteProject - id

We have BugLogHQ 1.8.1 installed and are using Jira v5.2.11#854-sha1:ef00d61

oarevalo commented 11 years ago

Hi Dan, I haven't used or tested the Jira integration in a long time; I'll have to make some tests to check that everything is still correct, and I'll get back to you.

In the meantime if you find any more details please post them, maybe someone else that is currently using the Jira integration can pitch in.

Oscar

On Wed, Aug 21, 2013 at 1:09 PM, Dan Skaggs notifications@github.comwrote:

Clicking the "Send to Jira" link on an issue returns the following error:

Invalid element in com.atlassian.jira.rpc.soap.beans.RemoteProject - id

We have BugLogHQ 1.8.1 installed and are using Jira v5.2.11#854-sha1:ef00d61

— Reply to this email directly or view it on GitHubhttps://github.com/oarevalo/BugLogHQ/issues/62 .

Oscar Arevalo http://about.me/oarevalo http://www.coldbricks.com - Content Management System http://www.oscararevalo.com - My Blog

dskaggs commented 11 years ago

Depending on how many versions back of Jira that you want to support, it might be worth it to look at replacing the SOAP call with an interface to the new REST API that Jira introduced in v5. There are a couple of projects on GitHub already that provide ColdFusion wrappers for Jira ( https://github.com/cfchris/Jira-REST-API-cfc for example ).

oarevalo commented 11 years ago

The SOAP integration had more issues and could not make it work again; then I found that Atlassian is now officially deprecated the SOAP and XML-RPC APIs in favor of the REST API, which apparently has been around for a couple of versions now.

I rewrote (slightly) the Jira integration in BugLogHQ to use REST instead of SOAP. You will need to enter the REST endpoint URL in the config settings, but everything should work now. I tested on my local Jira and seems fine.