As Bruno Oliveira mentionned BasicModel.getAgent does not return anything but I just tried again with a identity query (as mentionned in the description) and this is working, even the custom attributes are retrieved.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
As Bruno Oliveira mentionned BasicModel.getAgent does not return anything but I just tried again with a identity query (as mentionned in the description) and this is working, even the custom attributes are retrieved.