Error creating issues in linked JIRA for a code defect (Dragons exercise).

Jason Birch
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2012

As part of Dragons stage 7 (https://confluence.atlassian.com/display/ATLAS/Dragons+Stage+7+-+Get+JIRA+and+Crucible+Talking) A code review is created in Crucible (Step 2). Step 3 then creates a JIRA issue from that review.

In Step 3 - 6, instead of creating the issue in JIRA as expected, an error occurs instead. The error reads:

An error has occurred

Error

Error creating subtask in JIRA: Unknown error creating subtask for issue DRA-1: null

You are running release CR2.7.10 FE2.7.10 (20120119115142 2012-01-19)...

clicking reload on that error panel has no effect on the problem. Restarting FECru also does not.

There is an accompanying stacktrace in fisheye-debug-*.log - this stacktrace is the only logging that occurs when trying to create the issue (Apart from the slurping):

2012-05-02 16:54:36,517 WARN btpool0-2 fisheye.app LinkCommentIssueAjaxAction-execute - Error creating subtask in JIRA: Unknown error creating subtask for issue DRA-1: null

com.atlassian.fisheye.jira.RemoteJiraException: Unknown error creating subtask for issue DRA-1: null

at com.atlassian.fisheye.jira.JiraIssueImpl.createSubtask(JiraIssueImpl.java:232)

at com.atlassian.crucible.actions.jira.LinkCommentIssueAjaxAction.createSubtaskForComment(LinkCommentIssueAjaxAction.java:117)

at com.atlassian.crucible.actions.jira.LinkCommentIssueAjaxAction.execute(LinkCommentIssueAjaxAction.java:73)

[truncated]

at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)

at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)

There is nothing of note in JIRA's catalina.*.log, but access_log.* contains (for each failed issue creation):

xxx.xxx.xxx.139 1021x71x1 - 02/May/2012:17:01:41 +1000 GET /rest/usermanagement/1/user/group/nested?username=charlie&start-index=0&max-results=-1 HTTP/1.1 200 917 4 - Jakarta Commons-HttpClient/3.1 mbgz2t

xxx.xxx.xxx.139 1021x72x1 charlie 02/May/2012:17:01:46 +1000 GET /plugins/servlet/applinks/whoami HTTP/1.1 200 7 3 - Jakarta Commons-HttpClient/3.1 1y7cdpq

xxx.xxx.xxx.139 1021x73x1 charlie 02/May/2012:17:01:46 +1000 POST /secure/CreateSubTaskIssueDetails.jspa HTTP/1.1 200 43992 78 - Jakarta Commons-HttpClient/3.1 z0yfj3

1 answer

1 accepted

0 votes
Answer accepted
LeonardoL
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2012

Hi Jason,

Please take a look into KB article below. It contains some valid workarounds related to described issue.

https://confluence.atlassian.com/display/FISHKB/Error+creating+subtask+in+JIRA+-+Unknown+error+creating+subtask+for+issue+ABC-1234+-+null

I hope it helps.

Cheers,

Leonardo.

Suggest an answer

Log in or Sign up to answer