Adding a workflow transition results in "java.lang.IllegalArgumentException: Cannot find expected argument 'rosterId' in parameters"
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
This problem is related to a third party plugin, and therefore not supported by Atlassian. See Atlassian Supported Plugins for more information.
When following the guide Setting up automation through JIRA workflow to customize a Jira workflow to support the App Elevator - Smart Issue Assignment, Jira fails with the error java.lang.IllegalArgumentException: Cannot find expected argument
'rosterId'
in parameters
Environment
Jira Server or Jira Data Center
Elevator - Smart Issue Assignment app is installed
Diagnosis
The process outlined in the guide linked above does not complete
You find a similar error to below in the Jira Application Logs:
1 2 3 4 5 6 7 8 9 10 11
2022-08-16 06:48:47,489+0000 http-nio-8080-exec-53 ERROR [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=ddafad2e-c477-4fcc-b3b6-9cfdcc040444, interpretedMsg=, cause=java.lang.IllegalArgumentException: Cannot find expected argument 'rosterId' in parameters., stacktrace=java.lang.IllegalArgumentException: Cannot find expected argument 'rosterId' in parameters. at com.atlassian.jira.plugin.workflow.AbstractWorkflowPluginFactory.extractSingleParam(AbstractWorkflowPluginFactory.java:97) [jira-api-8.19.1.jar:?] at com.sapling.jira.workflow.EscalateIssuePostFunctionFactory.getDescriptorParams(EscalateIssuePostFunctionFactory.java:95) [?:?] at com.atlassian.jira.web.action.admin.workflow.AddWorkflowTransitionFunctionParams.addWorkflowDescriptor(AddWorkflowTransitionFunctionParams.java:74) [classes/:?] at com.atlassian.jira.web.action.admin.workflow.AbstractAddWorkflowTransitionDescriptorParams.doExecute(AbstractAddWorkflowTransitionDescriptorParams.java:72) [classes/:?] at webwork.action.ActionSupport.execute(ActionSupport.java:165) [webwork-1.4-atlassian-30.jar:?] at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63) [jira-api-8.19.1.jar:?] ... , referer=https://WHISPY_JIRA/secure/admin/workflows/AddWorkflowTransitionFunctionParams!default.jspa?workflowName=Obtain_Biscuits&workflowMode=live&descriptorTab=postfunctions&workflowTransition=1&pluginModuleKey=com.sapling.elevator%3Aescalate-issue-post-function&atl_token=<TOKEN>, servletErrorMessage=}
Cause
This problem is trigged from the third party app Elevator - Smart Issue Assignment
Solution
Try upgrading the App
If this does not work, contact the plugin vendor Sapling Valley for support
Was this helpful?