I have a feature and it is linked with an epic. When ever a workflow transition occurs from Open to In Analysis In Feature issue, first it shoud check the custom field value say capabilities is there, before doing the action.