private void deleteLink(long id) {
   try {
     wsClient.projectLinks().delete(new DeleteWsRequest().setId(id));
   } catch (Exception e) {
     // fail silently
   }
 }
 private CreateWsResponse createCustomLink() {
   return wsClient
       .projectLinks()
       .create(
           new CreateWsRequest()
               .setProjectKey("sample")
               .setName("Custom")
               .setUrl("http://example.org/custom"));
 }