Was the story being written by him?

Was the story being written by him?

Explanation

Active sentences in the past continuous tense have the following structure:
Subject + was/were + -ing form of the verb + object
Passive sentences in the past continuous tense have the following structure:
Object of the active sentence + was/were + being + past participle form of the verb + by + subject of the active senten
ce