No jira site is configured for this project

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

No jira site is configured for this project

Ben Mills
Hello,

Attempting to use the JIRA plugin.

The JIRA plugin is definitely loaded at Tomcat startup and Hudson shows it as enabled.  In JIRA, I have 'Accept Remote API Calls' enabled and the JIRA RPC plugin is enabled (including System SOAP Services).  Hudson is v1.99 and JIRA plugin is v1.1.  In Hudson System Configuration, I have all the required info ( URL http://<jira_server>:90/jira ) with a valid account for authentication.  In the project I'm testing with, I have 'Post-Build Actions: Updated relevant JIRA issues' checked.

Console output for build shows: No jira site is configured for this project. This must be a project configuration error

I'm sure it is... but what?
How do I point Hudson to the specific project in JIRA...?

Thanks.



Reply | Threaded
Open this post in threaded view
|

Re: No jira site is configured for this project

Kohsuke Kawaguchi
Administrator
This error happens when

1) you have more than one JIRA sites configured in the system
configuration, but you forgot to choose one in the project config.
2) you have changed the JIRA site URL after the project is configured.
I committed a change in JIRA plugin 1.2 so that Hudson self-corrects
this error. In the mean time, you should be able to fix the problem by
going to the project config and submit the form.
3) you have no JIRA sites configured in the system config.

If none of them applies to you, please send me your
$HUDSON_HOME/hudson.plugins.jira.JiraProjectProperty.xml  and your
job's config.xml.

In any case the error message should point out the problem more accurately.

2007/4/26, Ben Mills <[hidden email]>:

> Hello,
>
> Attempting to use the JIRA plugin.
>
> The JIRA plugin is definitely loaded at Tomcat startup and Hudson shows it
> as enabled.  In JIRA, I have 'Accept Remote API Calls' enabled and the JIRA
> RPC plugin is enabled (including System SOAP Services).  Hudson is v1.99 and
> JIRA plugin is v1.1.  In Hudson System Configuration, I have all the
> required info ( URL http://<jira_server>:90/jira ) with a
> valid account for authentication.  In the project I'm testing with, I have
> 'Post-Build Actions: Updated relevant JIRA issues' checked.
>
> Console output for build shows: No jira site is configured for this project.
> This must be a project configuration error
>
> I'm sure it is... but what?
> How do I point Hudson to the specific project in JIRA...?
>
> Thanks.
>
>
>
>
>


--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: No jira site is configured for this project

Ben Mills
Kohsuke, thanks very much for your response.

On Apr 27, 2007, at 2:49 AM, Kohsuke Kawaguchi wrote:

This error happens when

1) you have more than one JIRA sites configured in the system
configuration, but you forgot to choose one in the project config.
2) you have changed the JIRA site URL after the project is configured.
I committed a change in JIRA plugin 1.2 so that Hudson self-corrects
this error. In the mean time, you should be able to fix the problem by
going to the project config and submit the form.

I have only one JIRA site configured in the system config.  I have no way to provide a JIRA site URL within the project config.  After checking the box for 'Updated relevant JIRA issues' in the project config, there are no additional fields exposed in the GUI.  I'll send the requested files to you directly. 

3) you have no JIRA sites configured in the system config.

If none of them applies to you, please send me your
$HUDSON_HOME/hudson.plugins.jira.JiraProjectProperty.xml  and your
job's config.xml.

In any case the error message should point out the problem more accurately.

2007/4/26, Ben Mills <[hidden email]>:
Hello,

Attempting to use the JIRA plugin.

