I have a Jelly script that uses the following to retrieve a User assigned to an issue:
<core:invokestatic classname="com.atlassian.jira.component.ComponentAccessor" method="getUserUtil" var="userUtil/">
I then use the object to get the email address and name of the user:
I would also like to access some of the properties I have created - I cannot determine what method to call on the instantiated object which is : com.atlassian.crowd.embedded.ofbiz.OfBizUser
How can I access the properties for a User
com.atlassian.jira.component.ComponentAccessor.getUserPropertyManager(user).getPropertySet().getString("jira.meta.MYPROPERTYNAME"); Note the key requires the prefix "jira.meta."
Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot