First observe that $\mathbb{Z}[x]/(m,f(x)) \cong \mathbb{Z}/(m)[x]/(f(x))$. Decompose $m$ into prime factors, say $m=p_1^{k_1} \cdot \dotsc \cdot p_n^{k_n}$. The Chinese Remainder Theorem (and some simple facts that polynomial rings, products and quotients commute for commutative rings) tells us that $\mathbb{Z}/(m)[x]/(f(x)) \cong \prod_{i=1}^{n} \mathbb{Z}/(p_i^{k_i})[x]/(f(x))$. Ideals in a product of finitely many rings are easy to describe, they are just products of ideals in the individual rings. Thus, we may always assume that $m$ is a prime power. If $m$ is a prime, then $\mathbb{Z}/(m)[x]$ is a PID, hence the ideals of $\mathbb{Z}/(m)[x]/(f(x))$ correspond to the divisors of $f(x)$. This is the easy case.
For example, $\mathbb{Z}[x]/(35,x^2-2) \cong \mathbb{F}_5[x]/(x^2-2) \times \mathbb{F}_7[x]/(x^2-2)$. Now, $x^2-2$ is irreducible over $\mathbb{F}_5$, hence the first factor is a field, and has exactly two ideals. But $x^2-2=(x-3)(x-4)$ in $\mathbb{F}_7[x]$, hence the second factor is a product of two fields, hence has exactly four ideals. It follows that $\mathbb{Z}[x]/(35,x^2-2)$ has exactly eight ideals. By an investigation of the proofs you can write them down explicitly (I will leave this to the reader).
The hard part is then $m$ is a prime power. Right now I don't know how to attack $\mathbb{Z}/16[x]/(x^3)$ directly, so let's start with a simpler example, say $\mathbb{Z}/4[x]/(x^2)$. In order to find the ideals of a ring $R$, we can look at those containing a given element $r$, corresponding to ideals of the quotient ring $R/(r)$, which is easier to analyse. Then we may iterate this procedure. In our case, every element has the form $a+bx$ for some $a,b \in \mathbb{Z}/4$, and we compute with the rule $x^2=0$.
If $a$ is a unit, then also $a+bx$ is a unit. So we only have to consider the cases $a=0,2$. Assume first that $a=0$. The cases $b=0$ and $b=1,3$ are boring and give the ideals $(0)$ and $(x)$. Then we have the case $b=2$. Ideals containing $2x$ correspond to ideals of $\mathbb{Z}/4[x]/(x^2,2x)$. They can be classified, see below. If $a=2$, then every ideal containing $2+bx$ also contains $(2+bx)x=2x$. So again we end up with an ideal of $\mathbb{Z}/4[x]/(x^2,2x)$.
So what about $\mathbb{Z}/4[x]/(x^2,2x)$? Again take some element, say $a+bx$, wlog $b=0,1$ (warning: these differ from the above $a,b$), anbd wlog non-zero and a non-unit. If $b=0$, then we have the cases $a=2$, and ideals containing $2$ correspond to ideals of $\mathbb{F}_2[x]/(x^2)$, so that we are again in the simple case. If $b=1$, then ideals containing $a+x$ correspond to ideals of $\mathbb{Z}/(4,a^2,2a)$, which are easy to describe. They correspond to divisors of $\mathrm{gcd}(4,a^2,2a)$, and you can just go through the cases $a=0,1,2$.
Again all these correspondences are quite explicit, and it is a good exercise to make a list out of it containing all the ideals of $\mathbb{Z}/4[x]/(x^2)$, specified by generators. In general, I think one can try to find a list of ideals of $\mathbb{Z}/p^n[x]/(x^m)$ using a double induction. Actually the method above is very closely related to the game of rings.