Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2018-01-24 17:37:54 -0500
committerdonald.g.dunne2018-01-24 17:37:54 -0500
commit81039424480aed87af523e20819a44bfab82501f (patch)
treebc36814fc6b04a265f4bf064030a74b1a179aae5
parent9e8e0c2a00a4ec60652273a80745b4fad6109ffb (diff)
downloadorg.eclipse.osee-81039424480aed87af523e20819a44bfab82501f.tar.gz
org.eclipse.osee-81039424480aed87af523e20819a44bfab82501f.tar.xz
org.eclipse.osee-81039424480aed87af523e20819a44bfab82501f.zip
feature[ats_TW6661]: Allow anyone to transition from completed or cancelled states
-rw-r--r--plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/workflow/transition/TransitionManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/workflow/transition/TransitionManager.java b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/workflow/transition/TransitionManager.java
index 9fee539f27..af5ce99ced 100644
--- a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/workflow/transition/TransitionManager.java
+++ b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/workflow/transition/TransitionManager.java
@@ -170,7 +170,7 @@ public class TransitionManager implements IAtsTransitionManager, IExecuteListene
continue;
}
// Else, only allow transition if...
- else if (!workItem.isTask() && !stateIsEditable && !currentlyUnAssigned && !overrideAssigneeCheck) {
+ else if (workItem.isInWork() && !workItem.isTask() && !stateIsEditable && !currentlyUnAssigned && !overrideAssigneeCheck) {
results.addResult(workItem, TransitionResult.MUST_BE_ASSIGNED);
continue;
}

Back to the top