Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

AO not working properly in JIRA 10

Anusha Deshmukh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 27, 2025

Getting this illegalStateExceptionError for ao in my jira plugin when trying to ao.migrate() or ao.find(), Please let me know if I m missing something.

"plugin [{com.company.jira.plugin}] invoking ActiveObjects before <ao> configuration module is enabled or plugin is missing an <ao> configuration module. Note that scanning of entities from the ao.model package is no longer supported."

added this in pom.xml

<dependency>
<groupId>com.atlassian.activeobjects</groupId>
<artifactId>activeobjects-plugin</artifactId>
<version>6.1.2</version>
<scope>provided</scope>
</dependency>

added this atlassian.xml

<ao key="my-ao-module">
<description>ActiveObjects plugin</description>
<entity>com.plugin.model.SettingsEntity</entity>
</ao>

entity class

@Preload
public interface SettingsEntity extends Entity {
void setProjectRadio(String projectRadio);
String getProjectRadio();
}

using ao using @ComponentImport to get Active Objects

SettingsEntity[] entit = ao.find(SettingsEntity.class);

1 answer

0 votes
Ahmed Arslan
Contributor
June 27, 2025

Hi @Anusha Deshmukh 

What are you trying to resolve by updating this?

Suggest an answer

Log in or Sign up to answer