Issue not transitioning
Hi Fidel,
We get the following error when we transition a status:
2016-06-15 12:59:00,043 ajp-bio-127.0.0.1-8009-exec-25 WARN mosheeh 779x70744x1 50tm5g 192.168.119.157 /secure/CommentAssignIssue.jspa [plugins.workflowToolbox.shared.GeneralizedField] Can't provide value to field New watchers because getValue() method don't know how to get the value.
2016-06-15 12:59:00,043 ajp-bio-127.0.0.1-8009-exec-25 ERROR mosheeh 779x70744x1 50tm5g 192.168.119.157 /secure/CommentAssignIssue.jspa [atlassian.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 211 from workflow 24543 on issue 'MP-109'
java.lang.NullPointerException
at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.setValue(GeneralizedField.java:3632)
at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.setValue(GeneralizedField.java:3261)
at com.fca.jira.plugins.workflowToolbox.shared.WorkflowToolbox.writeRemoteIssue(WorkflowToolbox.java:492)
at com.fca.jira.plugins.workflowToolbox.WriteLinkedIssuesFunction.execute(WriteLinkedIssuesFunction.java:158)
at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050)
at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446)
at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:564)
at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowActionInsideTxn(OSWorkflowManager.java:998)
at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:950)
at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:596)
at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:572)
at com.atlassian.jira.web.action.issue.CommentAssignIssue.doExecute(CommentAssignIssue.java:193) <+1> (ActionSupport.java:165)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:88) <+7> (DefaultInterceptorChain.java:39) (NestedInterceptorChain.java:31) (ChainedInterceptor.java:16) (DefaultInterceptorChain.java:35) (GenericDispatcher.java:225) (GenericDispatcher.java:154) (JiraWebworkActionDispatcher.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) <+2> (ApplicationFilterChain.java:303) (ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) <+14> (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (ChainedFilterStepRunner.java:87) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (XContentTypeOptionsNoSniffFilter.java:22) (AbstractHttpFilter.java:31) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (HeaderSanitisingFilter.java:44) (ApplicationFilterChain.java:241) (ApplicationFilterChain.java:208) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:70)
This happens in the Assign to WO transition from New to In Discovery, but only after we transition back to New using a global transition and then try the Assign to WO again.
These are the post functions:
It seems like it doesn't like it when Ephemeral string 2 has no value (when it's not Mobile Site). If I add another default value, e.g. (.*)sysadmin then it works. Any ideas? The post functions work fine during the regular transition. It only happens after we transition the status back to New using a global transition and then try the transition again.
Using Version: 2.2.12_beta_1
Comments (4)
-
repo owner -
repo owner Hi Moshe,
Can you please try version 2.2.12_beta_14, and tell me whether it fixes the problem?
Thanks
-
reporter Hi Fidel,
Updated to version 2.2.12_beta_14 and problem solved
Many thanks
-
repo owner - changed status to resolved
Fixed in just released version 2.2.12.
- Log in to comment
Hi Moshe,
Thanks for the notification. It will be fixed in next version of the plugin. Meanwhile, you can use the following workaround:
Enter the following boolean expression in Conditional execution parameter on "Write field on linked issues or subtasks" post-function:
Note that %{00062} is field code for Ephemeral string 2.