JIRA connector

62 views
Skip to first unread message

djiest

unread,
May 10, 2011, 4:59:16 AM5/10/11
to BugLogHQ
Hi

I've enabled JIRA integration in BugLogHQ.

When reporting a bug to JIRA, I get an error 'The value of CLASS
attribute is invalid.'

See http://dl.dropbox.com/u/10880339/JIRA%20error.jpg

Regards
Joost

Oscar Arevalo

unread,
May 16, 2011, 7:23:49 PM5/16/11
to BugLogHQ
Hey Joost,
Sorry for the long delay. I was able to reproduce the same error on my
own buglog instance. In my case the problem was that buglog was not
refreshing its config to use the latest value for the jira wsdl, but
instead was using the default one (an empty string), so that error
"value of class..." is actually coming from the line that is trying to
instantiate the webservice. After I logged out and clicked on the
"reset bugloghq" link on the login screen, the problem went away.

Let me know if that works for you.

Oscar

djiest

unread,
May 18, 2011, 3:45:55 AM5/18/11
to BugLogHQ
Hi Oscar,

Thanks for the reply. The 'class' issue went away, but unfortunately
we have a new error "Unable to parse WSDL as an XML document." I am
trying to submit the BugLog test error "Test message via SOAP" to
JIRA.
I am running BugLogHQ 1.5.177 and the trial version of JIRA v4.3.3#617-
r149616, both on localhost

http://localhost/bugLog/hq/
http://localhost:8080/secure/Dashboard.jspa

My JIRA connector is http://localhost:8080/rpc/soap/jirasoapservice-v2?wdsl

I've disabled the try/catch and get the following message.

Diagnostic Information:
Message: Unable to parse WSDL as an XML document.
Type: Application
Details: Parsing error: Fatal Error: URI=null Line=2: The markup in
the document following the root element must be well-formed.
It is recommended that you use a web browser to retrieve and examine
the requested WSDL document to ensure it is correct.
Tag Context: • D:\web\bugLog\components\jiraService.cfc (line 59)
• D:\web\bugLog\components\jiraService.cfc (line 29)
• D:\web\bugLog\hq\components\services\jiraService.cfc (line 20)
• D:\web\bugLog\hq\handlers\ehJira.cfc (line 12)
• (line 1)
• D:\web\bugLog\hq\Application.cfc (line 171)
• D:\web\bugLog\hq\Application.cfc (line 59)

Seems like the WDSL URI still isn't picked up. I even tried adding it
to <rootdir>\components\jiraService.cfc and restarting CF but this
didn't help.

(Off topic: what if there is no Project in JIRA for the Application
I'm submitting a bug for to JIRA?)

Regards,
Joost

djiest

unread,
May 18, 2011, 5:56:10 AM5/18/11
to BugLogHQ
Hi Oscar,

First I changed wDsl to wSdl *blush*, but that had no effect.

Changing the Application name finally did the trick...

I can now submit bugs to JIRA

Thanks.

This also answers my other question, that a project has to be
predefined in JIRA.

Joost

On 18 mei, 09:45, djiest <dji...@gmail.com> wrote:
> Hi Oscar,
>
> Thanks for the reply. The 'class' issue went away, but unfortunately
> we have a new error "Unable to parse WSDL as an XML document." I am
> trying to submit the BugLog test error "Test message via SOAP" to
> JIRA.
> I am running BugLogHQ 1.5.177 and the trial version of JIRA v4.3.3#617-
> r149616, both on localhost
>
> http://localhost/bugLog/hq/http://localhost:8080/secure/Dashboard.jspa
>
> My JIRA connector ishttp://localhost:8080/rpc/soap/jirasoapservice-v2?wdsl

Oscar Arevalo

unread,
May 18, 2011, 5:18:08 PM5/18/11
to bugl...@googlegroups.com
Great that its working now. Did you try resetting the application before changing the app name? resetting the app should have cleared all cached data.

Oscar
--
Oscar Arevalo

djiest

unread,
May 19, 2011, 3:10:20 AM5/19/11
to BugLogHQ
Yes, I did try the reset link several times, but that didn't help.

Greetings
Joost

djiest

unread,
May 19, 2011, 4:00:46 AM5/19/11
to BugLogHQ
Hi Oscar,

strange though is that I had to add the settings for the JIRA
connector to <rootdir>\components\jiraService.cfc

Greetings,
Joost

On 18 mei, 23:18, Oscar Arevalo <oarev...@gmail.com> wrote:

Oscar Arevalo

unread,
May 19, 2011, 2:58:09 PM5/19/11
to bugl...@googlegroups.com
Do you mean you had to hardcode the jira wsdl, username and password? putting them via the admin section didnt work? Also, did you try entering them directly on the config.xml?

Oscar

djiest

unread,
May 19, 2011, 5:10:36 PM5/19/11
to BugLogHQ
At first it looked like that, but I just removed them and it still
works.

Thanks.

Joost
Reply all
Reply to author
Forward
0 new messages