Completion is based on the resolution (not on the status).

VERSION 2.0

The Completed Issues bar displays the amount of completed issues within the epic.