1 of 1 people found this helpful
you can query the database...
select temp1.path,j.name,d.name from (select group_id, sys_connect_by_path( name, '|' ) path from blgroup start with parent_group_id = 0 connect by prior group_id = parent_group_id) temp1, job j
join job_device jd on j.job_id = jd.job_id and j.job_version_id = jd.job_version_id
join device d on jd.device_id = d.device_id
where j.is_latest_version = 1
and j.is_deleted = 0
and j.is_saved_explicitly = 1
and temp1.group_id = j.group_id;
you can add a condition for the device.name in there at the end, or an 'in' clause for a few.
you could include the job_id in the query and then feed the job_id to a blcli command to update the job.