Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
JIRA Integration Failure
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Joel  
View profile  
 More options Jul 25 2012, 7:23 am
From: Joel <jturner...@gmail.com>
Date: Wed, 25 Jul 2012 04:23:14 -0700 (PDT)
Local: Wed, Jul 25 2012 7:23 am
Subject: JIRA Integration Failure

I've been successfully using the JIRA integration to move issues from JIRA
to VersionOne.  I recently tried to add a new JIRA filter from a different
project (iI changed the configuration file to match), and I received the
following error when trying to import the issues:

[INFO] 23-07-2012 10:31:52 Creating VersionOne Story for item from JIRA
system with identifier WFSAND-5

[ERROR] 23-07-2012 10:31:52 Error during saving workitems: Value required:
Story.Description

[ERROR] 23-07-2012 10:31:52 Error trying to create Workitem in VersionOne
for [/WFSAND-5] Creation test in JIRA:

[ERROR] 23-07-2012 10:31:52 System.NullReferenceException: Object reference
not set to an instance of an object. at
VersionOne.ServiceHost.WorkitemServices.WorkitemWriterHostedService.Process Workitem(Object
pubobj)

I get this error for all 8 issues in the filter.

Using SoapUI I called the getIssue web service and I can't find any
difference in the XML returned for the issue that throws the error versus
the issue that imports properly.  Does anyone have some insight as to what
web services the integration is calling so I can track down why this error
is occurring?

Thanks in advance,

--Joel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ibuchanan  
View profile   Translate to Translated (View Original)
 More options Jul 25 2012, 9:19 am
From: ibuchanan <ian.bucha...@versionone.com>
Date: Wed, 25 Jul 2012 06:19:39 -0700 (PDT)
Local: Wed, Jul 25 2012 9:19 am
Subject: Re: JIRA Integration Failure

Joel,

Your log snippet indicates that VersionOne is having a problem creating
the Story because Description has been marked as a required field.
Generally, the out-of-the-box integrations don't work so well with required
fields because the business rules must be consistent across 2 systems with
different mechanisms for enforcing business rules. My recommendation is to
relax that restriction.

That said, it's not the only option. I would start by checking to see if
the JIRA issues in your new filter have descriptions. If they do, there
could be a problem in parsing the descriptions for those issues. Does the
integration user have adequate access to read them? From the Soap UI trace,
do you see anything about the descriptions that might cause a problem
(size, encoding, special characters)?

Ian Buchanan
Product Manager for Platform and Integrations


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joel  
View profile  
 More options Jul 25 2012, 5:30 pm
From: Joel <jturner...@gmail.com>
Date: Wed, 25 Jul 2012 14:30:28 -0700 (PDT)
Local: Wed, Jul 25 2012 5:30 pm
Subject: Re: JIRA Integration Failure

Ian,

I simplified the filter and am pulling up two test cases that have basic
information in them.  When I restarted the integration I received a new
error message:

[INFO] 25-07-2012 16:23:28 Creating VersionOne Story for item from JIRA
system with identifier WFSAND-7
[ERROR] 25-07-2012 16:23:29 Error during saving workitems:
Violation'Required'AttributeDefinition'Super'Story: NULL
[ERROR] 25-07-2012 16:23:29 Error trying to create Workitem in VersionOne
for [/WFSAND-7] Test Story 1 in JIRA:
[ERROR] 25-07-2012 16:23:29 System.NullReferenceException: Object reference
not set to an instance of an object.
   at
VersionOne.ServiceHost.WorkitemServices.WorkitemWriterHostedService.Process Workitem(Object
pubobj)

I'm assuming that this is on the VersionOne side where there is a NULL
value.  Is there any documentation that shows the mappings between JIRA and
VersionOne that the integration is expecting to see?  Can we see this in
the source code that's available on the web site?

Thanks,

--Joel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ibuchanan  
View profile  
 More options Jul 25 2012, 6:43 pm
From: ibuchanan <ian.bucha...@versionone.com>
Date: Wed, 25 Jul 2012 15:43:55 -0700 (PDT)
Local: Wed, Jul 25 2012 6:43 pm
Subject: Re: JIRA Integration Failure

Joel,

The error is similar to what you were seeing before. This time, instead of
the integration failing on a blank description, it's failing because the
"Super" relationship has been made required (it's called "Epic" in the user
interface). To be clear, neither Description nor Super/Epic are required by
default so someone has made them required fields, either globally or for a
project workspace that affects your target project. Although you might
work-around the required Description field, the out-of-the-box JIRA
integration knows nothing of Epics so it will never be able to satisfy the
required Super/Epic relationship. Again, I don't recommend using required
fields with any of our integrations.

In re-reading this thread, I wonder if I overlooked something in your
original post. You said the integration was working and you were creating a
new filter for a new JIRA project. That might be a source of trouble. If
you just wanted to extend the integration to a new JIRA project, then you
shouldn't use a new filter. Just extend the other filter to include items
from multiple projects. If the JIRA project name matches a project name in
VersionOne, then you don't need to do anything -- the integration will
match up the names and put the Defects into the right project. Otherwise,
use the ServiceHostConfigTool.exe to add a project mapping for each JIRA
project to the right VersionOne project. In other words, you only need a
new JIRA filter if you want some JIRA issues mapped to Stories and others
mapped to Defects.

To answer your final questions more directly, the only fields that are
mapped are Name, Description, and Parent (Project). The Name and
Description come directly from JIRA. The Project is either a configured
mapping or "guessed" based on name. You are welcome to read the source
code, or even use it as a starting point for more sophisticated
integration. From what I can tell, your problem isn't in the mapping of
these fields from JIRA but in the rules applied to them in the VersionOne
configuration. The place to look is in VersionOne Administration -> Display
Fields -> Story.

Ian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joel  
View profile  
 More options Jul 26 2012, 8:55 am
From: Joel <jturner...@gmail.com>
Date: Thu, 26 Jul 2012 05:55:45 -0700 (PDT)
Local: Thurs, Jul 26 2012 8:55 am
Subject: Re: JIRA Integration Failure

Ian,

Thanks to your help, I've resolved this issue.  For some reason the
description and story fields became required in VersionOne.  What was
interesting about this is that when I first looked at Display Fields at a
global level they were unchecked. When I turned on Project Workspace
(previously disabled) and went to the individual project, I saw that both
those fields were checked.  Once I turned them off the import worked fine.

--Joel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »