-
Bug
-
Resolution: Fixed
-
High
-
None
-
None
NOTE: This bug report is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding bug report.
Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition. This might be related to having username that has a combination of uppercase and lowercase letter as well.
Steps to Reproduce
- Access Customer Portal with a Username that has combination of uppercase and lowercase letters.
- Tried to create a request with Notify Hipchat post function in the create issue transition
- Getting an error
- JIRA logs is showing
2015-02-16 12:32:06,275 TP-Processor25 ERROR PJoseph 752x192301x1 p764so 211.25.19.194,165.254.226.162 /servicedesk/customer/portal/2/create/54 [feature.customer.request.ServiceDeskWorkflowInitializationManager] Error initializing workflow java.lang.NullPointerException at com.atlassian.labs.jira.workflow.HipChatPostFunction.execute(HipChatPostFunction.java:75) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:60) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:58) at scalaz.$bslash$div$class.map(Either.scala:94) at scalaz.$bslash$div$minus.map(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:58) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:56) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:56) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:54) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflow(ServiceDeskWorkflowInitializationManager.scala:54) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflowForIssue(ServiceDeskWorkflowInitializationManager.scala:35) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager.com$atlassian$servicedesk$internal$feature$customer$request$CustomerRequestManager$$saveIssueIntoJIRA(CustomerRequestManager.scala:128) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:82) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:73) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:73) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:72) at scalaz.$bslash$div$class.flatMap(Either.scala:117)
Possible Workaround
Check if the username has combination of uppercase and lowercase letters. Try to replace it with all lowercase and check how it goes.
- is related to
-
JSDSERVER-1600 Hipchat Notification is showing Created by null if username has combination of uppercase and lowercase letters.
-
- Closed
-
- relates to
-
JSDCLOUD-1525 Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition
-
- Closed
-
-
JSDSERVER-1520 Customers do not receive issue created notifications if they have had their username changed
-
- Closed
-
Form Name |
---|
[JSDSERVER-1525] Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition
Workflow | Original: JSD Bug Workflow v5 - TEMP [ 2304135 ] | New: JAC Bug Workflow v3 [ 3125208 ] |
Status | Original: Done [ 10044 ] | New: Closed [ 6 ] |
Workflow | Original: JSD Bug Workflow v5 [ 2058100 ] | New: JSD Bug Workflow v5 - TEMP [ 2304135 ] |
Workflow | Original: JSD Bug Workflow v5 - TEMP [ 2055624 ] | New: JSD Bug Workflow v5 [ 2058100 ] |
Workflow | Original: JSD Bug Workflow v5 [ 1956167 ] | New: JSD Bug Workflow v5 - TEMP [ 2055624 ] |
Workflow | Original: JSD Bug Workflow v4 [ 1614979 ] | New: JSD Bug Workflow v5 [ 1956167 ] |
Description |
Original:
Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition. This might be related to having username that has a combination of uppercase and lowercase letter as well.
*Steps to Reproduce* # Access Customer Portal with a Username that has combination of uppercase and lowercase letters. # Tried to create a request with *Notify Hipchat* post function in the create issue transition # Getting an error !error.PNG|thumbnail! # JIRA logs is showing {noformat} 2015-02-16 12:32:06,275 TP-Processor25 ERROR PJoseph 752x192301x1 p764so 211.25.19.194,165.254.226.162 /servicedesk/customer/portal/2/create/54 [feature.customer.request.ServiceDeskWorkflowInitializationManager] Error initializing workflow java.lang.NullPointerException at com.atlassian.labs.jira.workflow.HipChatPostFunction.execute(HipChatPostFunction.java:75) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:60) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:58) at scalaz.$bslash$div$class.map(Either.scala:94) at scalaz.$bslash$div$minus.map(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:58) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:56) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:56) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:54) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflow(ServiceDeskWorkflowInitializationManager.scala:54) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflowForIssue(ServiceDeskWorkflowInitializationManager.scala:35) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager.com$atlassian$servicedesk$internal$feature$customer$request$CustomerRequestManager$$saveIssueIntoJIRA(CustomerRequestManager.scala:128) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:82) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:73) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:73) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:72) at scalaz.$bslash$div$class.flatMap(Either.scala:117) {noformat} *Possible Workaround* Check if the username has combination of uppercase and lowercase letters. Try to replace it with all lowercase and check how it goes. |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This bug report is for *JIRA Service Desk Server*. Using *JIRA Service Desk Cloud*? [See the corresponding bug report|http://jira.atlassian.com/browse/JSDCLOUD-1525]. {panel} Error when creating Service Desk request with Notify Hipchat post function in Create Issue transition. This might be related to having username that has a combination of uppercase and lowercase letter as well. *Steps to Reproduce* # Access Customer Portal with a Username that has combination of uppercase and lowercase letters. # Tried to create a request with *Notify Hipchat* post function in the create issue transition # Getting an error !error.PNG|thumbnail! # JIRA logs is showing {noformat} 2015-02-16 12:32:06,275 TP-Processor25 ERROR PJoseph 752x192301x1 p764so 211.25.19.194,165.254.226.162 /servicedesk/customer/portal/2/create/54 [feature.customer.request.ServiceDeskWorkflowInitializationManager] Error initializing workflow java.lang.NullPointerException at com.atlassian.labs.jira.workflow.HipChatPostFunction.execute(HipChatPostFunction.java:75) at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050) at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446) at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:60) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1$$anonfun$apply$2.apply(ServiceDeskWorkflowInitializationManager.scala:58) at scalaz.$bslash$div$class.map(Either.scala:94) at scalaz.$bslash$div$minus.map(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:58) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowInitializationManager.scala:56) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:56) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowInitializationManager.scala:54) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflow(ServiceDeskWorkflowInitializationManager.scala:54) at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowInitializationManager.initializeWorkflowForIssue(ServiceDeskWorkflowInitializationManager.scala:35) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager.com$atlassian$servicedesk$internal$feature$customer$request$CustomerRequestManager$$saveIssueIntoJIRA(CustomerRequestManager.scala:128) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:82) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:73) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:73) at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$2$$anonfun$apply$1.apply(CustomerRequestManager.scala:72) at scalaz.$bslash$div$class.flatMap(Either.scala:117) {noformat} *Possible Workaround* Check if the username has combination of uppercase and lowercase letters. Try to replace it with all lowercase and check how it goes. |
Link |
New:
This issue relates to |
Workflow | Original: JSD Bug Workflow v2 [ 1602092 ] | New: JSD Bug Workflow v4 [ 1614979 ] |
Component/s | New: API and Integrations [ 35993 ] | |
Component/s | Original: JIRA Integration [ 35890 ] |
Workflow | Original: JSD Bug Workflow [ 1399275 ] | New: JSD Bug Workflow v2 [ 1602092 ] |