Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to use find function of Active Object


I'm trying to develop crowd add-on and to use Active Objects library. Crowd version is 4.3.0 

But when I use find function of AO the function is not work well. I want some advice for using. I'll attach the find function code to review.

Thank you.

public List<InactiveSettingDTO> getAdminConfig(){

List<InactiveSettingDTO> settingDTOList = new ArrayList<>();
InactiveSettingAO[] settingAO = ao.find(InactiveSettingAO.class,;

if(settingAO.length > 0){
for(InactiveSettingAO setting: settingAO){
settingDTOList.add(InactiveSettingDTO.fromAO(setting));"settingDTOList.get(0).getLastActivity(): "+settingDTOList.get(0).getLastActivity());
return settingDTOList;
return null;

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

47 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you