I have a 2011 ford transit connect.1.8tdi.when I'm driving along goin up through the gears around 1800 rpm it shutters or kinda misses

I have a 2011 ford transit connect.1.8tdi. When I'm driving along goin up through the gears around 1800 rpm it shutters or kinda misses

Also it doesn't happen when it's parked and I rev it up

Set it on fire, that should help

Do an OBD2 code check. Lookit: https://www.carcomplaints.com/Ford/Transit_Connect/
Just not a good car.

Check for any codes. Replace the plugs.