The short answer is not with that API, we have the same issue several months ago, this API exposes the message that it show in the logs, it is completely useless to grab the labels. We initially try to parse the message but it has several different patterns so we decided that way was error prone and weak, thus we changed the approach and use the groovy console to grab queue objects
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/66598f79-abd1-4e84-b33a-f39ed49ddcce%40googlegroups.com.
