Error when syncing SpiraTest v3.2 (014) with JIRA v5.1

Wednesday, July 25, 2012
Avatar
Is there any way to get around this error ?  Thanks in advance.

Event Type: Error

Event Source: SpiraTest Data Sync Service
Event Category: None
Event ID: 0
Date:  7/25/2012
Time:  9:32:15 AM
User:  N/A
Computer: SSI-UPDATE
Description:
General Error: com.atlassian.jira.rpc.exception.RemoteException: Error occurred during searching: 'You are not allowed to get a result set of more than 1000 results. Current search returns 3399 results'.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Inflectra.SpiraTest.PlugIns.Jira4DataSync.JiraSoapService.JiraSoapServiceService.getIssuesFromJqlSearch(String in0, String in1, Int32 in2)
   at Inflectra.SpiraTest.PlugIns.Jira4DataSync.DataSync.Execute(Nullable`1 lastSyncDate, DateTime serverDateTime
1 Replies
Wednesday, July 25, 2012
Avatar
re: danarossetti Wednesday, July 25, 2012

This is because JIRA is limiting the number of records back to 1000. Unfortunately the JIRA API does not allow you to specify the start page so we cannot query in batches (which we do with Bugzilla for example). So the solution for now is to enter a date limit in the Custom 05 field of the JIRA Data Sync configuration.

I.e. go to Administration > Data Synchronization and click on the JiraDataSync "Edit" hyperlink. Then in the Custom 05 box, enter:

2012-05

and that will limit the issues to those added since May 2012 or later.

Regards

Adam

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Wednesday, July 25, 2012
  • Last Reply: Wednesday, July 25, 2012
  • Replies: 1
  • Views: 3748