How do i catch exception in SIL with JJUPIN, i need to loop thru all users in a group to find the one who have this property "Division Head" and its value.
But for user that dont have this property it logs an exception on atlassian-jira.log
vDivisions = getUserProperty(vUser, "Division Head");
Although transition still continues but il logs a lot of exception
Thanks,
eric
Hi Eric,
Unfortunately, you can't catch exceptions in SIL at the moment, but this feature will be available in SIL 3.0, which is still a few months away from release.
HTH
As a workaround, you can get the user using the http://confluence.kepler-rominfo.com/display/SIL/sqlroutine. The tables you need to look at are app_user, propertyentry (for the property name) and propertystring(for the property value). I would recommend you add a propterty to one of your users and then check these tables to see how the data is structured.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah this was my solution for now.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am looking forward to see support for exceptions! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.