Need to apply JIRA ID Check on Merge title

Is there any way to apply check only in Merge title that a valid JIRA ID is present there.