Details
-
Type:
Bug
-
Status: Done
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.0.8
-
Labels:None
-
Sprint:PC Sprint 18
-
Critical Points:0
Description
Affected Versions:
- Jira 7.12.3
- Project Configurator: 3.0.0
- Jira Workflow Toolbox: 2.5.4.
Description
When importing a workflow which uses the Assign to Project Role post function provided by the Jira Workflows Toolbox plugin which has the XML configuration Similar to below then the configuration for the user that the function is not execute as, is not mainatined as it sets the user to the value of $fixedActingUserFullName rather than maintiaing the value of Current User.
<function type="class"> <arg name="parametrizationVersion">1</arg> <arg name="actingUser">00020</arg> <arg name="selectedProjectRole">Problem Manager</arg> <arg name="full.module.key">com.fca.jira.plugins.workflowToolbox.workflow-toolboxassign-to-project-role</arg> <arg name="conditionOnPostfunction"></arg> <arg name="jqlQuery"></arg> <arg name="fixedActingUser"></arg> <arg name="typeOfAssignment">lastAssigned</arg> <arg name="selectedGroup"></arg> <arg name="class.name">com.fca.jira.plugins.workflowToolbox.AssignToProjectRole</arg> </function>
Expected Behaviour
The configuration of the post function should be configured so that the Run as: user should be kept as the Current User and not set as $fixedActingUserFullName.
Workaround
The current workaround is to modify all Assign to Project Role functions in the target instance in order to update the configuration for the Post Function to set the user that the post function is executed as back to the Current User.