This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If I put any text in the Query field and perform a search for a Jira I get an exception. Searches using other criteria (product/task/user, etc) but without query text succeed. The query giving the exception works in a browser search. INFO [org.netbeans.modules.jira.Jira] org.eclipse.core.runtime.CoreException: Server redirected to unexpected location: https://jira1.intervoice.int/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?decorator=none&reset=true&tempMax=1000&&summary=SDL&description=SDL at org.netbeans.modules.mylyn.util.commands.SynchronizeQueryCommand.execute(SynchronizeQueryCommand.java:177) at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:123) at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:102) at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:98) at org.netbeans.modules.jira.query.JiraQuery$1.run(JiraQuery.java:228) at org.netbeans.modules.jira.query.JiraQuery.executeQuery(JiraQuery.java:484) at org.netbeans.modules.jira.query.JiraQuery.refreshIntern(JiraQuery.java:185) at org.netbeans.modules.jira.query.JiraQuery.refresh(JiraQuery.java:287) at org.netbeans.modules.jira.query.QueryController$QueryTask.executeQuery(QueryController.java:1321) at org.netbeans.modules.jira.query.QueryController$QueryTask.run(QueryController.java:1354) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042) Caused by: com.atlassian.connector.eclipse.internal.jira.core.service.JiraRedirectException: Server redirected to unexpected location: https://jira1.intervoice.int/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?decorator=none&reset=true&tempMax=1000&&summary=SDL&description=SDL at com.atlassian.connector.eclipse.internal.jira.core.service.web.rss.JiraRssSessionCallback.run(JiraRssSessionCallback.java:78) at com.atlassian.connector.eclipse.internal.jira.core.service.web.JiraWebSession.doInSession(JiraWebSession.java:130) at com.atlassian.connector.eclipse.internal.jira.core.service.web.rss.JiraRssClient.doInSession(JiraRssClient.java:45) at com.atlassian.connector.eclipse.internal.jira.core.service.web.rss.JiraRssClient.findIssues(JiraRssClient.java:66) at com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient.findIssues(JiraClient.java:265) at com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient.search(JiraClient.java:520) at com.atlassian.connector.eclipse.internal.jira.core.JiraRepositoryConnector.performQuery(JiraRepositoryConnector.java:139) at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQuery(SynchronizeQueriesJob.java:311) at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQueries(SynchronizeQueriesJob.java:268) at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.run(SynchronizeQueriesJob.java:201) at org.netbeans.modules.mylyn.util.commands.SynchronizeQueryCommand.execute(SynchronizeQueryCommand.java:171) ... 11 more
> org.eclipse.core.runtime.CoreException: Server redirected to unexpected location the error is that the server redirected to an unexpected location. Unfortunately, there is nothing we could do about it.
Yes the exception suggests a server configuration problem, however I am confident that in this case it is not a problem with the server configuration for the following reasons: 1) The query given in the exception works and returns valid XML when run from a browser on the same machine. 2) I can run successful queries on the Jira server if other criteria are chosen (eg product/task/user). However as soon as I put anything in the query text field and try a search I get an exception (this occurs even if none of the tick boxes below the query are selected). 3) I have now tried another Jira server - the Apache issue tracker (https://issues.apache.org/jira) from a different computer on a different network. This gives exactly the same results that as I have been seeing. Select a project only & search - success. Put something in the query & untick Summary & Description - exception: INFO [org.netbeans.modules.jira.Jira] org.eclipse.core.runtime.CoreException: Server redirected to unexpected location: https://issues.apache.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?decorator=none&reset=true&tempMax=1000&&pid=10730& Perhaps the library used does not like the "&&" in the requests?
*** Bug 237668 has been marked as a duplicate of this bug. ***
https://issues.apache.org/jira is version 6.1, which isn't currently supported by netbeans, we have to upgrade the connector library first. see also issue #236829
Created attachment 141605 [details] messages.log First I tried a search and got the redirect error Then I tried a garbage issue ID "GARBAGEID" and got that error
Our version of JIRA: Atlassian JIRA (v5.2.6#849-sha1:560c048)
> Our version of JIRA: > Atlassian JIRA (v5.2.6#849-sha1:560c048) like mentioned in issue #234609 - versions above 5.0 are not supported yet
since issue #236829 was fixed the netbeans support should work also with jira servers 5.0+ please get the last ersion of the jira module (1.48) and give it a try ...
(In reply to Tomas Stupka from comment #8) > since issue #236829 was fixed the netbeans support should work also with > jira servers 5.0+ > please get the last ersion of the jira module (1.48) and give it a try ... The problems I was having are now corrected in today's development build. Thank you. I look forward to seeing it in a production release.
Note tha tthe plug-in description still says: "Support for JIRA task repository from version 3.13 up to version 5.0". It now appears to work properly with Version 5.2.