Sychronization issue

Thursday, February 10, 2011
Avatar

Dear Sir:

we're using SpiraTeam (2.0-->3.0) for almost one year, and here are two more questions that I have asked your help via email before:

1. Both JIRA (version:4.1) and Spira Test could be issue tracking system, but while I change an issue status from opened to assigned in SpiraTeam, it could not be synchronized to JIRA. That means I can't get the latest status in JIRA, but there is no problem by opposite direction

2. I have created an incident in SpiraTeam, but it can't be synchronized to JIRA although the synchronization result is "success", but the issues created in JIRA and be imported into SpiraTeam, is there anything wrong?

5 Replies
Thursday, February 10, 2011
Avatar
re: josephsbchen Thursday, February 10, 2011

1) New incidents and issues logged in either system will be initially replicated to the other system so that both systems have a copy of the issue/incident linked together. However from that point onwards, the synchronization works solely from JIRA > SpiraTest. This is because if updates were synchronized in both systems it could result in contradictory changes being made that would collide. Therefore if you are using JIRA as your principal bug tracking system, changes to the issue need to be made in JIRA.

2) If you click Force Resync do the new items in SpiraTest get synched over to JIRA. If not, can you look in the Windows Event Log and reply back with the error message that is logged. That way we can determine why the item is not being exported from SpiraTest > JIRA.

Monday, September 12, 2011
Avatar
re: josephsbchen Thursday, February 10, 2011
I have the same issue.  Jira --> SpriaTest works, but SpiraTest -> Jira does not.
Monday, September 12, 2011
Avatar
re: bcohen Monday, September 12, 2011
Brian Cohen
I have the same issue.  Jira --> SpriaTest works, but SpiraTest -> Jira does not.

 Here is the Event Viewer log:

Log Name:      Application
Source:        SpiraTest Data Sync Service
Date:          9/12/2011 3:48:53 PM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      testmanager.toplayer.com
Description:
Error Adding SpiraTest Incident to JIRA: com.atlassian.jira.rpc.exception.RemoteValidationException: {customfield_10408=How Found is required.} : []
   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.createIssue(String in0, RemoteIssue in1)
   at Inflectra.SpiraTest.PlugIns.Jira4DataSync.DataSync.Execute(Nullable`1 lastSyncDate, DateTime serverDateTime)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SpiraTest Data Sync Service" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-09-12T19:48:53.000Z" />
    <EventRecordID>4251</EventRecordID>
    <Channel>Application</Channel>
    <Computer>testmanager.toplayer.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Error Adding SpiraTest Incident to JIRA: com.atlassian.jira.rpc.exception.RemoteValidationException: {customfield_10408=How Found is required.} : []
   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.createIssue(String in0, RemoteIssue in1)
   at Inflectra.SpiraTest.PlugIns.Jira4DataSync.DataSync.Execute(Nullable`1 lastSyncDate, DateTime serverDateTime)</Data>
  </EventData>
</Event>

Monday, September 12, 2011
Avatar
re: bcohen Monday, September 12, 2011
Actually, looks like our developer who setup Jira forces a customer field of "How Found" to be filled, just noticed that.  Let try that....
Thursday, September 15, 2011
Avatar
re: bcohen Monday, September 12, 2011

Did that fix the issue for you? You can use the SpiraTest incident workflow to force an equivalent custom property to be mandatory in SpiraTest.

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: Thursday, February 10, 2011
  • Last Reply: Thursday, September 15, 2011
  • Replies: 5
  • Views: 4330