...
In the following workflow, you may want to see how much work has had to be re-done because issues are being passed along to testing too soon. To do so, under Statuses, you would select In Progress, and under Options check the Returns only box.
In this configuration, Structure would ignore the first time the issue was in the In Progress status, and only track time if it returned to the In Progress status after moving to Testing, Done, or back to To Do.
...
To do this, you could add both In Progress and Testing to your selected Statuses, and continue to select the Returns only box.
Now In Progress and Testing are considered a group to Structure - so moving from In Progress to Testing and then back to In Progress won't be considered a return (since the issue never left the group of selected statuses). But if the issue is moved to Done and then returns to either In Progress or Testing, that will be considered a return and Structure will track how much time is spent in those statuses after that point.
...
Many of us have multiple statuses for work in progress or testing. In this case, you can group all of those together (or just the relevant ones). In the example below, we've added In Progress, Testing, and Testing: Performance to our Statuses list.
In this example, let's look at how Structure will calculate time if Returns only is checked:
...