public function fillObjectFromData(DoorkeeperExternalObject $obj, $result)
 {
     // Convert the "self" URI, which points at the REST endpoint, into a
     // browse URI.
     $self = idx($result, 'self');
     $object_id = $obj->getObjectID();
     $uri = self::getJIRAIssueBrowseURIFromJIRARestURI($self, $object_id);
     if ($uri !== null) {
         $obj->setObjectURI($uri);
     }
 }