how do i catch exception in SIL

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

1 answer

1 accepted

This widget could not be displayed.

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.

Yeah this was my solution for now.

thanks

I am looking forward to see support for exceptions! :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

510 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you