-
Type:
Bug
-
Resolution: Tracked Elsewhere
-
Priority:
Low
-
Component/s: Action - Issue Actions
-
Severity 3 - Minor
Issue Summary
When transitioning a work item into the same status as the create step on a trigger of work item created can introduce a race condition causing the transition to fail.
Steps to Reproduce
This is challenging to reproduce
- Build a workflow that has a transition into itself on the create status (so the status that the work item is initially added to can transition into itself).
- Create an Automation rule that will trigger on work item created and add a step that will transition the work item into the same status (loop transition).
Expected Results
The Automation rule should validate that the work item is fully created and committed before attempting to perform the transition call into the transition API for the work item.
Actual Results
There exists a condition in which it seems that the transition API doesn't have all the details for the work item and fails with an error message stating:
"You must specify a Summary for the work item to be created."
Workaround
Add a delay action before the transition. Delaying the transition action by a second or two will allow for the transition to take place as expected and the rule to succeed.