Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
3.1.0, 3.1.9
-
12
-
Severity 2 - Major
-
0
-
Description
If I execute:
curl -u admin:admin -X POST -d @submit.json http://localhost:2990/jira/rest/api/2/project -v -H "Content-Type: application/json"
where submit.json contains:
{ "key": "EX2", "name": "Example2", "projectTypeKey": "service_desk", "description": "Example Project description", "lead": "admin", "url": "http://atlassian.com", "assigneeType": "PROJECT_LEAD" }
The project is created however when I go to the project in the ui, I get a 500 in the browser and the following stack trace:
java.lang.RuntimeException: java.lang.RuntimeException: This is a Service Desk project, but we were unable to load the Service Desk project context. It may be possible to fix this error by converting this project to a different project type, and then converting it back to Service Desk. at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:27) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112) ... 3 filtered at com.atlassian.fastdev.AutoReloadFilter.doFilter(AutoReloadFilter.java:63) ... 55 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
This happens if I use rest or if I use the java api project creation.
Attachments
Issue Links
- is cloned by
-
JSMDC-2653 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- relates to
-
ACJIRA-1037 Loading...
- was cloned as
-
TESLA-576 Loading...