Constraint For Merge TICKETS

i have study some @q give good example

i thought we have to use {TICKET NO} as name but if it is static then any name can be used