JobQuery processDefinitionKey criteria

Hello,

I would like to get all the deadletter jobs tight to a particular process definition key.
I see that today only the process definition id is available, but it is a composite key with the process def version…
My use case is to display the number of “errors” for a specific BP by aggregating different metrics including the number of related deadletter jobs.

I notice also that they implemented such processDefinitionKey criteria in Camunda JobQuery.

Could you please advise, or is it possible to create an issue?

Thanks,
Rémi

Issue added here: Query all type of Jobs by processDefinitionKey · Issue #3692 · flowable/flowable-engine · GitHub.
I am taking a look to implement the change.