Details
-
Bug
-
Resolution: Timed out
-
Low
-
1
-
Minor
-
0
-
Description
Issue Summary
Forms being added to issue twice by ProForma automation
Steps to Reproduce
- Navigate to Forms in the project settings
- Create a form with an automation rule that has:
- "when the status changes to"
- "add this form to the issue"
- "if this form is not already attached"
- Navigate to an issue in the same project
- Transition the issue to a status that triggers the automation rule
- You should now see one form on the issue
- Navigate to Forms in the project settings
- Copy the form to the same project
- Delete the form you created earlier, leaving only the copied form
- Navigate back to the issue you used earlier
- Transition the issue to a status that triggers the automation rule
- You should now see the same form appear twice on the issue
Expected Results
Only one form should appear on the issue
Actual Results
The same form appears twice on the issue
Workaround
This occurs because ProForma uses the ID of the form to determine whether it is already on the issue for the "if this form is not already attached" condition. When you copy the form it is allocated a new ID, so ProForma treats it as different even though it has the same name and looks exactly the same to you.
To avoid this occurring ensure that you do not copy forms with this kind of automation rule; instead make changes to the existing form.