Opinion on script to change status based on link in a ticket

What I have…

Create link in ticket as

Cr:5000

Links to bugzilla. Grabs status, title of bug, and patch version.
Displays this as

CR 5000 (STATUS) (DESC OF BUG) (PATCH NUMBER IF PATCH EXISTS)

All well and good.

Would like to, based on the status of the cr, change the status of the
ticket.

I.E. Bug is found. Bug is created in bugzilla. Link is created to bug.
RT Ticket is moved into status “validated”

All Validated tickets are checked periodically for their links crs. If
link cr exists, check status. If status equals fixed, reopen ticket.

I don’t think a scrip will work, because those require some sort of
interaction to initiate the check.

So a script that will check all tickets with status validated, grab the
ticket objects. Grab links. Check if link is cr. If cr check status. If
cr status equal fixed, change status of ticket. Next.

Does this make sense? I have beginners perl knowledge and I’ll have to
learn how to react with tickets a little better, but just wanted to idea
test it before I spend a lot of time on it.

Thanks.