Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cannot find com.atlassian.jira.component.ComponentAccessor

Georges Bachelier July 20, 2014

I am writing a small piece of Java code to extract weekly information from JIRA for my colleagues. The following example was very useful to get started: http://stackoverflow.com/questions/23472620/worklog-entries-of-an-jira-user-needs-to-be-fetched

I have found the necessary JAR files listed, but I don't know where to get the ComponentAccessor class mentioned in the proposed solution. Can you please tell me which jar to download and where I can get it?

Thanks a lot in advance for your time!


1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Georges Bachelier July 20, 2014

I have finally found it in the atlassian-jira-6.0-m05.jar file.

But I am stopped by this exception which I don't know how to fix : Exception in thread "main" java.lang.IllegalStateException: ComponentAccessor has not been initialised.

What should I do to initialize the ComponentAccessor?

anas bakhou March 13, 2015

I have the same exception please if you resolved it , tell me what should i do !!

HiteshS July 5, 2015

Where to download the atlassian-jira-6.0-m05.jar from?

Andrew L July 28, 2015

I am also getting "package com.atlassian.jira.component does not exist" during my Maven build, even though i've already updated my pom.xml to include the snippet shown at: https://maven-repository.com/artifact/com.atlassian.jira/jira-components/6.3.1 Please let me know what i need to do to resolve this. Thanks!

Andrew L July 31, 2015

fyi... Someone told me to add: <dependency> <groupId>com.atlassian.jira</groupId> <artifactId>jira-api</artifactId> <version>YOUR_JIRA_VERSION_NUMBER</version> <scope>provided</scope> </dependency> to my pom.xml file. This resolved the "package com.atlassian.jira.component does not exist" error.

Like Lokesh Nerella likes this
TAGS
AUG Leaders

Atlassian Community Events