JIRA connector Error during saving workitems: Bad Request: Null

71 views
Skip to first unread message

Max De Marzi Jr.

unread,
Oct 8, 2014, 12:43:14 AM10/8/14
to version...@googlegroups.com
Hello,

Just started trying out the JIRA connector and I am running into an issue...

[INFO] 07-10-2014 23:35:17 Starting processing...
[INFO] 07-10-2014 23:35:17 Getting issues from JIRA.
[INFO] 07-10-2014 23:35:17 Found 2 defects in JIRA to create in VersionOne.
[INFO] 07-10-2014 23:35:17 Checking JIRA issues for duplicates.
[INFO] 07-10-2014 23:35:17 Creating VersionOne Defect for item from Quality Assurance system with identifier DP-21
[ERROR] 07-10-2014 23:35:17 Error during saving workitems: Bad Request: NULL
[ERROR] 07-10-2014 23:35:17 Error trying to create Workitem in VersionOne for [/DP-21] Defect Test for V1 in Quality Assurance:
[ERROR] 07-10-2014 23:35:17 System.NullReferenceException: Object reference not set to an instance of an object.
   at VersionOne.ServiceHost.WorkitemServices.WorkitemWriterHostedService.ProcessWorkitem(Object pubobj)
[INFO] 07-10-2014 23:35:17 Creating VersionOne Defect for item from Quality Assurance system with identifier DP-20
[ERROR] 07-10-2014 23:35:18 Error during saving workitems: Bad Request: NULL
[ERROR] 07-10-2014 23:35:18 Error trying to create Workitem in VersionOne for [/DP-20] Test Defect for Version One in Quality Assurance:
[ERROR] 07-10-2014 23:35:18 System.NullReferenceException: Object reference not set to an instance of an object.
   at VersionOne.ServiceHost.WorkitemServices.WorkitemWriterHostedService.ProcessWorkitem(Object pubobj)
[INFO] 07-10-2014 23:35:18 Checking V1 workitems closed since  was closed at 1/1/0001 12:00:00 AM.

Anyone ever run into this before?  Smells like I'm missing some kind of required field maybe? Hard for me to tell given that error message.

I'd appreciate any help.

Thanks,
Max

Acey Bunch

unread,
Oct 8, 2014, 12:54:09 PM10/8/14
to version...@googlegroups.com
The integration does require a "JIRA" value to be added to the Source list type in V1. Have you done that?

Here's the current documentation for the integration: http://versionone.github.io/VersionOne.Integration.JIRA/

Max De Marzi Jr.

unread,
Oct 11, 2014, 7:24:11 PM10/11/14
to version...@googlegroups.com
No luck.  Now I see "Error trying to create Workitem in VersionOne for [/DP-21] Defect Test for V1 in JIRA" but same error message otherwise.

How can I debug this?  Any logs? What could it be?

Max De Marzi Jr.

unread,
Oct 11, 2014, 11:33:35 PM10/11/14
to version...@googlegroups.com
Ok, finally figure out it was a permissions issue.  

I gave the service account on the V1 side system admin rights and everything worked.


On Wednesday, October 8, 2014 11:54:09 AM UTC-5, Acey Bunch wrote:

Acey Bunch

unread,
Oct 13, 2014, 7:08:56 AM10/13/14
to version...@googlegroups.com
Great! Glad you figured that out.

Note that in general, "Project Admin" rights should be sufficient.
Reply all
Reply to author
Forward
0 new messages