[ 
http://jira.codehaus.org/browse/MCHANGES-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237532#action_237532
 ] 

Frederic commented on MCHANGES-205:
-----------------------------------

I've done some extra tests, jira seems to be doing several redirects: (these 
are the redirects captured when I browse to the URL maven requests):
GET        
http://jira.mycompany.be/secure/IssueNavigator.jspa?view=rss&pid=10141&statusIds=6&resolutionIds=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
 HTTP/1.1
Redirect to Location:                              
IssueNavigator.jspa?view=rss&pid=10141&statusIds=6&resolution=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
GET        
http://jira.mycompany.be/secure/IssueNavigator.jspa?view=rss&pid=10141&statusIds=6&resolution=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
 HTTP/1.1
Redirect to Location:                              
IssueNavigator.jspa?view=rss&pid=10141&status=6&resolution=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
GET        
http://jira.mycompany.be/secure/IssueNavigator.jspa?view=rss&pid=10141&status=6&resolution=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
 HTTP/1.1
Redirect to Location:                             
../sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?pid=10141&status=6&resolution=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
http://jira.mycompany.be/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?pid=10141&status=6&resolution=1&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
HTTP/1.1 200 OK

I'm not sure if Maven will handle all these redirects. I'll try to put a proxy 
logger between Maven and Jira (or has maven a debug option for all network 
calls)? I guess Maven handles the redirects not corretly and hence result in 
the http 400 error code.

> jira 4 support
> --------------
>
>                 Key: MCHANGES-205
>                 URL: http://jira.codehaus.org/browse/MCHANGES-205
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira-report
>    Affects Versions: 2.3
>         Environment: Maven 2.2.1, Jira 4.1.2
>            Reporter: Frederic
>            Priority: Critical
>
> Hello,
> we've just upgraded to the latest Jira version 4.1.2, and it seems as if the 
> maven-changes-plugin can't handle Jira 4 (we had no problems before when 
> using Jira 3.12.x). Now however, I receive the following lines in the log 
> file. Note that the pid "10000" is not correct for the active project.
> [DEBUG] Generating 
> C:\javadev\prj\project\subproject\target\site\surefire-report.html
> [INFO] Generate "Maven Surefire Report" report.
> [DEBUG] Generating 
> C:\javadev\prj\project\subproject\target\site\jira-report.html
> [INFO] Generate "JIRA Report" report.
> [DEBUG] JIRA lives at: http://jira.mycompany.be
> [DEBUG] The JIRA URL http://jira.mycompany.be/browse/PROJECTKEY doesn't 
> include a pid, trying to extract it from JIRA.
> [DEBUG] Successfully reached JIRA.
> [DEBUG] Found the pid 10000 at http://jira.mycompany.be/browse/PROJECTKEY
> [DEBUG] download jira issues from url 
> http://jira.mycompany.be/secure/IssueNavigator.jspa?view=rss&pid=10000&statusIds=1&statusIds=3&statusIds=4&statusIds=5&resolutionIds=1&component=10106&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
> [INFO] Downloading from JIRA at: 
> http://jira.mycompany.be/secure/IssueNavigator.jspa?view=rss&pid=10000&statusIds=1&statusIds=3&statusIds=4&statusIds=5&resolutionIds=1&component=10106&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=100&reset=true&decorator=none
> [WARNING] Downloading from JIRA failed. Received: [400]
> So I seem to receive an http error where the server 400 indicating that the 
> request is not valid.
> I assume Jira 4 URL's are different from previous Jira versions.
> Can you add Jira 4 support? 
> I'd be glad to provide extra information if needed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to