There used to be up to 3 trains per day but it´s quite hard to find actual informations Bestway is to ask the Railcompanies directly by mail then you get a confirmed answer :)
Somehow I remember that either due to no more money or due to covid measures, or maybe the eternal strife in Bosna/Hercegowina, the actual train service there has been very much reduced last dec. and this route was also victim. Even Mark Smith cannot keep track of all changes everywhere on obscure lines. Also in some cases (f.e. I just read his item over going to Turkey-only as an addendum there is a note that trains are suspended for now) the final info is somewhere else. I think it was mentioned in german on DSO=Drehscheibe Online, forum, Ausland.
NO despair-there wil always be a bus-train over there is only for diehard steel fanatics.
I’ve asked ZFBH and the wrote me that I have to take a Taxi / Bus from Doboj to Maglaj, because there were no trains between these two citys (and there are at all no trains from the Republika Srpska and the Federation Bosnia and Herzegowina)
:/