Is it based on the amount of damage you've done or something else?
Yeah it would have to be only on active fire while your teammate actually secures the kill. They really don't like dishing out assists in this game.
The only times I ever get assists are when I kill someone that a teammate downed. I don't think that there is any other way to get assists.