The offence you are alleged to have commited should be clearly written on the ticket.
There also has to be a traffic order in place, and the traffic order will state place, distances, times, signs the whole shooting match.
So for example, it will say something along the lines of
A prohibition of parking will be in place between the hours of x and y. The restriction will start xx yards south/north or whatever of its junction with xxxxxx for a distance of yyyyyyy yards to a point north/south or whatever of its junction with zzzzzz
The signs have to comply with the traffic order (which they rarely do) and there has to be terminatin lines at each end of the yellow lines otherwise the lines are illegal and unenforcable.
The sigs used to have to be set at given intervals and clearly visible, but now the set distances has gone but the signs still have to be clearly visible and in close proximity to the location.
You can find the traffic orders through your local library.
If there is non compliance by the council, then it cannot be enforced and bear in mind that the local wardens get a bonus for the number of tickets they issue, and that includes tickets that ultimately get repealed or refunded as they have no formal training like the Police controled Traffic wardens used to be in the old days.