officejs_support_request_ui: adjust script for new workflow API

state.getId() now have a prefix, we want to use state.getReference() here.
6 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

00:32:51

failed ERP5.PerformanceTest-Master

00:25:06

failed ERP5.UnitTest-Master

01:08:16

failed ERP5.UnitTest-Master.Medusa

01:55:02

passed SlapOS.Eggs.UnitTest-Master.Python2

00:19:15

passed SlapOS.Eggs.UnitTest-Master.Python3

00:23:14