• You could query the MSDB to search for jobs with the DatabaseName you're interested in. At least that would give you the list of jobs you then would need to script manually through SSMS.

    select distinct j.name from sysjobs j join sysjobsteps s on j.job_id = s.job_id

    where s.command like '%DatabaseName%'