Add job-state-transitions to Job History API

im not sure why `bst.currentState = 'Completed'` is required