The JIRA plugin is definitely loaded at Tomcat startup and Hudson shows it
as enabled.  In JIRA, I have 'Accept Remote API Calls' enabled and the JIRA
RPC plugin is enabled (including System SOAP Services).  Hudson is v1.99 and
JIRA plugin is v1.1.  In Hudson System Configuration, I have all the
required info ( URL http://<jira_server>:90/jira ) with a
valid account for authentication.  In the project I'm testing with, I have
'Post-Build Actions: Updated relevant JIRA issues' checked.

Console output for build shows: No jira site is configured for this project.
This must be a project configuration error

I'm sure it is... but what?
How do I point Hudson to the specific project in JIRA...?

Thanks.







-- 
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: No jira site is configured for this project

Kohsuke Kawaguchi
Administrator
2007/4/27, Ben Mills <[hidden email]>:
> I have only one JIRA site configured in the system config.  I have no way to
> provide a JIRA site URL within the project config.  After checking the box
> for 'Updated relevant JIRA issues' in the project config, there are no
> additional fields exposed in the GUI.  I'll send the requested files to you
> directly.

I have a feeling that JIRA URL textbox appears near the top of the
config, not at the "update issue" checkbox.

This is because JIRA URL is needed for generating proper hyperlinks,
even when the update issue feature is disabled.

I wonder what's a better way to present that.

--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: No jira site is configured for this project

Ben Mills

On Apr 28, 2007, at 10:57 AM, Kohsuke Kawaguchi wrote:

> 2007/4/27, Ben Mills <[hidden email]>:
>> I have only one JIRA site configured in the system config.  I have  
>> no way to
>> provide a JIRA site URL within the project config.  After checking  
>> the box
>> for 'Updated relevant JIRA issues' in the project config, there  
>> are no
>> additional fields exposed in the GUI.  I'll send the requested  
>> files to you
>> directly.
>
> I have a feeling that JIRA URL textbox appears near the top of the
> config, not at the "update issue" checkbox.

Koshuke, thanks again - I sent you a few emails on this thread to  
your sun account.
If you could have a look at those I would appreciate it.

The JIRA URL is available in the project config only in the case  
where multiple JIRA
sites have been setup in the system config.  No problem there, it  
makes sense as I'm
sure the project will use the (one) site from system config as needed.

My issue on all this however is this:

Hudson is looking for the JIRA SOAP WSDL file and not finding it -  
hence the 404 error:
(404)/rpc/soap/jirasoapservice-v2
We are running JIRA 3.0.2 - they didn't change the SOAP WSDL location to
.../rpc/soap//jirasoapservice-v2?wsdl until version 3.1

For JIRA 3.0.x the SOAP WSDL is located in .../rpc/soap/jiraservice-
v1.wsdl
Is there a Hudson config file that would let me control this from the  
command line?

>
> This is because JIRA URL is needed for generating proper hyperlinks,
> even when the update issue feature is disabled.
>
> I wonder what's a better way to present that.
>
> --
> Kohsuke Kawaguchi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: No jira site is configured for this project

Kohsuke Kawaguchi
Administrator
Ben Mills wrote:

> On Apr 28, 2007, at 10:57 AM, Kohsuke Kawaguchi wrote:
>
>> 2007/4/27, Ben Mills <[hidden email]>:
>>> I have only one JIRA site configured in the system config.  I have  
>>> no way to
>>> provide a JIRA site URL within the project config.  After checking  
>>> the box
>>> for 'Updated relevant JIRA issues' in the project config, there  
>>> are no
>>> additional fields exposed in the GUI.  I'll send the requested  
>>> files to you
>>> directly.
>>
>> I have a feeling that JIRA URL textbox appears near the top of the
>> config, not at the "update issue" checkbox.
>
> Koshuke, thanks again - I sent you a few emails on this thread to  
> your sun account.
> If you could have a look at those I would appreciate it.
Will do.

> The JIRA URL is available in the project config only in the case  
> where multiple JIRA
> sites have been setup in the system config.  No problem there, it  
> makes sense as I'm
> sure the project will use the (one) site from system config as needed.
>
> My issue on all this however is this:
>
> Hudson is looking for the JIRA SOAP WSDL file and not finding it -  
> hence the 404 error:
> (404)/rpc/soap/jirasoapservice-v2
> We are running JIRA 3.0.2 - they didn't change the SOAP WSDL location to
> ../rpc/soap//jirasoapservice-v2?wsdl until version 3.1
>
> For JIRA 3.0.x the SOAP WSDL is located in .../rpc/soap/jiraservice-
> v1.wsdl
> Is there a Hudson config file that would let me control this from the  
> command line?
Ah, so was that why this was failing? Or is this an independent issue?

Did Hudson leave any error reports for not finding WSDL? (If not, that
alone is considered as a bug.)

I suspect supporting v.3.0.x shouldn't be that difficult, if I have a
running instance of JIRA of that version. If you can file this as an
issue, that would be great.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: No jira site is configured for this project

Ben Mills

On Apr 29, 2007, at 6:53 PM, Kohsuke Kawaguchi wrote:

Ben Mills wrote:
On Apr 28, 2007, at 10:57 AM, Kohsuke Kawaguchi wrote:
2007/4/27, Ben Mills <[hidden email]>:
I have only one JIRA site configured in the system config.  I have  no way to
provide a JIRA site URL within the project config.  After checking  the box
for 'Updated relevant JIRA issues' in the project config, there  are no
additional fields exposed in the GUI.  I'll send the requested  files to you
directly.

I have a feeling that JIRA URL textbox appears near the top of the
config, not at the "update issue" checkbox.
Koshuke, thanks again - I sent you a few emails on this thread to  your sun account.
If you could have a look at those I would appreciate it.

Will do.

The JIRA URL is available in the project config only in the case  where multiple JIRA
sites have been setup in the system config.  No problem there, it  makes sense as I'm
sure the project will use the (one) site from system config as needed.
My issue on all this however is this:
Hudson is looking for the JIRA SOAP WSDL file and not finding it -  hence the 404 error:
(404)/rpc/soap/jirasoapservice-v2
We are running JIRA 3.0.2 - they didn't change the SOAP WSDL location to
../rpc/soap//jirasoapservice-v2?wsdl until version 3.1
For JIRA 3.0.x the SOAP WSDL is located in .../rpc/soap/jiraservice- v1.wsdl
Is there a Hudson config file that would let me control this from the  command line?

Ah, so was that why this was failing? Or is this an independent issue?

This is the same issue.

Did Hudson leave any error reports for not finding WSDL? (If not, that alone is considered as a bug.)

There is the (404)/rpc/soap/jirasoapservice-v2 displayed in red in the system config 
when attempting to create this JIRA site.  And also a line from the catalina.<date>.log indicating
the reason for the build failure.
INFO: <project_name> #38 : result is set to FAILURE by hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:51)


I suspect supporting v.3.0.x shouldn't be that difficult, if I have a running instance of JIRA of that version. If you can file this as an issue, that would be great.

Will do - thanks again.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]