Though i have imported com.atlassian.jira.ComponentManager still during building it is giving compilation error cannot find symbol ComponentManager .
make sure following dependecies are added in your pom.xml
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-core</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
As Rambanam wrote, the ComponentManager isn't part of the jira-api, you have to add jira-core to use it. If possible, use ComponentAccessor instead which is part of jira-api.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.