500 error when trying to create a request from the Service Management Customer Portal


アトラシアン コミュニティをご利用ください。


プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。



In Jira Service Management, when clicking on some (or all) request types from the Customer portal, either of the 3 following behaviours occurs:

  • nothing happens when clicking on the request type
  • a 500 error is thrown in the UI when clicking on the request type
  • the request creation form opens, but when submitting the form, nothing happens 


Any Jira Service Management version.


  • The following 500 error might be thrown in the UI:

    Technical details
    Log's referral number: XXXXXXXXXX
    Referer URL: <Jira_Base_URL>/plugins/servlet/desk/portal/1/create/2
            at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89) [catalina.jar:8.5.60]
            at com.intenso.jira.plugins.servlet.filter.utils.FilterUtils.writeToResponse(FilterUtils.java:27) [?:?]
            at com.intenso.jira.plugins.servlet.filter.RequestSecurityFilter.proceedRequest(RequestSecurityFilter.java:84) [?:?]
            at com.intenso.jira.plugins.servlet.filter.RequestSecurityFilter.doFilter(RequestSecurityFilter.java:44) [?:?]
            at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:62) [atlassian-plugins-servlet-5.3.11.jar:?]
            at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) [atlassian-plugins-servlet-5.3.11.jar:?]
            at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.lambda$doFilter$0(DelegatingPluginFilter.java:57) [atlassian-plugins-servlet-5.3.11.jar:?]
            at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:56) [?:?]
            at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:62) [atlassian-plugins-servlet-5.3.11.jar:?]
            at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37) [atlassian-plugins-servlet-5.3.11.jar:?]
  • The following error is thrown in the Jira application logs

    2021-10-06 16:57:10,552+0200 http-nio-8093-exec-2 ERROR julien 1017x742x1 XXXXX 0:0:0:0:0:0:0:1 /servicedesk/customer/portal/1/create/2 [c.a.p.i.util.runner.AuthenticationContextUtilImpl] Unexpected error while running action as user 'someuser'
    	at com.atlassian.jira.issue.customfields.impl.UserCFType.validateFromParams(UserCFType.java:249)
    	at com.atlassian.jira.issue.fields.ImmutableCustomField.validateParams(ImmutableCustomField.java:705)
    	at com.atlassian.servicedesk.internal.feature.customer.request.data.validation.VisibleFieldValidator.performFieldValidationInJira(VisibleFieldValidator.java:112)
    	at com.atlassian.servicedesk.internal.feature.customer.request.data.validation.VisibleFieldValidator.performValidation(VisibleFieldValidator.java:98)
    	at com.atlassian.servicedesk.internal.feature.customer.request.data.validation.VisibleFieldValidator.lambda$validate$0(VisibleFieldValidator.java:70)
    	at io.atlassian.fugue.Option$None.fold(Option.java:393)
    	at io.atlassian.fugue.Option.orElse(Option.java:218)
    	at com.atlassian.servicedesk.internal.feature.customer.request.data.validation.VisibleFieldValidator.validate(VisibleFieldValidator.java:70)
    	at com.atlassian.servicedesk.internal.feature.customer.request.data.CustomerRequestDataManagerImpl.lambda$validateRequestTypeField$3(CustomerRequestDataManagerImpl.java:343)
  • the impacted request type is configured in the Service Management project (in Project Settings > Request Types) with a field which has an incorrect context configuration. For example:
    • the context does not include the issue type associated to the impacted request type
    • or the context does not include the Service Management project request type is configured in


There is a field in the Request Type configuration which has an incorrect context configuration. For the context to be properly configured and to ensure that the Request Type can be loaded in the customer portal, the context needs to include both:

  • the Service Management project this request is configured in
  • and the issue type associated to the impacted request type

In such case, the Request Type will fail to be loaded in the Customer Portal since the field needs to be available for both the project and the issue type via the context field configuration.

Please find below an example of incorrect context configuration for a field which is included in the Request Type:

  • the Request Type includes a field called "User Picker Field Test", and the Request type was created in the project SDBASIC and is linked to the issue type "IT Help"
  • the field "User Picker Field Test" is configured with a context which is missing both the project SDBASIC and the issue type "IT Help" (note that the issue will occur either project or the issue type is missing)


There are 2 possible workarounds to this issue:

  • either go to the context configuration of the problematic field (by looking for this field in the page ⚙ > Issues > Custom Fields), and make sure that the context includes both the Service Management project and the issue type linked to the request type
  • or go to the configuration of the impacted Request Type (via Project Settings > Request Types), click on Edit Fields, and remove the problematic field

 Note that it might not be easy to identify the problematic field. To identify which one is causing the issue, what you can do is:

  • Go to the configuration of the impacted Request Type (via Project Settings > Request Types)
  • Click on Edit Fields
  • Try to remove each field 1 by 1 (except for the summary field which is required)
  • After you remove each field, check if the error still happens
  • Once the error stops happening, then it means that the last field you removed was the problematic one

最終更新日: 2021 年 10 月 6 日


Powered by Confluence and Scroll Viewport.