Summary
For the Epic Status custom field, it has configurable values that you can set by configuring the field in the Custom Fields administration screen:

The field has to be unlocked first as per this article
If you disable the last status, e.g. in the example screenshot its Open, JIRA Agile will still set Epics to that status when an epic is marked as Done. It disregards the fact that the status has already been disabled.
Environment
- JIRA 6.3.12 with JIRA Agile 6.7.11
- JIRA 7.1.2 with JIRA Agile 7.1.20
Steps to Reproduce
- Unlock the Epic Status field.
- Configure it in the Custom Fields administration screen:

- Create a new status, for example Open, and put it as the last status. Disable this status.
- Go to any Agile board, create an epic, and mark the Epic as done:

- Go to the issue navigator and search for the epic.
Expected Results
- The epic's Epic Status field is shown as Done, which is the last status in the list that isn't disabled.
Actual Results
- The epic's Epic Status field has the value Open.
Notes
JIRA Agile always uses the last status in the list of Epic Status values, regardless of it disabled or not.
Workaround
Move the disabled status up one status, so its no longer the last one.: MoveStatus.png