You need to condition some transition depending on the activity or inactivity on an issue.
Select the Actviity Condition ...
Or the Inactivity Condition ...
It is possible to define a threshold for each of proposed Activity Type.
When defined, the condition will be passed depending on activity Type evaluations.
The Condition configuration may be done in XML in Workflow descriptor as follow :
On this page:
See also ...