The way I solved this is by editing an already present dynamic config in john the ripper jumbo. I opened dynamic.conf and edited dynamic_1029 to look like this:
[List.Generic:dynamic_1029]
Expression=sha256($p.$s) (hash truncated to length 32)
Flag=MGF_FLAT_BUFFERS
Flag=MGF_SALTED
SaltLen=16
MaxInputLen=110
MaxInputLenX86=110
Func=DynamicFunc__clean_input
Func=DynamicFunc__append_keys
Func=DynamicFunc__append_salt
Func=DynamicFunc__SHA256_crypt_input1_to_output1_FINAL
Test=$dynamic_1029$698e7b93568798660235091abcb7883e$8ec3937e0c5068eb:Salver
So now it includes a salt and truncates the hash. Then the constant salt was achieved using the --mask command line parameter as well as the new format as such:
john --mask='[constant salt]?w' --format=dynamic_1029 hashlist.txt
The hash files must now be formatted like this:
username:hash$salt